Class: Behavior

Source Location: /sys/xulNode.php.inc

Class Overview


SiteFusion Node Behavior

Base class for Behaviors. Subclasses can define methods, which will become part of any Node object upon calling $node->addBehavior($behavior);




Variables

Methods


Class Variables

$enabled =  true

Enabled, disabled flag.

var:  true it is enabled, false it is disabled
access:  protected
Type:   enabled



Class Methods


method disable() [line 2083]

void disable( )

Disable Behavior

access:  public

[ Top ]

method enable() [line 2076]

void enable( )

Enable Behavior

access:  public

[ Top ]

method getEnabled() [line 2092]

boolean getEnabled( )

Returns enabled state

return:  true, enabled | false, disabled.
access:  public

[ Top ]

method getOwner() [line 2058]

object getOwner( )

Get owner Node object.

access:  public

[ Top ]

method init() [line 2049]

void init( )

This method is fired when the behavior class is attached.

Override this method to install custom initialization.


access:  public

[ Top ]

method setOwner() [line 2069]

void setOwner( object $owner)

Sets owner Node object.

[INTERNAL] Node will call this method in the Node::addBehavior() method


access:  public

Parameters:

object   $owner  

[ Top ]


Documentation generated on Mon, 07 Apr 2014 00:52:59 +0200 by phpDocumentor 1.4.3