ReadOptimizationDerivedAttributeToDataProviderAdapter Class Reference

Inheritance diagram for ReadOptimizationDerivedAttributeToDataProviderAdapter:
RedBeanModelAttributeToDataProviderAdapter

Public Member Functions

 __construct ($modelClassName, $attribute, $relatedAttribute=null)
 getAttributeModelClassName ()
 getColumnName ()
 isRelation ()
 getRelationType ()
 getRelationModel ()
 getRelationModelClassName ()
 getRelatedAttributeModelClassName ()
 getRelationTableName ()
 getRelatedAttributeTableName ()
 getRelatedAttributeColumnName ()

Detailed Description

Special handling read optimization derived attribute. This is used by reporting for example to properly add read optimization filtering.

Definition at line 41 of file ReadOptimizationDerivedAttributeToDataProviderAdapter.php.


Constructor & Destructor Documentation

__construct ( modelClassName,
attribute,
relatedAttribute = null 
)

Extended to ensure the attribute specified is null, since it is not used when using this adapter.

Parameters:
string $modelClassName
unknown_type $attribute
unknown_type $relatedAttribute

Reimplemented from RedBeanModelAttributeToDataProviderAdapter.

Definition at line 49 of file ReadOptimizationDerivedAttributeToDataProviderAdapter.php.


Member Function Documentation

getAttributeModelClassName (  ) 

Extended to only return 'OwnedSecurableItem' as the attribute model class name. (non-PHPdoc)

See also:
RedBeanModelAttributeToDataProviderAdapter::getAttributeModelClassName()

Reimplemented from RedBeanModelAttributeToDataProviderAdapter.

Definition at line 62 of file ReadOptimizationDerivedAttributeToDataProviderAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Nov 20 07:10:28 2017