ActiveRecord_ProxyActiveRecord_Proxy allows for limited access to some protected methods of an ActiveRecord object. See ActiveRecord_Base::add_method_proxy() for more information.
Located in /activerecord/lib/ActiveRecord/Proxy.php (line 11)
| Class | Description |
|---|---|
ActiveRecord_ProxyMethod
|
ActiveRecord_ProxyMethod encapsulates a proxied method for an ActiveRecord object. See ActiveRecord_Base::add_method_proxy() for more information. |
void
initialize
(ActiveRecord_Base $record, &$attributes, &$cached_attributes, [object $metaInf = null], array $attributes, array $cached_attributes)
add_method_proxy (line 117)
Calls add_proxy_method on the object the method was originally invoked on.
add_validation (line 129)
Add a validation to the class
delete_cached_attribute (line 106)
Calls delete_cached_attribute on the object the method was originally invoked on.
has_cached_attribute (line 73)
Calls has_cached_attribute on the object the method was originally invoked on.
initialize (line 25)
Initialize (or re-initialize) the proxy
read_attribute (line 39)
Calls read_attribute on the object the method was originally invoked on.
read_attribute_before_type_cast (line 52)
Calls read_attribute_before_type_cast on the object the method was originally invoked on.
read_cached_attribute (line 83)
Calls read_cached_attribute on the object the method was originally invoked on.
write_attribute (line 62)
Calls write_attribute on the object the method was originally invoked on.
write_cached_attribute (line 95)
Calls write_cached_attribute on the object the method was originally invoked on.
Documentation generated on Wed, 25 Apr 2012 09:46:44 -0700 by phpDocumentor 1.4.3