예제 #1
0
 public function index()
 {
     if ($this->_view == "admin") {
         $Users = new UserArray();
         $Users->load();
         $tplData = array("Users" => $Users->getArray());
         $this->_viewProcessor->_tplData = $tplData;
     }
     $this->_viewProcessor->display();
 }
예제 #2
0
 public function getAllUserData()
 {
     $UserArray = new UserArray();
     $UserArray->load();
     return $UserArray->getArray();
 }