class Folder extends AbstractDateTimedPositioned implements FolderInterface (View source)

Folders entity represent a directory on server with datetime and naming.

Traits

LeafTrait

Properties

protected $parent
protected ArrayCollection $children
protected $documents

Methods

ArrayCollection
getDocuments()

No description

$this
addDocument(DocumentInterface $document)

No description

$this
removeDocument(DocumentInterface $document)

No description

boolean
getVisible()

No description

setVisible(boolean $visible)

No description

__construct()

Create a new Folder.

mixed
getTranslatedFolders()

No description

Collection
getTranslatedFoldersByTranslation(Translation $translation)

No description

setTranslatedFolders(mixed $translatedFolders)

No description

string
getFolderName()

No description

string
getName() deprecated

No description

setFolderName(string $folderName)

No description

setName(string $folderName) deprecated

No description

string
getDirtyFolderName()

No description

setDirtyFolderName(string $dirtyFolderName)

No description

string
getFullPath()

Get folder full path using folder names.

Details

ArrayCollection getDocuments()

Return Value

ArrayCollection

$this addDocument(DocumentInterface $document)

Parameters

DocumentInterface $document

Return Value

$this

$this removeDocument(DocumentInterface $document)

Parameters

DocumentInterface $document

Return Value

$this

boolean getVisible()

Return Value

boolean

Folder setVisible(boolean $visible)

Parameters

boolean $visible

Return Value

Folder

__construct()

Create a new Folder.

mixed getTranslatedFolders()

Return Value

mixed

Collection getTranslatedFoldersByTranslation(Translation $translation)

Parameters

Translation $translation

Return Value

Collection

Folder setTranslatedFolders(mixed $translatedFolders)

Parameters

mixed $translatedFolders

Return Value

Folder

string getFolderName()

Return Value

string

string getName() deprecated

deprecated Use getFolderName() method instead to differenciate from FolderTranslation’ name.

Return Value

string

Folder setFolderName(string $folderName)

Parameters

string $folderName

Return Value

Folder

Folder setName(string $folderName) deprecated

deprecated Use setFolderName() method instead to differenciate from FolderTranslation’ name.

Parameters

string $folderName

Return Value

Folder

string getDirtyFolderName()

Return Value

string

Folder setDirtyFolderName(string $dirtyFolderName)

Parameters

string $dirtyFolderName

Return Value

Folder

string getFullPath()

Get folder full path using folder names.

Return Value

string