Class jDaoRecordBase

Description

Base class for all record classes generated by the dao compiler

  • abstract:

Located in /dao/jDaoRecordBase.class.php (line 18)


	
			
Class Constant Summary
Method Summary
array|false check ()
mixed getPk ()
array getProperties ()
void setPk ()
Methods
check (line 43)

check values in the properties of the record, according on the dao definition

  • return: list of errors or false if ok
  • access: public
array|false check ()
getPk (line 130)

return the value of fields corresponding to the primary key

  • return: the value or an array of values if there is several pk
  • since: 1.0b3
  • access: public
mixed getPk ()
getPrimaryKeyNames (line 37)
array getPrimaryKeyNames ()
getProperties (line 30)
array getProperties ()
setPk (line 109)

set values on the properties which correspond to the primary

key of the record This method accept a single or many values as parameter

  • access: public
void setPk ()
Class Constants
ERROR_BAD_FORMAT = 3 (line 22)
ERROR_BAD_TYPE = 2 (line 21)
ERROR_MAXLENGTH = 4 (line 23)
ERROR_MINLENGTH = 5 (line 24)
ERROR_REQUIRED = 1 (line 20)

Documentation generated on Thu, 22 Mar 2012 22:15:00 +0100 by phpDocumentor 1.4.3