|
Activity |
Country |
Employee |
EmployeeIndexPage |
EmployeePropertyHoursPage |
EmployeePropertyHoursPart |
EmployeeSaveAction |
Gender |
GlobalFilterFormPart |
Hours |
HoursCategory |
HoursCategoryEditDetailsPage |
HoursSearchPage |
IndexPage |
MenuPart |
PntSqlFilterGlobalAction |
PntSqlFilterGlobalDialog |
Project |
ProjectPropertyHoursPage |
|
initPropertyDescriptors |
__construct |
getClassDir |
getDeleteErrorMessages |
getGlobalDateFilter |
getHours |
getLabel |
getLabelSort |
getMessage |
getTableName |
|
function () {
// this activates polymorphic persistency and declares clsId to hold the actual class name
// this must be done BEFORE any properties are added!
$clsDes = $this->();
$clsDes->('clsId');
$clsDes->( array('Project' => 1) );
parent::initPropertyDescriptors(); //adds the 'inherited' properties
$this->('clsId', 'string', false, null, null, 1, 60);
$this->('name', 'string', false, null, null, 1, 60);
$this->('description', 'string', false, null, null, 0, 32000);
$this->('message', 'string');
$prop = $this->('hours', 'Hours');
$prop->('activity'); //must be explicitly set because with polymorphism the default will be wrong for subclasses
}
|
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/ .
|
|