當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Province::selectProvince_forproject方法代碼示例

本文整理匯總了PHP中Province::selectProvince_forproject方法的典型用法代碼示例。如果您正苦於以下問題:PHP Province::selectProvince_forproject方法的具體用法?PHP Province::selectProvince_forproject怎麽用?PHP Province::selectProvince_forproject使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Province的用法示例。


在下文中一共展示了Province::selectProvince_forproject方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: create

 /**
  * Show the form for creating a new resource.
  * GET /project/create
  *
  * @return Response
  */
 public function create()
 {
     $pagetitle = 'Create Project';
     $project_id = Project::selectprojectid();
     $bdo = Project::selectbdo_list();
     $developer = Project::select_developer_forcompany();
     $sub_developer = Project::select_developer_forindiv();
     $gencon = Project::select_gencon_forcompany();
     $sub_gencon = Project::select_gencon_forindiv();
     $proj_mngrdesigner = Project::select_project_managerdesigner_forcompany();
     $sub_proj_mngrdesigner = Project::select_project_managerdesigner_forindiv();
     $architect = Project::select_architect_forcompany();
     $sub_architect = Project::select_architect_forindiv();
     $applicator = Project::select_applicator();
     $sub_applicator = Project::select_sub_applicator();
     $dealersupplier = Project::select_dealersupplier();
     $sub_dealersupplier = Project::select_sub_dealersupplier();
     $recordlist = Project::select_contactandcompany_list();
     $classification = Project::select_projclassification_list();
     $category = Project::select_projcategory_list();
     $stage = Project::select_projstage_list();
     $status = Project::select_projstatus_list();
     $cities = City::selectCity();
     $provinces = Province::selectProvince_forproject();
     return View::make('projects.create', compact('pagetitle', 'project_id', 'bdo', 'developer', 'sub_developer', 'gencon', 'sub_gencon', 'proj_mngrdesigner', 'sub_proj_mngrdesigner', 'architect', 'sub_architect', 'applicator', 'sub_applicator', 'dealersupplier', 'sub_dealersupplier', 'recordlist', 'classification', 'category', 'stage', 'status', 'cities', 'provinces'));
 }
開發者ID:jcyanga28,項目名稱:project-reference,代碼行數:32,代碼來源:ProjectController.php


注:本文中的Province::selectProvince_forproject方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。