Methods

All methods in the Solar_Sql_Model_Cache class.

Public

__construct()

Constructor.

__destruct()

Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().

add()

Adds data to the cache under a specified key.

delete()

Deletes the cache for this model.

deleteAll()

Deletes the cache for this model and all related models.

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

entry()

Gets the key for a cache entry based on fetch parameters for a select.

fetch()

Fetches the data for a cache entry.

locale()

Looks up class-specific locale strings based on a key.

setModel()

Sets the model this cache will work with; picks up the SQL cache key prefix along with it.

Protected

_buildConfig()

Builds and returns the default config for a class, including all configs inherited from its parents.

_exception()

Convenience method for returning exceptions with localized text.

_fetchVersion()

Fetches the current model data version from the cache.

_postConfig()

A hook that activates after _buildConfig() in the constructor.

_postConstruct()

Post-construction tasks to complete object construction.

_preConfig()

A hook that activates before _buildConfig() in the constructor.

Private

None.



Local