|
Employee |
IndexPage |
MenuPart |
|
initPropertyDescriptors |
getClassDir |
getEditInfo |
getLabel |
getLabelSort |
getName |
getTableName |
|
function () {
parent::initPropertyDescriptors(); //allways first in this method !!!
//this adds a fieldProperty for each column in the database
$this->();
//only works with PntMysqlDao,
//@see this class in example2 for how to define these properties manually
$this->('name', 'string');
//$this->($name, $type, $readOnly=false, $minValue=null, $maxValue=null, $minLength=0, $maxLength=null, $classDir=null, $persistent=true)
//$this->addDerivedProp/addMultiValueProp($name, $type, $readOnly=true, $minValue=null, $maxValue=null, $minLength=0, $maxLength=null, $classDir=null)
}
|
Copyright (c) MetaClass, 2003-
This code is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
Click here for a copy of the license or see http://www.gnu.org/licenses/ .
|
|