• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Application_Form_Frmtable类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中Application_Form_Frmtable的典型用法代码示例。如果您正苦于以下问题:PHP Application_Form_Frmtable类的具体用法?PHP Application_Form_Frmtable怎么用?PHP Application_Form_Frmtable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了Application_Form_Frmtable类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: indexAction

 function indexAction()
 {
     try {
         $db = new Keeping_Model_DbTable_DbOutmoney();
         if ($this->getRequest()->isPost()) {
             $search = $this->getRequest()->getPost();
             //print_r($search);exit();
         } else {
             $search = array('adv_search' => '', 'status_search' => -1);
         }
         $rows = $db->getAllwithdrawKeeping($search);
         $list = new Application_Form_Frmtable();
         $collumns = array("លេខដៃគូ", "ថ្ងៃ", "សម្គាល់", "ទូរស័ព្ទអតិថិជន", "ប្រាក់ជាដុល្លា", "ប្រាក់ជាបាត", "ប្រាក់ជារៀល", "ប្រាក់ជាដុល្លា(-)", "ប្រាក់ជាបាត(-)", "ប្រាក់ជារៀល(-)");
         $link = array('module' => 'Keeping', 'controller' => 'outmoney', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rows, array('phone' => $link, 'create_date' => $link, 'note' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         echo $e->getMessage();
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $pructis = new Keeping_Form_FrmOutMoney();
     $frm = $pructis->dokMoney();
     Application_Model_Decorator::removeAllDecorator($frm);
     $form = $this->view->frm_partner = $frm;
 }
开发者ID:samlanh,项目名称:currencyms,代码行数:25,代码来源:OutmoneyController.php


示例2: indexAction

 public function indexAction()
 {
     try {
         $db = new Accounting_Model_DbTable_DbChartaccount();
         if ($this->getRequest()->isPost()) {
             $search = $this->getRequest()->getPost();
         } else {
             $search = array('adv_search' => '', 'status' => -1);
         }
         $rs_rows = $db->getAllchartaccounts($search);
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
         $list = new Application_Form_Frmtable();
         $collumns = array("ACCOUNT_TYPE", "PARENT", "CATEGORY", "ACCOUNT_CODE", "ACCOUNT_NAME_EN", "ACCOUNT_NAME_KH", "STATUS");
         $link = array('module' => 'accounting', 'controller' => 'chartaccount', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('account_name_en' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $fm = new Application_Form_FrmAdvanceSearch();
     $frm = $fm->AdvanceSearch();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_search = $frm;
     $fms = new Accounting_Form_FrmChartaccount();
     $frms = $fms->FrmChartaccount();
     Application_Model_Decorator::removeAllDecorator($frms);
     $this->view->frm_chartaccount = $frms;
 }
开发者ID:sarankh80,项目名称:lnms,代码行数:29,代码来源:ChartaccountController.php


示例3: indexAction

    function indexAction()
    {
    	try{
    		$db = new Group_Model_DbTable_DbClientBlackList();
    		if($this->getRequest()->isPost()){
    			$search=$this->getRequest()->getPost();
    		}
    		else{
    			$search = array(
    					'adv_search' => '',
    					'status_search' => -1,
    					'start_date'=> date('Y-m-d'),
						'end_date'=>date('Y-m-d'));
    		}
    		$rs_row= $db->getAllBlackListInList($search);//call frome model
    					$glClass = new Application_Model_GlobalClass();
    					$rs_rows = $glClass->getImgActive($rs_row, BASE_URL, true);
    		$list = new Application_Form_Frmtable();
    		$collumns = array("BRANCH_NAME","CUSTOMER_CODE","CUSTOMER_NAME","SEX","SITU_STATUS","NATIONAL_ID","NUMBER","REASON","DATE","STATUS");
    		$link=array(
    				'module'=>'group','controller'=>'Clientblacklist','action'=>'edit',
    		);
    		$this->view->list=$list->getCheckList(0, $collumns,$rs_rows,array('name_kh'=>$link,'name_en'=>$link,'client_number'=>$link));
    	}catch (Exception $e){
    		Application_Form_FrmMessage::message("Application Error");
    		Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
    	}
    	$frm = new Group_Form_FrmClientBlackList();
    	$frm = $frm->FrmClientBlackList();
    	Application_Model_Decorator::removeAllDecorator($frm);
    	$this->view->frm_search = $frm;
    }
开发者ID:sarankh80,项目名称:lnms,代码行数:32,代码来源:ClientblacklistController.php


示例4: indexAction

 public function indexAction()
 {
     try {
         $db = new Other_Model_DbTable_DbCommune();
         if ($this->getRequest()->isPost()) {
             $search = $this->getRequest()->getPost();
         } else {
             $search = array('adv_search' => '', 'status' => -1);
         }
         $rs_rows = $db->getAllCommune($search);
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
         $list = new Application_Form_Frmtable();
         $collumns = array("CommuneName Kh", "CommuneName En", "District Name", "Date", "Status", "By");
         $link = array('module' => 'other', 'controller' => 'Commune', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('commune_namekh' => $link, 'district_name' => $link, 'commune_name' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         echo $e->getMessage();
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $frm = new Application_Form_FrmAdvanceSearch();
     $frm = $frm->AdvanceSearch();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_search = $frm;
 }
开发者ID:samlanh,项目名称:currencyms,代码行数:26,代码来源:CommuneController.php


示例5: indexAction

 public function indexAction()
 {
     try {
         $db = new Accounting_Model_DbTable_DbAsset();
         //     		if($this->getRequest()->isPost()){
         //     			$search=$this->getRequest()->getPost();
         //     		}
         //     		else{
         //     			$search = array(
         //     					'adv_search' => '',
         //     					'status' => -1);
         //     		}
         $rs_rows = $db->getAllAsset($search = null);
         //call frome model
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
         $list = new Application_Form_Frmtable();
         $collumns = array("Branch_id ", "Fixed_Assetname ", "Fixed_Asset_Type", "Asset_Cost", "Usefull_Life", "Salvagevalue", "Payment_method", "Status", "Note");
         $link = array('module' => 'accounting', 'controller' => 'FixedAsset', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('fixed_assetname' => $link, 'fixed_asset_type' => $link, 'asset_cost' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         echo $e->getMessage();
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
 }
开发者ID:samlanh,项目名称:currencyms,代码行数:26,代码来源:FixedAssetController.php


示例6: settingAction

 public function settingAction()
 {
     try {
         $db_dept = new Global_Model_DbTable_DbDept();
         if ($this->getRequest()->isPost()) {
             $_data = $this->getRequest()->getPost();
             $search = array('title' => $_data['title'], 'status' => $_data['status_search']);
             $limit = $dept_session->limit;
         } else {
             $search = '';
         }
         $_db = new Global_Model_DbTable_DbSetting();
         $rs_rows = $_db->getAllSetting($search);
         $list = new Application_Form_Frmtable();
         $collumns = array("KEY_VALUE", "KEY_VALUE", "BY_USER");
         $link = array('module' => 'global', 'controller' => 'index', 'action' => 'setting-edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('keyvalue' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $frm = new Global_Form_FrmSearchMajor();
     $frm = $frm->FrmSetting();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_search = $frm;
 }
开发者ID:samlanh,项目名称:currencyms,代码行数:26,代码来源:CoController.php


示例7: indexAction

 public function indexAction()
 {
     try {
         $db = new Other_Model_DbTable_DbDistrict();
         if ($this->getRequest()->isPost()) {
             $search = $this->getRequest()->getPost();
         } else {
             $search = array('adv_search' => '', 'search_status' => -1);
         }
         $rs_rows = $db->getAllDistrict($search);
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true, null, 1);
         $list = new Application_Form_Frmtable();
         $collumns = array("DISTRICT_KH", "DISTRICT_ENG", "DISPLAY_BY", "PROVINCE", "DATE", "STATUS", "BY");
         $link = array('module' => 'other', 'controller' => 'district', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('district_name' => $link, 'district_namekh' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         echo $e->getMessage();
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $fm = new Other_Form_FrmDistrict();
     $frm = $fm->FrmAddDistrict();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_district = $frm;
 }
开发者ID:samlanh,项目名称:lynacr,代码行数:26,代码来源:DistrictController.php


示例8: indexAction

 public function indexAction()
 {
     try {
         $db = new Room_Model_DbTable_DbRoom();
         //     		if($this->getRequest()->isPost()){
         //     			$search=$this->getRequest()->getPost();
         //     		}
         //     		else{
         //     			$search = array(
         //     					'adv_search' => '',
         //     					'search_status' => -1,
         //     					'start_date'=> date('Y-m-01'),
         //     					'end_date'=>date('Y-m-d'));
         //     		}
         $rs_rows = $db->getAllRoom();
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
         $list = new Application_Form_Frmtable();
         $collumns = array("ROOM_NO", "ROOM_NUMBER", "ROOM_TYPE", "FLOOR_NAME", "DATE", "BED_NUMBER", "DESCRIPTION", "STATUS");
         $link = array('module' => 'room', 'controller' => 'room', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('room_no' => $link, 'room_number' => $link, 'type_id' => $link, 'floor_id' => $link, 'date' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
 }
开发者ID:Bornpagna,项目名称:guesehouse,代码行数:26,代码来源:RoomController.php


示例9: indexAction

 public function indexAction()
 {
     try {
         $db = new Other_Model_DbTable_DbBranch();
         if ($this->getRequest()->isPost()) {
             $search = $this->getRequest()->getPost();
         } else {
             $search = array('adv_search' => '', 'status_search' => -1);
         }
         $rs_rows = $db->getAllBranch($search);
         $glClass = new Application_Model_GlobalClass();
         $rs_rowshow = $glClass->getImgActive($rs_rows, BASE_URL, true);
         $list = new Application_Form_Frmtable();
         $collumns = array("BRANCH_KH", "BRANCH_EN", "PREFIX_CODE", "CODE", "ADDRESS", "TEL", "FAX", "DISPLAY", "OTHER", "STATUS");
         $link = array('module' => 'other', 'controller' => 'branch', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rowshow, array('branch_namekh' => $link, 'branch_nameen' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message($this->tr->translate("APPLICATION_ERROR"));
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $fm = new Other_Form_Frmbranch();
     $frm = $fm->Frmbranch();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_branch = $frm;
 }
开发者ID:samlanh,项目名称:lynacr,代码行数:25,代码来源:BranchController.php


示例10: indexAction

 public function indexAction()
 {
     $db_user = new Application_Model_DbTable_DbUsers();
     $this->view->activelist = $this->activelist;
     $this->view->user_typelist = $this->user_typelist;
     $this->view->active = -1;
     $_data = array('active' => -1, 'user_type' => -1, 'txtsearch' => '');
     if ($this->getRequest()->isPost()) {
         $_data = $this->getRequest()->getPost();
         print_r($_data);
     }
     $rs_rows = $db_user->getUserList($_data);
     $_rs = array();
     foreach ($rs_rows as $key => $rs) {
         $_rs[$key] = array('id' => $rs['id'], 'name' => $rs['last_name'] . ' ' . $rs['name'], 'user_name' => $rs['user_name'], 'user_type' => $this->user_typelist[$rs['user_type']], 'status' => $rs['status']);
     }
     $list = new Application_Form_Frmtable();
     if (!empty($_rs)) {
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($_rs, BASE_URL, true);
     } else {
         $result = Application_Model_DbTable_DbGlobal::getResultWarning();
     }
     $collumns = array("LASTNAME_FIRSTNAME", "USER_NAME", "USER_TYPE", "STATUS");
     $link = array('module' => 'aclAcl', 'controller' => 'user', 'action' => 'edited');
     $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('cate_name' => $link, 'title' => $link));
 }
开发者ID:Bornpagna,项目名称:guesehouse,代码行数:27,代码来源:UserController.php


示例11: indexAction

 public function indexAction()
 {
     try {
         $db = new Group_Model_DbTable_DbClient();
         if ($this->getRequest()->isPost()) {
             $search = $this->getRequest()->getPost();
         } else {
             $search = array('adv_search' => '', 'status' => -1);
         }
         $rs_rows = $db->getAllClients($search);
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
         $list = new Application_Form_Frmtable();
         $collumns = array("Client N.", "NAME_EN", "Name Eng", "Sex", "Phone", "House", "Street", "Village", "Spouse Name", "By", "status");
         $link = array('module' => 'group', 'controller' => 'client', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('client_number' => $link, 'name_kh' => $link, 'name_en' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         echo $e->getMessage();
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $frm = new Application_Form_FrmAdvanceSearch();
     $frm = $frm->AdvanceSearch();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_search = $frm;
 }
开发者ID:samlanh,项目名称:lynacr,代码行数:26,代码来源:ClientController.php


示例12: indexAction

 public function indexAction()
 {
     try {
         $db = new Other_Model_DbTable_DbHoliday();
         if ($this->getRequest()->isPost()) {
             $search = $this->getRequest()->getPost();
         } else {
             $search = array('adv_search' => '', 'search_status' => -1, 'start_date' => date('Y-m-01'), 'end_date' => date('Y-m-d'));
         }
         $rs_rows = $db->getAllHoliday($search);
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
         $list = new Application_Form_Frmtable();
         $collumns = array("HOLIDAY_NAME", "Amount Day", "START_DATE", "END_DATE", "NOTE", "STATUS", "BY");
         $link = array('module' => 'other', 'controller' => 'holiday', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('holiday_name' => $link, 'start_date' => $link, 'amount_day' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $frm = new Other_Form_FrmHoliday();
     $frm = $frm->FrmAddHoliday();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_holiday = $frm;
 }
开发者ID:samlanh,项目名称:lynacr,代码行数:25,代码来源:HolidayController.php


示例13: addAction

 function addAction()
 {
     if ($this->getRequest()->isPost()) {
         $_data = $this->getRequest()->getPost();
         try {
             print_r($_data);
             exit;
             // 				$_dbmodel = new Global_Model_DbTable_DbProvince();
             // 				$_dbmodel->addNewProvince($_data);
             // 				Application_Form_FrmMessage::Sucessfull("EDIT_SUCCESS","/global/index/subject-list");
         } catch (Exception $e) {
             // 				Application_Form_FrmMessage::message("INSERT_FAIL");
             // 				$err =$e->getMessage();
             // 				Application_Model_DbTable_DbUserLog::writeMessageError($err);
         }
     }
     // 		$frm = new Loan_Form_FrmLoan();
     // 		$frm_loan=$frm->FrmAddLoan();
     // 		Application_Model_Decorator::removeAllDecorator($frm_loan);
     // 		$this->view->frm_loan = $frm_loan;
     $frm = new Tellerandexchange_Form_Frmteller();
     $frm_teller = $frm->FrmTeller();
     Application_Model_Decorator::removeAllDecorator($frm_teller);
     $this->view->frmteller = $frm_teller;
     $list = new Application_Form_Frmtable();
     $collumns = array("ឈ្មោះមន្ត្រីឥណទាន", "ថ្ងៃបង់ប្រាក់", "ប្រាក់ត្រូវបង់", "ប្រាក់ដើមត្រូវបង់", "អាត្រាការប្រាក់", "ប្រាក់ផាកពិន័យ", "ប្រាក់បានបង់សរុប", "សមតុល្យ", "កំណត់សម្គាល់");
     $link = array('module' => 'group', 'controller' => 'Client', 'action' => 'edit');
     $this->view->list = $list->getCheckList(0, $collumns, array(), array('client_number' => $link, 'name_kh' => $link, 'name_en' => $link));
 }
开发者ID:samlanh,项目名称:currencyms,代码行数:29,代码来源:TellerController.php


示例14: indexAction

	public function indexAction(){
		try{
			$db = new Payroll_Model_DbTable_DbDepartment();
			if($this->getRequest()->isPost()){
				$search=$this->getRequest()->getPost();
			}
			else{
				$search = array(
						'adv_search' => '',
						'status_search' => -1);
			}
			$rs_rows= $db->getAllStaffDepartment($search);
			$glClass = new Application_Model_GlobalClass();
			$rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
			$list = new Application_Form_Frmtable();
			$collumns = array("DEPARTMENT_KH","DEPARTMENT_EN","DISPLAY_BY","DATE","STATUS","USER");
			$link=array(
					'module'=>'payroll','controller'=>'department','action'=>'edit',
			);
			$this->view->list=$list->getCheckList(0, $collumns,$rs_rows,array('department_kh'=>$link,'department_en'=>$link));
		}catch (Exception $e){
			Application_Form_FrmMessage::message("Application Error");
			echo $e->getMessage();
			Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
		}
		
		$frm = new Payroll_Form_FrmDepartment();
		 $frm_partment=$frm->FrmAddDepartment();
		 Application_Model_Decorator::removeAllDecorator($frm_partment);
		 $this->view->frm_department = $frm_partment;
	}
开发者ID:samlanh,项目名称:lnms,代码行数:31,代码来源:DepartmentController.php


示例15: indexAction

 public function indexAction()
 {
     try {
         if ($this->getRequest()->isPost()) {
             $_data = $this->getRequest()->getPost();
             $search = array('title' => $_data['title'], 'status' => $_data['status_search']);
         } else {
             $search = array('title' => '', 'status' => -1);
         }
         $db = new Other_Model_DbTable_DbProvince();
         $rs_rows = $db->getAllProvince($search);
         $glClass = new Application_Model_GlobalClass();
         $rs = $glClass->getImgActive($rs_rows, BASE_URL, true, null, 1);
         $list = new Application_Form_Frmtable();
         $collumns = array("EN_PROVINCE", "KH_PROVINCE", "DISPLAY_BY", "MODIFY_DATE", "STATUS", "BY_USER");
         $link = array('module' => 'other', 'controller' => 'province', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs, array('province_kh_name' => $link, 'province_en_name' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $frm = new Other_Form_FrmSearch();
     $frm = $frm->searchProvinnce();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_search = $frm;
 }
开发者ID:samlanh,项目名称:lynacr,代码行数:26,代码来源:ProvinceController.php


示例16: indexAction

	public function indexAction(){
		try{
			$db = new Other_Model_DbTable_DbZone();
			if($this->getRequest()->isPost()){
				$search=$this->getRequest()->getPost();
			}
			else{
				$search = array(
						'adv_search' => '',
						'search_status' => -1);
			}
			$rs_rows= $db->getAllZoneArea($search);
			$list = new Application_Form_Frmtable();
			$collumns = array("ZONE_NAME","ZONE_NUMBER","DATE","STATUS","BY");
			$link=array(
					'module'=>'other','controller'=>'zone','action'=>'edit',
			);
			$this->view->list=$list->getCheckList(0, $collumns, $rs_rows,array('zone_name'=>$link,'zone_num'=>$link));
		}catch (Exception $e){
			Application_Form_FrmMessage::message("Application Error");
			Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
		}
			$frm = new Other_Form_FrmZone();
   			$frm_co=$frm->FrmAddZone();
   			Application_Model_Decorator::removeAllDecorator($frm_co);
   			$this->view->frm_zone = $frm_co;
   			$this->view->result = $search;
	}
开发者ID:samlanh,项目名称:lnms,代码行数:28,代码来源:ZoneController.php


示例17: indexAction

 public function indexAction()
 {
     try {
         if ($this->getRequest()->isPost()) {
             $_data = $this->getRequest()->getPost();
             $search = array('title' => $_data['title'], 'txtsearch' => $_data['title'], 'status' => $_data['status_search'], 'type' => $_data['type']);
         } else {
             $search = '';
         }
         $db = new Accounting_Model_DbTable_DbServiceType();
         $rs_rows = $db->getAllServicesType($search);
         $list = new Application_Form_Frmtable();
         if (!empty($rs_rows)) {
             $glClass = new Application_Model_GlobalClass();
             $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true, 1);
         } else {
             $result = Application_Model_DbTable_DbGlobal::getResultWarning();
         }
         $collumns = array("PROGRAM_TITLE", "DISCRIPTION", "TYPE", "STATUS", "MODIFY_DATE", "BY_USER");
         $link = array('module' => 'accounting', 'controller' => 'services', 'action' => 'edit-service-type');
         $this->view->list = $list->getCheckList(1, $collumns, $rs_rows, array('cate_name' => $link, 'title' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("APPLICATION_ERROR");
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $frm = new Application_Form_FrmOther();
     $this->view->add_major = $frm->FrmAddMajor(null);
     $frm = new Global_Form_FrmSearchMajor();
     $frm = $frm->frmServiceType();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_search = $frm;
 }
开发者ID:Bornpagna,项目名称:guesehouse,代码行数:32,代码来源:ServicesController.php


示例18: indexAction

 public function indexAction()
 {
     try {
         $db_dept = new Global_Model_DbTable_DbScholarship();
         if ($this->getRequest()->isPost()) {
             $_data = $this->getRequest()->getPost();
             $search = array('title' => $_data['title'], 'note' => $_data['note'], 'type' => $_data['type'], 'status' => $_data['status_search']);
         } else {
             $search = array('title' => '', 'note' => '', 'type' => '', 'status' => -1);
         }
         $db = new Global_Model_DbTable_DbScholarship();
         $rs_rows = $db->getAllScholarship();
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
         $list = new Application_Form_Frmtable();
         $collumns = array("TITLE", "NOTE", "TYPE", "CREATE_DATE", "STATUS", "BY_USER");
         $link = array('module' => 'global', 'controller' => 'scholarship', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('title' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $frm = new Global_Form_FrmSearchMajor();
     $frms = $frm->FrmsearchScholarship();
     Application_Model_Decorator::removeAllDecorator($frms);
     $this->view->frm_search = $frms;
 }
开发者ID:Bornpagna,项目名称:guesehouse,代码行数:27,代码来源:ScholarshipController.php


示例19: indexAction

 public function indexAction()
 {
     try {
         $db = new Group_Model_DbTable_DbChangeCollteral();
         if ($this->getRequest()->isPost()) {
             $search = $this->getRequest()->getPost();
         } else {
             $search = array('adv_search' => '', 'status_search' => -1);
         }
         //print_r($search);exit();
         $rs_rows = $db->getAllChangeCollteral($search);
         //call frome model
         $glClass = new Application_Model_GlobalClass();
         $rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
         $list = new Application_Form_Frmtable();
         $collumns = array("BRANCH", "OWNER_CODE", "OWNER_NAME", "FROM", "TO", "COLLTERAL_TYPE", "NUMBER_CODE", "OWNER", "DATE", "NOTE", "STATUS", "USER_ID");
         $link = array('module' => 'callecterall', 'controller' => 'chengcallecterall', 'action' => 'edit');
         // 			print_r($rs_rows);exit();
         $this->view->list = $list->getCheckList(0, $collumns, $rs_rows, array('branch_id' => $link, 'owner_code_id' => $link, 'owner_id' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         echo $e->getMessage();
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
     $fm = new Group_Form_Frmchangecollteral();
     $frm = $fm->FrmChangeCollteral();
     Application_Model_Decorator::removeAllDecorator($frm);
     $this->view->frm_changeCollteral = $frm;
 }
开发者ID:samlanh,项目名称:lnms,代码行数:29,代码来源:ChengcallecterallController.php


示例20: indexAction

	public function indexAction(){
		try{
			$db = new Loan_Model_DbTable_DbLoanIL();
			if($this->getRequest()->isPost()){
				$search=$this->getRequest()->getPost();
			}
			else{
				$search = array(
						'client_id' => -1,
						'status' => -1,
						'from_date' =>date('Y-m-d'),
						'to_date' => date('Y-m-d'),
						 );
			}
			$rs_rows= $db->getAllIndividuleLoan($search);
			$glClass = new Application_Model_GlobalClass();
			$rs_rows = $glClass->getImgActive($rs_rows, BASE_URL, true);
			$list = new Application_Form_Frmtable();
			$collumns = array("CLIENT_EN","CLIENT_KH","RELEASE_AMOUNT","INTEREST_RATE","METHOD","TIME_COLLECTION","ZONE","CO",
				"By","status");
			$link=array(
					'module'=>'group','controller'=>'Client','action'=>'edit',
			);
			$this->view->list=$list->getCheckList(0, $collumns, $rs_rows,array('client_number'=>$link,'name_kh'=>$link,'name_en'=>$link));
		}catch (Exception $e){
			Application_Form_FrmMessage::message("Application Error");
			echo $e->getMessage();
			Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
		}	
		$frm = new Application_Form_FrmAdvanceSearch();
		$frm = $frm->AdvanceSearch();
		Application_Model_Decorator::removeAllDecorator($frm);
		$this->view->frm_search = $frm;
  }
开发者ID:samlanh,项目名称:lnms,代码行数:34,代码来源:IndexController.php



注:本文中的Application_Form_Frmtable类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Application_Model_DbTable_DbGlobal类代码示例发布时间:2022-05-23
下一篇:
PHP Application_Form_FrmMessage类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap