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 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
  • access: public
array 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 Wed, 07 Sep 2011 13:47:04 +0200 by phpDocumentor 1.4.3