miModelGeneralOptionsRecordHandle and manage deleting and reading of data from the database.
Located in /model/GeneralOptionsRecord.inc (line 25)
miModelSQLRecord | --miModelGeneralOptionsRecord
Constructor miModelGeneralOptionsRecord (line 55)
miModelGeneralOptionsRecord constructor. It takes three parameters - table name, property field and field value
Example:
1 <?php
2 $ModelGeneralOptionsRecord = new miModelGeneralOptionsRecord('tableName', 'propertyField', 'valueField');
3 ?>
readPK (line 77)
Read a record from a database table for a specify primary key value
Example:
1 <?php
2 $ModelGeneralOptionsRecord = new miModelGeneralOptionsRecord('tableName', 'propertyField', 'valueField');
3 $ModelGeneralOptionsRecord->readPK($value);
4 $row = $$ModelGeneralOptionsRecord->getRow(); // now $row holds the result row
5 ?>
update (line 99)
Update a record in the table
Inherited From miModelSQLRecord
miModelSQLRecord::miModelSQLRecord()
miModelSQLRecord::delete()
miModelSQLRecord::get()
miModelSQLRecord::getPrimaryKeyColumn()
miModelSQLRecord::getRow()
miModelSQLRecord::getTableName()
miModelSQLRecord::insert()
miModelSQLRecord::read()
miModelSQLRecord::readPK()
miModelSQLRecord::set()
miModelSQLRecord::setRow()
miModelSQLRecord::update()
Documentation generated on Mon, 18 Oct 2004 14:58:32 +0300 by phpDocumentor 1.2.3