condition = null; $this->name = $name; } public function getTreeProperties() { return array( 'name' => $this->name, 'condition' => $this->condition, 'children' => $this->children ); } public function canHandleElement( ezcTemplateTstNode $element ) { return ( $element instanceof ezcTemplateLoopTstNode && $element->name != 'delimiter' ); } public function handleElement( ezcTemplateTstNode $element ) { if ( $this->canHandleElement( $element ) ) { $this->children[] = $element; $element->parentBlock = $this; } else { parent::handleElement( $element ); } } } ?>