public function __construct() { parent::__construct(); $this->admin_model = cc_get_instance('admin/admin_model', 'model'); $this->aMenu = array(array('title' => '검색', 'title_class' => 'fa fa-search', 'active' => true, 'child' => array(array('link' => HOSTURL . '/admin/usersearch', 'title' => '유저 검색'), array('link' => HOSTURL . '/admin/userlist', 'title' => '프로그램별 검색'))), array('title' => '프로그램관리', 'title_class' => 'fa fa-list', 'active' => false, 'child' => array(array('link' => HOSTURL . '/admin/courselist', 'title' => '프로그램 리스트'))), array('title' => '다운로드', 'title_class' => 'fa fa-download', 'active' => false, 'child' => array(array('link' => HOSTURL . '/admin/filedown', 'title' => '16년 가을학기')))); /*}}}*/ }
public function __construct() { $this->admin_dao = cc_get_instance('admin/admin_dao', 'model'); $this->courseConfig = $this->getCourse(); $this->memberSTATEConfig = cc_get_config('member_svc_state', 'member_config'); $this->memberGRDEConfig = cc_get_config('member_user_grde', 'member_config'); }
public function __construct() { $this->user_model = cc_get_instance('member/user_model', 'model'); $a = func_get_args(); $i = func_num_args(); if (method_exists($this, $f = '__construct' . $i)) { call_user_func_array(array($this, $f), $a); } }
public function setAccountInfo($aParam) { $user = cc_get_instance('MemberLibClass'); $aParam['pwd'] = MemberLibClass::getMKPwd($aParam['pwd']); if ($this->user_dao->setAccount($aParam)) { return true; } else { return false; } }
public function request_course() { // login check $sMemInfo = getCookieInfo(); if (!$sMemInfo) { // login go header('Location: http://localhost/~leehojun/CC/codingclub/Login'); } $oMemInfo = json_decode($sMemInfo); // chk member user info // get membserinfo $user = cc_get_instance('UserClass'); $oUser = new $user($oMemInfo->accountID); if (!$oUser->oUserInfo->usn) { // user info input $this->_setUserInfo(); } else { // member_svc input // set member_svc call echo "set members_svc"; } //$this->load->view('course/request_course'); }
public function __construct() { $this->nodejs_dao = cc_get_instance('nodejs/nodejs_dao', 'model'); }
private function _chkPWD($accountID, $passwd) { if (!$accountID || !$passwd) { return false; } if (!($oAccountInfo = $this->_getPwdDB($accountID))) { return false; } $user = cc_get_instance('MemberLibClass'); $sMkPWD = MemberLibClass::getMKPwd($passwd); if ($oAccountInfo->pwd == $sMkPWD) { return $oAccountInfo->usn; } else { return false; } return false; }
public function __construct() { $this->dao = cc_get_instance('mvctest/Mvctest_dao', 'model'); }
public function __construct() { parent::__construct(); $this->user_model = cc_get_instance('member/user_model', 'model'); }
public function __construct() { parent::__construct(); $this->nodejs_model = cc_get_instance('nodejs/nodejs_model', 'model'); }
public function __construct() { $this->log_dao = cc_get_instance('log/log_dao', 'model'); }
public function __construct() { parent::__construct(); $this->model = cc_get_instance('mvctest/mvctest_model', 'model'); }
public function __construct() { $this->course_dao = cc_get_instance('course/course_dao', 'model'); }
public function __construct() { parent::__construct(); $this->course_model = cc_get_instance('course/course_model', 'model'); $this->load->helper('url'); }
private function _setMemberSVC($aInput) { $user = cc_get_instance('UserClass'); $oUser = new $user(); return $oUser->setMemberSVCInfo($aInput); }