PHP Class Devise\Media\Categories\Manager

Afficher le fichier Open project: devisephp/cms

Protected Properties

Свойство Type Description
$CategoryPaths CategoryPaths
$Filesystem Devise\Media\Files\Filesystem

Méthodes publiques

Méthode Description
__construct ( Filesystem $Filesystem, CategoryPaths $CategoryPaths ) Create a new category manager
destroyCategory ( $input ) : boolean Removes the category path
renameCategory ( $path, $newName ) Renames a category path
storeNewCategory ( $input ) : boolean Stores the category in the filesystem

Method Details

__construct() public méthode

Create a new category manager
public __construct ( Filesystem $Filesystem, CategoryPaths $CategoryPaths )
$Filesystem Devise\Media\Files\Filesystem
$CategoryPaths CategoryPaths

destroyCategory() public méthode

Removes the category path
public destroyCategory ( $input ) : boolean
$input
Résultat boolean

renameCategory() public méthode

Renames a category path
public renameCategory ( $path, $newName )
$path
$newName

storeNewCategory() public méthode

Stores the category in the filesystem
public storeNewCategory ( $input ) : boolean
$input
Résultat boolean

Property Details

$CategoryPaths protected_oe property

protected CategoryPaths,Devise\Media\Categories $CategoryPaths
Résultat CategoryPaths

$Filesystem protected_oe property

protected Filesystem,Devise\Media\Files $Filesystem
Résultat Devise\Media\Files\Filesystem