Model_Folder

class Nos\Media\Model_Folder

Extends Nos\Orm\Model.

Relations

property Nos\Media\Model_Folder::$children
property Nos\Media\Model_Folder::$media
property Nos\Media\Model_Folder::$parent

Behaviours

Methods

Nos\Media\Model_Folder::deleteFromDisk()

Delete the folder and all its content (recursively).

Nos\Media\Model_Folder::deleteCache()

Delete all the public and cached entries (image thumbnails) of this folder

Nos\Media\Model_Folder::path($file = '')
Parameters:
  • $file (string) – A file name to append to the path.
Returns:

Absolute folder path.

Nos\Media\Model_Folder::count_media()
Returns:Number of media contained in the folder and all its sub-folders.
Nos\Media\Model_Folder::count_media_usage()
Returns:Number of media in use (by the applications) contained in this folder and all its sub-folders.
Read the Docs v: dubrovka
Versions
latest
elche
dubrovka
chiba.2
chiba.1
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.