|
Employee |
Hours |
IndexPage |
MenuPart |
|
initPropertyDescriptors |
getClassDir |
getEditInfo |
getLabel |
getLabelSort |
getNHours |
getName |
getTableName |
|
function () {
parent::initPropertyDescriptors(); //allways first in this method !!!
$this->('firstName', 'string',false,null,null,0,20);
$this->('lastName', 'string',false,null,null,0,80);
$this->('func'.'tion', 'string',false,null,null,0,40); //name splitted becuase of hcodeBrowsers limitation
$this->('birthDate', 'date',false,null,null,0,20);
$this->('address', 'string',false,null,null,0,80);
$this->('zipcode', 'string',false,null,null,0,10);
$this->('city', 'string',false,null,null,0,40);
$this->('email', 'email',false,null,null,0,80);
$this->('name', 'string');
$this->('nHours', 'number',true,0.1,24,0,'5,2');
$prop = $this->('hours', 'Hours');
$prop->('v'); //verify: user must verify the recursive deletion of the property values
//$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/ .
|
|