Lines Matching defs:elem

148      * @param   string|array  $elem   Pseudo-tag or string to add to the form.
152 public function addElement($elem)
154 $this->_content[] = $elem;
163 * @param string|array $elem Pseudo-tag or string to add to the form.
167 public function insertElement($pos, $elem)
169 array_splice($this->_content, $pos, 0, array($elem));
178 * @param string|array $elem Pseudo-tag or string to add to the form.
182 public function replaceElement($pos, $elem)
185 if (!is_null($elem)) $rep[] = $elem;
201 foreach ($this->_content as $pos => $elem) {
202 if (is_array($elem) && $elem['_elem'] == $type)
220 foreach ($this->_content as $pos => $elem) {
221 if (is_array($elem) && isset($elem['id']) && $elem['id'] == $id)
240 foreach ($this->_content as $pos => $elem) {
241 if (is_array($elem) && isset($elem[$name]) && $elem[$name] == $value)
350 $elem = array('_elem' => 'tag', '_tag' => $tag);
351 return array_merge($elem, $attrs);
368 $elem = array('_elem' => 'opentag', '_tag' => $tag);
369 return array_merge($elem, $attrs);
404 $elem = array('_elem' => 'wikitext', '_text' => $text,
406 return array_merge($elem, $attrs);
427 $elem = array('_elem' => 'button', 'type' => $type, '_action' => $act,
432 return array_merge($elem, $attrs);
457 $elem = array('_elem' => 'field', '_text' => $label, '_class' => $class,
459 return array_merge($elem, $attrs);
484 $elem = array('_elem' => 'fieldright', '_text' => $label, '_class' => $class,
486 return array_merge($elem, $attrs);
509 $elem = array('_elem' => 'textfield', '_text' => $label, '_class' => $class,
511 return array_merge($elem, $attrs);
534 $elem = array('_elem' => 'passwordfield', '_text' => $label, '_class' => $class,
536 return array_merge($elem, $attrs);
558 $elem = array('_elem' => 'filefield', '_text' => $label, '_class' => $class,
560 return array_merge($elem, $attrs);
586 $elem = array('_elem' => 'checkboxfield', '_text' => $label, '_class' => $class,
588 return array_merge($elem, $attrs);
612 $elem = array('_elem' => 'radiofield', '_text' => $label, '_class' => $class,
614 return array_merge($elem, $attrs);
660 $elem = array('_elem' => 'menufield', '_options' => $options, '_text' => $label, '_class' => $class,
662 return array_merge($elem, $attrs);
713 $elem = array('_elem' => 'listboxfield', '_options' => $options, '_text' => $label, '_class' => $class,
715 return array_merge($elem, $attrs);