ObservableComponent Class Reference

Inheritance diagram for ObservableComponent:
BeanModel RedBeanModel A ActiveLanguage AuditEvent BaseCustomField BaseStarredModel ContactState Currency CustomFieldData CustomFieldsModel CustomFieldValue DateDateTime DDD DerivedAttributeMetadata E F FFF FileContent G GameNotification GGG GlobalMetadata H HHH III KanbanItem M MashableInboxForTestModel MessageSource MessageTranslation MixedRelationsModel NoBean OwnedModel P PerUserMetadata Portlet PP PPP PPPP ProjectAuditEvent QueryFromModel SavedCalendarSubscription ShortUrl StuckJob TestAttributeNamedLikeSqlKeywordModel TestBlobModel TestBooleanAttributeModel TestDatabaseBulkInsertModel TestDataUtilModel TestDateTimeModel TestDateTimeUserModel TestDefaultedAttributeModel TestGetAttributeLabelModel TestIdentityModel TestInvalidSpecificLinkType TestManyManyRelationToItemModel TestModelToMessagesModel TestNameModel TestOperatorTypeModel TestPolyOneToManyOneSide TestPolyOneToManyOneSideTwo TestPolyOneToManyPolySide TestPolyOneToManyPolySideOwned TestPrecisionModel TestReadOnlyAttributeModel TestSelfRelatingModel TestSimplestManyRelationModel TestSimplestModel TestTypesModel TestViewMetadataValidatorModel ThingWithCalculatedDates Z ZZ

Public Member Functions

 init ()
 attachEvents ($events)
 events ()
 attachEventHandler ($name, $handler)
 detachEventHandler ($name, $handler)

Detailed Description

Base class to allow observers to raise events on models.

Definition at line 43 of file ObservableComponent.php.

Member Function Documentation

init (  ) 

Attach exists events while model creation

Definition at line 50 of file ObservableComponent.php.

attachEvents ( events  ) 

Attach events

array $events

Definition at line 60 of file ObservableComponent.php.

events (  ) 

Get exists events


Definition at line 76 of file ObservableComponent.php.

attachEventHandler ( name,

Attach event handler

string $name Event name
mixed $handler Event handler

Definition at line 90 of file ObservableComponent.php.

detachEventHandler ( name,

Dettach event hander

string $name Event name
mixed $handler Event handler

Definition at line 107 of file ObservableComponent.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Apr 27 07:10:28 2017