Example #1
0
File: Stat.php Project: hihus/pi
 public function execute($argv)
 {
     //test com autoload
     $login = new Logic_Login_Login();
     $login->login();
     //test model autoload
     $log_table = new Model_login_UserLogin();
     $log_table->doLogin();
 }
Example #2
0
 public function index()
 {
     echo "<br>";
     echo "in index";
     echo "<br>";
     //test com autoload
     $login = new Logic_Login_Login();
     $login->login();
     //test model autoload
     $log_table = new Model_login_UserLogin();
     $log_table->doLogin();
     $this->assign("hihu", "cadsl");
     $this->display('login/index.tpl', true);
     //$this->jump('/login',true);
 }
Example #3
0
 function dologin($str = array())
 {
     $cls = new Logic_Login_Login();
     $res = $cls->login();
     return var_export($str, true) . $res;
 }
Example #4
0
 function dologin()
 {
     $cls = new Logic_Login_Login();
     $cls->login();
     echo "pi com is right ~ \n";
 }