Location: PHPKode > projects > Adroit > 1.2.1/adroit/templates/Template.model.php
<?php
class {TEMPLATE} extends BaseModel implements Retrievable {

    public function {TEMPLATE}($values) {
        parent::__construct($values);
    }

    public function validate() {
        $errors = Array();
		return (count($errors) === 0 ? true : $errors);
    }

    public static function get($id) {
        return parent::get($id, __CLASS__);
    }
    
    public static function getAll($searchArray=Array(), $sortArray=Array()) {
        return parent::getAll($searchArray, $sortArray, __CLASS__);
    }
    
}
?>
Return current item: Adroit