public function __construct()
 {
     parent::__construct();
     $this->responseType = 'tpl';
     // 使用模板引擎
     $this->layout = 'top_navigator';
 }
 public function __construct()
 {
     parent::__construct();
     $this->dtds['username'] = new LtValidatorDtd("username", array("max_length" => 8, "mask" => "/^[a-z0-9]+\$/i", "ban" => "/f**k/"), array("max_length" => "最大长度8", "mask" => "用户名只能由数字或字组成", "ban" => "用户名不能包含脏话"));
     $this->responseType = 'tpl';
     // 使用模板引擎
 }
示例#3
0
 public function __construct()
 {
     parent::__construct();
     $this->responseType = 'tpl';
     $this->layout = 'index';
 }
 public function __construct()
 {
     parent::__construct();
     $this->responseType = 'tpl';
     // 使用模板引擎
 }
示例#5
0
 public function __construct()
 {
     parent::__construct();
 }