Go to the documentation of this file.00001 <?php
00010 class form_password extends form_text {
00011
00012 public function toHtml() {
00013 if ($this->cfg->mode == 'view')
00014 return '*******';
00015 return utils::htmlTag($this->htmlTagName,
00016 array_merge($this->html, array(
00017 'name'=>$this->name,
00018 'id'=>$this->id,
00019 )));
00020 }
00021
00022 public function toXul() {
00023 return utils::htmlTag($this->xulTagName,
00024 array_merge($this->xul, array(
00025 'id'=>$this->id,
00026 )));
00027 }
00028
00029 }