Quick search:

PntObject
PntError
PntErrorException
PntErrorHandler
PntGen
PntIdentifiedOption
PntIndex
PntValueValidator
Template
validateGetErrorString
__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


	/** Validate the value for the property. Answer null if valid.
	* Answer the error String if invalid.
	* Override this method to modify the validation behavior.
	* Default is just to use the validator from _getValueValidator.
	* You may change ValueValidator to override the error messages
	* or the generic behavior inherited from PntValueValidator
	* @param prop PntPropertyDescriptor
	* @param value mixed value to be validated.
	* @return String the error string or null if the value is valid
	*/
	function validateGetErrorString($prop, $value, $validateReadOnly=true) {
		$validator = $this->getValueValidator($prop);
		return $validator->validate($value, $validateReadOnly);
	}
Copyright (c) MetaClass, 2003-2013

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/ .