silverorange Code


Site.SiteGadgetInstanceSettingValueWrapper
/Site/dataobjects/SiteGadgetInstanceSettingValueWrapper.php at line 14

Class SiteGadgetInstanceSettingValueWrapper

SwatObject
└─SwatDBRecordsetWrapper
└─SiteGadgetInstanceSettingValueWrapper

public class SiteGadgetInstanceSettingValueWrapper
extends SwatDBRecordsetWrapper

A recordset wrapper for gadget instance setting values

Copyright:
2008 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
See Also:
SiteGadgetInstanceSettingValue
Todo:
Add lazy instantiation of records.

Fields inherited from SwatDB.SwatDBRecordsetWrapper
db, index_field, row_wrapper_class
Method Summary
protected void

init()

Initializes this recordset wrapper.

Methods inherited from SwatDB.SwatDBRecordsetWrapper
add, attachSubDataObjects, checkDB, count, current, delete, duplicate, getArray, getByIndex, getCount, getFirst, getIndexes, getInternalValues, init, instantiateRowWrapperObject, isModified, key, load, loadAllSubDataObjects, loadAllSubRecordsets, next, offsetExists, offsetGet, offsetSet, offsetUnset, reindex, remove, removeAll, removeByIndex, rewind, save, serialize, setDatabase, unserialize, valid

Method Detail

/Site/dataobjects/SiteGadgetInstanceSettingValueWrapper.php at line 18

init

protected void init()

Initializes this recordset wrapper

Subclasses are encoraged to specify a SwatDBDataObject subclass as this recordset's row wrapper class. See SwatDBRecordsetWrapper::$row_wrapper_class.

Subclasses are also encoraged to specify an index field here. This enables lookup of records in this recordset by the index field value. See SwatDBRecordsetWrapper::$index_field.

Other initialization may be performed here. This method is the first thing called in the constructor.


silverorange Code