Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions
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 TestModelJoinHasManyAndHasOneBelongsToSide TestModelJoinHasManySide TestModelJoinHasOneSide TestModelJoinManyManySide TestModelJoinManyManySideTwo TestModelToMessagesModel TestNameModel TestOperatorTypeModel TestPolyOneToManyOneSide TestPolyOneToManyOneSideTwo TestPolyOneToManyPolySide TestPolyOneToManyPolySideOwned TestPrecisionModel TestReadOnlyAttributeModel TestSelfRelatingModel TestSimplestManyRelationModel TestSimplestModel TestTypesModel TestViewMetadataValidatorModel ThingWithCalculatedDates X 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

Parameters
array$events

Definition at line 60 of file ObservableComponent.php.

events ( )

Get exists events

Returns
array

Definition at line 76 of file ObservableComponent.php.

attachEventHandler (   $name,
  $handler 
)

Attach event handler

Parameters
string$nameEvent name
mixed$handlerEvent handler

Definition at line 90 of file ObservableComponent.php.

detachEventHandler (   $name,
  $handler 
)

Dettach event hander

Parameters
string$nameEvent name
mixed$handlerEvent handler
Returns
bool

Definition at line 107 of file ObservableComponent.php.


The documentation for this class was generated from the following file:
Generated on Wed Jul 15 2020 07:10:57
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.