|
PntObject |
PntError |
PntErrorException |
PntErrorHandler |
PntGen |
PntIdentifiedOption |
PntIndex |
PntValueValidator |
Template |
|
__construct |
__toString |
_getValueValidator |
addDerivedProp |
addFieldProp |
addMultiValueProp |
basicGetLabel |
copy |
get |
getClass |
getClassDescriptor |
getClassDescriptorClass |
getClassDir |
getClassLabel |
getEditInfo |
getLabel |
getOid |
getOptions |
getPropertyDescriptor |
getReportColumnPaths |
getUiColumnPaths |
getUiFieldPaths |
getValueValidator |
initPropertyDescriptors |
isPersistent |
newNavigation |
release |
set |
toString |
validateGetErrorString |
|
/** @param string $aString must be alpanumeric */
function ($name, $type, $readOnly=false, $minValue=null, $maxValue=null, $minLength=0, $maxLength=null, $classDir=null, $persistent=true)
{
if (strlen($name)==0) {
trigger_error("addFieldProp without a name", E_USER_WARNING);
return null;
}
$clsDes = $this->();
$prop = new PntFieldPropertyDescriptor($name, $type, $readOnly, $minValue, $maxValue, $minLength, $maxLength, $classDir, $persistent);
$clsDes->($prop);
return $prop;
}
|
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/ .
|
|