RelatedItemForm Class Reference

Inheritance diagram for RelatedItemForm:
ActivityItemForm ConversationItemForm TaskActivityItemForm

Public Member Functions

 __construct ($relationModel)
 __get ($name)
 getAttributeLabel ($attributeName)

Protected Attributes


Detailed Description

Base class for related item forms. This form is used by ModelElements and its interface mimics if a CActiveForm was used. Extend as needed.

Definition at line 41 of file RelatedItemForm.php.

Member Function Documentation

__get ( name  ) 

Override to handle use case of $name == 'id' and the reference to the relationModel that will be called upon. As this form does not have an 'id', it will return null;

See also:
RelatedItemsElement - to see a example of where this is instantiated from.
ModelElement. This form is used by ModelElement for example and ModelElement expects the model to have an 'id' value.

Definition at line 58 of file RelatedItemForm.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Nov 19 07:11:03 2019