|
PntObject |
PntError |
PntErrorException |
PntErrorHandler |
PntGen |
PntIdentifiedOption |
PntIndex |
PntValueValidator |
Template |
|
get |
__construct |
__toString |
_getValueValidator |
addDerivedProp |
addFieldProp |
addMultiValueProp |
basicGetLabel |
copy |
getClass |
getClassDescriptor |
getClassDescriptorClass |
getClassDir |
getClassLabel |
getEditInfo |
getLabel |
getOid |
getOptions |
getPropertyDescriptor |
getReportColumnPaths |
getUiColumnPaths |
getUiFieldPaths |
getValueValidator |
initPropertyDescriptors |
isPersistent |
newNavigation |
release |
set |
toString |
validateGetErrorString |
|
/** get the value of the property with the specified name
* @param string $propertyName the name by which a PntPropertyDescriptor can be obtained from ::getPropertyDescriptor
* @param PntSqlFilter $filter to apply, or null if unfiltered (currently only used by multi value properties)
* @return mixed dynamically typed by the PropertyDescriptor>>type
* @throws PntError if property missing, derivation fails, or anything an evetial getter method throws
*/
function ($propertyName, $filter=true) {
$prop = $this->($propertyName);
if (!$prop)
throw new PntReflectionError($this->()." property not found: '$propertyName'");
return $prop->($this, $filter);
}
|
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/ .
|
|