phpDocumentor

OrderDataSubject
in package
implements SplSubject

Class OrderDataSubject

Tags
subpackage

GambioHub

Interfaces, Classes and Traits

SplSubject

Table of Contents

$dataChange  : DataChange
$factory  : DataObserverFactory
$idColumn  : string
$observers  : SplObjectStorage
$table  : string
__construct()  : mixed
OrderDataSubject constructor.
attach()  : void
Attach an SplObserver.
change()  : void
Change the current value of the subject.
detach()  : void
Detach an observer.
getDataChange()  : DataChange
Get the subject's DataChange object.
notify()  : void
Notify an observer.

Properties

Methods

change()

Change the current value of the subject.

public change(string $action, int $rowId) : void

Calling this method will also notify all attached observers.

Parameters
$action : string

Executed function, provide one of 'insert', 'update' or 'delete'.

$rowId : int

Changed row ID.

Return values
void

Search results