7.20. Opt_Block_Interface
7.20.2. onOpen()
7.20.1. onClose()
« Previous
7.20.3. onSingle()
Next »

7.20.2. onOpen()

ConstructAbstract method
Visibilitypublic
Referenceboolean onOpen(Array $attributes)
Argument list
$attributes - array
The associative array of block tag attributes.

Represents the action that must be performed for a block port opening tag:

<opt:block from="$var"> <!-- here -->
    ...
</opt:block>

The method may return true or false to specify, whether the contents of the tag should be displayed or not.

See also:

7.20.2. onOpen()
7.20. Opt_Block_Interface
« Previous
7.20.1. onClose()
Next »
7.20.3. onSingle()