Property | Type | Description | |
---|---|---|---|
$CategoryPaths | |||
$Filesystem |
Method | Description | |
---|---|---|
__construct ( |
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 |
public __construct ( |
||
$Filesystem | ||
$CategoryPaths |
public destroyCategory ( $input ) : boolean | ||
$input | ||
return | boolean |
public renameCategory ( $path, $newName ) | ||
$path | ||
$newName |
public storeNewCategory ( $input ) : boolean | ||
$input | ||
return | boolean |
protected CategoryPaths,Devise\Media\Categories $CategoryPaths | ||
return |