Properties

Properties existing in the Solar_Sql_Model_Record class.

Public

None.

Protected

$_Solar_Struct

(array) Default configuration values.

Inherited from Solar_Struct.

$_access_methods

(array) The list of accessor methods for individual column properties.

For example, a method called __getFooBar() will be registered for ['get']['foo_bar'] => '__getFooBar'.

$_access_methods_list

(static array) A list of all accessor methods for all record classes.

$_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.

$_data_keylock

(bool) Notes if the data keys should be locked (unchangeable).

Inherited from Solar_Struct.

$_filters

(array) Filters added for this one record object.

$_initial

(array) An array of the initial (clean) data for the record.

This tracks only table-column data, not calculate-cols or related-cols.

$_invalid

(array) Notes which values on this record are not valid.

Keyed on property name => failure message.

$_is_dirty

(bool) Notes if one or more data elements has been set after initialization.

Inherited from Solar_Struct.

$_is_new

(bool) Tracks if this record is new (i.e., not in the database yet).

$_model

(Solar_Sql_Model) The "parent" model for this record.

$_save_exception

(Solar_Exception) If you call save() and an exception gets thrown, this stores that exception.

$_sql_status

(string) Tracks the the status of this record at the database.

Status values are:

deleted

This record has been deleted; load(), etc. will not work.

inserted

The record was inserted successfully.

updated

The record was updated successfully.

Private

None.



Local