Previous Class
Solar_Example_Model_TestSolarFoo_Bar

Solar_Example_Model_TestSolarFoo_Bar_Record
Overview

Next Page
Constants

Solar_Example_Model_TestSolarFoo_Bar_Record

Represents a single "bar" record (inherited from table "test_solar_foo").

Catalog

This class is part of the Solar_Example package.

Inheritance:

Constants

None.

Public Properties

The Solar_Example_Model_TestSolarFoo_Bar_Record class has no public properties; try the list of all properties.

Public Methods

These are all the public methods in the Solar_Example_Model_TestSolarFoo_Bar_Record class.

You can also view the list of all public, protected, and private methods.

__construct()
Constructor.
__destruct()
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
__get()
Magic getter for record properties; automatically calls __getColName() methods when they exist.
__isset()
Checks if a data key is set.
__set()
Magic setter for record properties; automatically calls __setColName() methods when they exist.
__unset()
Sets a key in the data to null.
apiVersion()
Reports the API version for this class.
count()
Countable: how many keys are there?
current()
Iterator: get the current value for the array pointer.
delete()
Deletes this record from the database.
dump()
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
filter()
Filter the data.
form()
Returns a Solar_Form object pre-populated with column properties, values, and filters ready for processing (all based on the model for this record).
getInvalid()
Returns the validation failure message for one or more properties.
getModel()
Returns the model from which the data originates.
getRelatedPage()
Returns the current page number for a named relation.
getStatus()
Returns the status of this record.
key()
Iterator: get the current key for the array pointer.
load()
Loads the struct with data from an array or another struct.
locale()
Looks up class-specific locale strings based on a key.
next()
Iterator: move to the next position.
offsetExists()
ArrayAccess: does the requested key exist?
offsetGet()
ArrayAccess: get a key value.
offsetSet()
ArrayAccess: set a key value.
offsetUnset()
ArrayAccess: unset a key.
refresh()
Refreshes data for this record from the database.
rewind()
Iterator: move to the first position.
save()
Saves this record to the database, inserting or updating as needed.
setInvalid()
Forces one property to be "invalid" and sets a validation failure message for it.
setInvalids()
Forces multiple properties to be "invalid" and sets validation failure message for them.
setModel()
Injects the model from which the data originates.
setRelatedPage()
Sets the page number for a named relation, so that only records from that page are loaded.
setStatus()
Forces the status of this record.
toArray()
Converts the properties of this model Record or Collection to an array, including related models stored in properties.
valid()
Iterator: is the current position valid?