Свойство | Тип | Описание | |
---|---|---|---|
$repository | |||
$storage | |||
$syncResServ | Newscoop\Service\Implementation\SyncResourceServiceDoctrine | Used for getting the proper id of a template | |
$theme | The theme that the files belong to |
Метод | Описание | |
---|---|---|
__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 | |
Результат | void |
public createFolder ( string $name ) : void | ||
$name | string | |
Результат | void |
public deleteItem ( string $key ) : void | ||
$key | string | |
Результат | void |
public fetchMetadata ( string $key ) : object | ||
$key | string | |
Результат | object |
public isWritable ( string $dest ) : boolean | ||
$dest | string | |
Результат | boolean |
public replaceItem ( string $key, Zend_Form_Element_File $file ) : void | ||
$key | string | |
$file | Zend_Form_Element_File | |
Результат | void |
protected TemplateRepository,Newscoop\Entity\Repository $repository | ||
Результат |
protected Newscoop\Service\Implementation\SyncResourceServiceDoctrine $syncResServ | ||
Результат | Newscoop\Service\Implementation\SyncResourceServiceDoctrine |