Implements interfaces:
Simple file access silo
Located in /system/plugins/habarisilo/habarisilo.plugin.php (line 9)
Pluggable | --Plugin | --HabariSilo
Inherited from Pluggable
Pluggable::$info
Pluggable::$plugin_id
Initialize some internal values when plugin initializes
Provide controls for the media control bar
Provide requested media panels for this plugin
Regarding Uploading: A panel is returned to the media bar that contains a form, an iframe, and a javascript function. The form allows the user to select a file, and is submitted back to the same URL that produced this panel in the first place. This has the result of submitting the uploaded file to here when the form is submitted. To prevent the panel form from reloading the whole publishing page, the form is submitted into the iframe. An onload event attached to the iframe calls the function. The function accesses the content of the iframe when it loads, which should contain the results of the request to obtain this panel, which are in JSON format. The JSON data is passed to the habari.media.jsonpanel() function in media.js to process the data and display the results, just like when displaying a panel normally.
Provide plugin info to the system
Produce a link for the media control bar that causes a specific panel to be displayed
Produce a link for the media control bar that causes a specific path to be displayed
This function performs the mkdir action on submission of the form. It is called by FormUI's success() method.
A validator for the mkdir form created with FormUI. Checks to see if the webserver can write to the parent directory and that the directory does not already exist.
Delete the file at the specified path
Return directory contents for the silo path
Get the file from the specified path
Retrieve a set of highlights from this silo
This would include things like recently uploaded assets, or top downloads
Return basic information about this silo
name- The name of the silo, used as the root directory for media in this silo
Create a new asset instance for the specified path
Retrieve the permissions for the current user to access the specified path
Store the specified media at the specified path
Inherited From Plugin
Plugin::__construct()
Plugin::add_template()
Plugin::info()
Plugin::_plugin_available_templates()
Plugin::_plugin_include_template_file()
Inherited From Pluggable
Pluggable::__construct()
Pluggable::get_db_schema()
Pluggable::get_file()
Pluggable::get_url()
Pluggable::load()
Pluggable::load_text_domain()
Pluggable::plugin_id()
Documentation generated on Thu, 30 Oct 2008 20:31:17 +0100 by phpDocumentor 1.3.2