User Tools

Site Tools


developers

Packages developers documentation

Tree structure

Classes defintion

All classes defintions (from a same package) are stored in a file named [Classname].class.php and placed into packages/[package_name]/classes

namespace school {
 
    class Student extends \core\Object {
 
        public static function getColumns() {
	    return array(
                           'firstname'  => array('type' => 'string'),
                           'lastname'   => array('type' => 'string'),
			   'birthdate'  => array('type' => 'date')
			);
		}
	}
}

Default values

Validation mechanism

Views definitions

Translations

developers.txt · Last modified: 2013/08/12 14:20 by cedricfrancoys