|
Previous Page |
Solar_Model_Areas_Record |
Next Page |
Properties
Public
None.
Protected
$_Solar_Struct
(array) User-defined configuration values.
Inherited from Solar_Struct.
Keys are ...
data- (array) Key-value pairs.
$_access_methods
(array) The list of accessor methods for individual column properties.
Inherited from Solar_Sql_Model_Record.
For example, a method called __getFooBar() will be registered for ['get']['foo_bar'] => '__getFooBar'.
$_config
(array) Collection point for configuration values.
Inherited from Solar_Base.
Note that you do not define config defaults in $_config directly.
<?php
// DO NOT DO THIS
protected $_config = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
Instead, define config defaults in a protected property named for the class, withan underscore prefix.
For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.
<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
$_data
(array) The keys/properties in name => value format.
Inherited from Solar_Struct.
$_filters
(array) Filters added for this one record object.
Inherited from Solar_Sql_Model_Record.
$_initial
(array) An array of the initial (clean) data for the record.
Inherited from Solar_Sql_Model_Record.
This tracks only table-column data, not calculate-cols or related-cols.
$_invalid
(array) Notes which values are not valid.
Inherited from Solar_Sql_Model_Record.
Keyed on property name => failure message.
$_iterator_valid
(array) Iterator: is the current position valid?
Inherited from Solar_Struct.
$_model
(Solar_Sql_Model) The "parent" model for this record.
Inherited from Solar_Sql_Model_Record.
$_related_page
(array) Tracks which relationship pages are loaded.
Inherited from Solar_Sql_Model_Record.
Keys on the relationship name.
$_save_exception
(Solar_Exception) If you call save() and an exception gets thrown, this stores that exception.
Inherited from Solar_Sql_Model_Record.
$_status
(bool) Tracks the of the status of this record.
Inherited from Solar_Sql_Model_Record.
Status values are:
clean- The record is unmodified from the database.
deleted- This record has been deleted; load(), etc. will not work.
dirty- At least one record property has changed.
inserted- The record was inserted successfully.
invalid- Validation was attempted, with failure.
new- This is a new record and has not been saved to the database.
updated- The record was updated successfully.
Private
None.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __get()
- __isset()
- __set()
- __unset()
- _checkDeleted()
- _exception()
- _insert()
- _postDelete()
- _postFilter()
- _postInsert()
- _postSave()
- _postSaveRelated()
- _postUpdate()
- _preDelete()
- _preFilter()
- _preInsert()
- _preSave()
- _preSaveRelated()
- _preUpdate()
- _save()
- _saveRelated()
- _update()
- addFilter()
- apiVersion()
- count()
- current()
- delete()
- dump()
- filter()
- form()
- getChanged()
- getInvalid()
- getModel()
- getPrimaryCol()
- getPrimaryVal()
- getSaveException()
- getStatus()
- increment()
- isChanged()
- key()
- load()
- locale()
- next()
- offsetExists()
- offsetGet()
- offsetSet()
- offsetUnset()
- refresh()
- rewind()
- save()
- saveInTransaction()
- setInvalid()
- setInvalids()
- setModel()
- setStatus()
- toArray()
- valid()