Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Orders
    • Serializers
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Interfaces
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • CacheTokenHelper
  • ColorHelper
  • CustomerStatusHelper
  • DataTableColumn
  • DataTableColumnCollection
  • DataTableColumnType
  • DataTableHelper
  • FilesystemHelper
  • LanguageHelper
  • StringHelper

Interfaces

  • CacheTokenHelperInterface
  • LanguageHelperInterface
  • StringHelperInterface

Class FilesystemHelper

Class FilesystemHelper

FilesystemHelper implements FilesystemHelperInterface, CrossCuttingObjectInterface
Package: Extensions\Helpers
Category: System
Located at Extensions/Helpers/FilesystemHelper/FilesystemHelper.inc.php

Methods summary

public FilenameStringType
# correctFileTypeExtension( FilenameStringType $sourceFile, FilenameStringType $targetFile )

Returns the target file name with an ensured file extension. If the target file name has no file type extension it will be automatically added, by using the extension from the source file name.

Returns the target file name with an ensured file extension. If the target file name has no file type extension it will be automatically added, by using the extension from the source file name.

Parameters

$sourceFile
$targetFile

Returns

FilenameStringType

Implementation of

FilesystemHelperInterface::correctFileTypeExtension()
API documentation generated by ApiGen