PHP Class Jackalope\Observation\Event

Author: D. Barsotti ([email protected])
Author: David Buchmann ([email protected])
Inheritance: implements PHPCR\Observation\EventInterface
Show file Open project: jackalope/jackalope Class Usage Examples

Protected Properties

Property Type Description
$NODE_TYPE_EVENT array Events that support getting the primary or mixin node types.
$PROPERTY_TYPE_EVENT array Events that support getting the property type.
$date integer
$identifier string
$info array
$mixinNodeTypeNames array
$ntm PHPCR\NodeType\NodeTypeManagerInterface
$path string
$primaryNodeTypeName string
$type integer
$userData string
$userId string

Public Methods

Method Description
__construct ( Jackalope\FactoryInterface $factory, PHPCR\NodeType\NodeTypeManagerInterface $ntm )
addInfo ( string $key, string $value )
addMixinNodeTypeName ( $mixinNodeTypeName )
getDate ( ) {@inheritDoc}
getIdentifier ( ) {@inheritDoc}
getInfo ( ) {@inheritDoc}
getMixinNodeTypes ( ) {@inheritDoc}
getPath ( ) {@inheritDoc}
getPrimaryNodeType ( ) {@inheritDoc}
getPropertyType ( ) {@inheritDoc}
getType ( ) {@inheritDoc}
getUserData ( ) {@inheritDoc}
getUserID ( ) {@inheritDoc}
setDate ( integer $date )
setIdentifier ( string $identifier )
setMixinNodeTypeNames ( array $mixinNodeTypeNames )
setPath ( string $path )
setPrimaryNodeTypeName ( string $primaryNodeTypeName )
setType ( string $type )
setUserData ( string $data )
setUserId ( string $userId )

Private Methods

Method Description
checkNodeTypeEvent ( ) Check if this event is a node type event. Throw exception otherwise.

Method Details

__construct() public method

public __construct ( Jackalope\FactoryInterface $factory, PHPCR\NodeType\NodeTypeManagerInterface $ntm )
$factory Jackalope\FactoryInterface ignored but need by the factory
$ntm PHPCR\NodeType\NodeTypeManagerInterface to have primary and mixin types

addInfo() public method

public addInfo ( string $key, string $value )
$key string
$value string

addMixinNodeTypeName() public method

public addMixinNodeTypeName ( $mixinNodeTypeName )

getDate() public method

{@inheritDoc}
public getDate ( )

getIdentifier() public method

{@inheritDoc}
public getIdentifier ( )

getInfo() public method

{@inheritDoc}
public getInfo ( )

getMixinNodeTypes() public method

{@inheritDoc}
public getMixinNodeTypes ( )

getPath() public method

{@inheritDoc}
public getPath ( )

getPrimaryNodeType() public method

{@inheritDoc}
public getPrimaryNodeType ( )

getPropertyType() public method

{@inheritDoc}
public getPropertyType ( )

getType() public method

{@inheritDoc}
public getType ( )

getUserData() public method

{@inheritDoc}
public getUserData ( )

getUserID() public method

{@inheritDoc}
public getUserID ( )

setDate() public method

public setDate ( integer $date )
$date integer

setIdentifier() public method

public setIdentifier ( string $identifier )
$identifier string

setMixinNodeTypeNames() public method

public setMixinNodeTypeNames ( array $mixinNodeTypeNames )
$mixinNodeTypeNames array

setPath() public method

public setPath ( string $path )
$path string

setPrimaryNodeTypeName() public method

public setPrimaryNodeTypeName ( string $primaryNodeTypeName )
$primaryNodeTypeName string

setType() public method

public setType ( string $type )
$type string

setUserData() public method

public setUserData ( string $data )
$data string url-encoded string

setUserId() public method

public setUserId ( string $userId )
$userId string

Property Details

$NODE_TYPE_EVENT protected static property

Events that support getting the primary or mixin node types.
protected static array $NODE_TYPE_EVENT
return array

$PROPERTY_TYPE_EVENT protected static property

Events that support getting the property type.
protected static array $PROPERTY_TYPE_EVENT
return array

$date protected property

protected int $date
return integer

$identifier protected property

protected string $identifier
return string

$info protected property

protected array $info
return array

$mixinNodeTypeNames protected property

protected array $mixinNodeTypeNames
return array

$ntm protected property

protected NodeTypeManagerInterface,PHPCR\NodeType $ntm
return PHPCR\NodeType\NodeTypeManagerInterface

$path protected property

protected string $path
return string

$primaryNodeTypeName protected property

protected string $primaryNodeTypeName
return string

$type protected property

protected int $type
return integer

$userData protected property

protected string $userData
return string

$userId protected property

protected string $userId
return string