nyroFwk  0.2
password.class.php
Go to the documentation of this file.
1 <?php
10 class form_password extends form_text {
11 
12  public function toHtml() {
13  if ($this->cfg->mode == 'view')
14  return '*******';
15  return utils::htmlTag($this->htmlTagName,
16  array_merge($this->html, array(
17  'name'=>$this->name,
18  'id'=>$this->id,
19  )));
20  }
21 
22  public function toXul() {
23  return utils::htmlTag($this->xulTagName,
24  array_merge($this->xul, array(
25  'id'=>$this->id,
26  )));
27  }
28 
29 }
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