Location: PHPKode > projects > Blackwolf CMF > projectBlackWolf/lib/Data/Storage/Controller.class.php
<?php
/* Please see the README and LICENSE files. */


/**
 * Abstract class for controller objects
 */
abstract class Data_Storage_Controller {
    /**
     * The prefix used by the system
     * Ex, 
     *  - data base tables start with PREFIX_...
     *  - files storage is in PREFIX/..
     * 
     * @var String
     */
    const PREFIX = "PBW";
    
    /**
     * Translate a subsystem and model into a storage location in the controller
     * 
     * @param String $subsystem The subsystem (Ex, "module")
     * @param String $model The model (Ex, "news-post")
     * @return String
     */
    abstract function translate_location($subsystem,$model);
}

?>
Return current item: Blackwolf CMF