Свойство | Type | Description | |
---|---|---|---|
$repository | |||
$storage | |||
$syncResServ | Newscoop\Service\Implementation\SyncResourceServiceDoctrine | Used for getting the proper id of a template | |
$theme | The theme that the files belong to |
Méthode | Description | |
---|---|---|
__construct ( |
||
cacheTemplates ( $path ) | ||
copyItem ( string $src, string $dest ) : void | Copy item | |
createFile ( string $name ) : void | Create file | |
createFolder ( string $name ) : void | Create folder | |
deleteItem ( string $key ) : void | Delete item | |
fetchItem ( string $key ) : string | Fetch item | |
fetchMetadata ( string $key ) : object | Fetch item metadata | |
isWritable ( string $dest ) : boolean | Test is writable | |
listItems ( string $path ) : Iterator | Find items | |
listPaths ( string $path ) | List paths in theme dir. | |
moveItem ( string $src, string $dest ) : void | Move item | |
renameItem ( string $src, string $dest ) : void | Rename item | |
replaceItem ( string $key, Zend_Form_Element_File $file ) : void | Replace item | |
setTheme ( |
||
storeItem ( string $key, string $data ) : void | Store item | |
storeMetadata ( string $key, array $metadata ) : void | Store metadata |
public __construct ( |
||
$storage | ||
$repository |
public createFile ( string $name ) : void | ||
$name | string | |
Résultat | void |
public createFolder ( string $name ) : void | ||
$name | string | |
Résultat | void |
public deleteItem ( string $key ) : void | ||
$key | string | |
Résultat | void |
public fetchMetadata ( string $key ) : object | ||
$key | string | |
Résultat | object |
public isWritable ( string $dest ) : boolean | ||
$dest | string | |
Résultat | boolean |
public replaceItem ( string $key, Zend_Form_Element_File $file ) : void | ||
$key | string | |
$file | Zend_Form_Element_File | |
Résultat | void |
protected TemplateRepository,Newscoop\Entity\Repository $repository | ||
Résultat |
protected Newscoop\Service\Implementation\SyncResourceServiceDoctrine $syncResServ | ||
Résultat | Newscoop\Service\Implementation\SyncResourceServiceDoctrine |