PEAR Manual
Prev |  | Next

# HTML_QuickForm_Renderer_ITDynamic::setElementBlock()

HTML_QuickForm_Renderer_ITDynamic::setElementBlock() -- Sets the block to use for element rendering

## Synopsis

    require_once 'HTML/QuickForm/Renderer/ITDynamic.php';

``void HTML_QuickForm_Renderer_ITDynamic::setElementBlock` (mixed $elementName [, string $blockName = `NULL`])`

## Description

Sets the block to use for element rendering.

## Parameter

mixed `$elementName`

  element name or array ('element name' => 'block name')

string `$blockName`

  block name if `$elementName` is not an array

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
constructor HTML_QuickForm_Renderer_ITDynamic::HTML_QuickForm_Renderer_ITDynamic() | Up | HTML_QuickForm_Renderer_ITDynamic::setHeaderBlock()