nyroFwk  0.2
hidden.class.php
Go to the documentation of this file.
1 <?php
10 class form_hidden extends form_abstract {
11 
12  public function isHidden() {
13  return true;
14  }
15 
16  public function toHtml() {
17  return utils::htmlTag($this->htmlTagName,
18  array_merge($this->html, array(
19  'name'=>$this->name,
20  'id'=>$this->id,
21  'value'=>$this->getRawValue(),
22  )));
23  }
24 
25  public function toXul() {
26  return utils::htmlTag($this->xulTagName,
27  array_merge($this->xul, array(
28  'id'=>$this->id,
29  'value'=>$this->getRawValue(),
30  )));
31  }
32 
33 }
static htmlTag($tag, array $attributes, $content=null)
Definition: utils.class.php:46
Generated on Sun Oct 15 2017 22:25:20 for nyroFwk by doxygen 1.8.13