Class jDaoRecordBase

Description

Base class for all record classes generated by the dao compiler

  • abstract:

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


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

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 131)

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 38)
array getPrimaryKeyNames ()
getProperties (line 31)
array getProperties ()
setPk (line 110)

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 23)
ERROR_BAD_TYPE = 2 (line 22)
ERROR_MAXLENGTH = 4 (line 24)
ERROR_MINLENGTH = 5 (line 25)
ERROR_REQUIRED = 1 (line 21)

Documentation generated on Mon, 19 Sep 2011 14:12:20 +0200 by phpDocumentor 1.4.3