Name: |
Storage Schema |
Identifier (ID): |
devblocks.storage.schema |
Manifest
<extension point="devblocks.storage.schema">
<id>cerberusweb.storage.schema.attachments</id>
<name>Attachments</name>
<class>
<file>api/dao/attachment.php</file>
<name>Storage_Attachments</name>
</class>
<params>
<param key="active_storage_profile" value="devblocks.storage.engine.disk"/>
<param key="archive_storage_profile" value="devblocks.storage.engine.disk"/>
<param key="archive_after_days" value="7"/>
</params>
</extension>
Code
class ExampleExtension extends Extension_DevblocksStorageSchema {
public static function archive($stop_time) {
}
public static function delete($ids) {
}
public static function get($object, $fp) {
}
public static function getActiveStorageProfile() {
}
public static function put($id, $contents, $profile) {
}
public function render() {
}
public function renderConfig() {
}
public function saveConfig() {
}
public static function unarchive($stop_time) {
}
}
Extensions
Attachments |
cerberusweb.storage.schema.attachments |
Avatars |
cerberusweb.storage.schema.context_avatar |
Message Content |
cerberusweb.storage.schema.message_content |