Inheritance diagram for MediaSilo:Public Member Functions | |
| silo_info () | |
| silo_dir ($path) | |
| silo_get ($path, $qualities=null) | |
| silo_put ($path, $filedata) | |
| silo_delete ($path) | |
| silo_highlights () | |
| silo_permissions ($path) | |
Public Attributes | |
| const | PERM_READ = 1 |
| const | PERM_WRITE = 2 |
MediaSilo interface
Definition at line 13 of file mediasilo.php.
| MediaSilo::silo_delete | ( | $ | path | ) |
Delete the file at the specified path
| string | $path The path of the file to retrieve |
Implemented in FlickrSilo, HabariSilo, and ViddlerSilo.
| MediaSilo::silo_dir | ( | $ | path | ) |
Return directory contents for the silo path
| string | $path The path to retrieve the contents of |
Implemented in FlickrSilo, HabariSilo, and ViddlerSilo.
| MediaSilo::silo_get | ( | $ | path, | |
| $ | qualities = null | |||
| ) |
Get the file from the specified path
| string | $path The path of the file to retrieve | |
| array | $qualities Qualities that specify the version of the file to retrieve. |
Implemented in FlickrSilo, HabariSilo, and ViddlerSilo.
| MediaSilo::silo_highlights | ( | ) |
Retrieve a set of highlights from this silo This would include things like recently uploaded assets, or top downloads
Implemented in FlickrSilo, HabariSilo, and ViddlerSilo.
| MediaSilo::silo_info | ( | ) |
Return basic information about this silo name- The name of the silo, used as the root directory for media in this silo
Implemented in FlickrSilo, HabariSilo, and ViddlerSilo.
| MediaSilo::silo_permissions | ( | $ | path | ) |
Retrieve the permissions for the current user to access the specified path
| string | $path The path to retrieve permissions for |
Implemented in FlickrSilo, HabariSilo, and ViddlerSilo.
| MediaSilo::silo_put | ( | $ | path, | |
| $ | filedata | |||
| ) |
Store the specified media at the specified path
| string | $path The path of the file to retrieve | |
| MediaAsset | The asset to store |
Implemented in FlickrSilo, HabariSilo, and ViddlerSilo.
1.7.1