当前位置: 首页>>代码示例>>PHP>>正文


PHP Crud::run方法代码示例

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


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

示例1: page

 public function page()
 {
     //create the model object
     $cal = new Page();
     //send the webclass
     $webClass = __CLASS__;
     //by pass the form
     $cmd = isset($_GET['cmd']) ? addslashes($_GET['cmd']) : 'read';
     if ($cmd == "edit") {
         //Crud::createForm($obj,$webClass);
         //die('edit');
         $id = isset($_GET['id']) ? addslashes($_GET['id']) : 0;
         if ($id) {
             $cal->getByID($id);
         }
         $mps['id'] = $id;
         $mps['obj'] = $cal;
         Mold::plugin("Page", "pageForm", $mps);
         exit;
     }
     $cid = addslashes($_GET['cid']);
     if ($cid != "") {
         $_SESSION['pageConID'] = $cid;
     } else {
         //unset($_SESSION['pageConID']);
     }
     $cal->read_filter_array = array("post_gallery_id" => $_SESSION['pageConID']);
     //echo $cid;
     //pr($cal);
     //run the crud utility
     Crud::run($cal, $webClass);
     //pr($mps);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:elang-combo,代码行数:33,代码来源:Page2ContainerWeb.php

示例2: qRRequestModel

 public function qRRequestModel()
 {
     //create the model object
     $cal = new QRRequestModel();
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:martabak_revolution,代码行数:8,代码来源:QRRequest.php

示例3: masterReceiptModel

 public function masterReceiptModel()
 {
     //create the model object
     $cal = new MasterReceiptModel();
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:martabak_revolution,代码行数:8,代码来源:MasterReceipt.php

示例4: MTranDetail

 function MTranDetail()
 {
     $cal = new MTranDetail();
     //        $cal->printColumlistAsAttributes();
     //send the webclass
     $webClass = __CLASS__;
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:es-teler-baru-suka,代码行数:8,代码来源:Msales.php

示例5: PushLogger

 function PushLogger()
 {
     $cal = new PushLogger();
     //        $cal->printColumlistAsAttributes();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:es-teler-baru-suka,代码行数:9,代码来源:PushNotBE.php

示例6: masterRestaurantTagModel

 public function masterRestaurantTagModel()
 {
     //create the model object
     $cal = new MasterRestaurantTagModel();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utileity
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:martabak_revolution,代码行数:9,代码来源:MasterRestaurantTag.php

示例7: DeviceModel

 function DeviceModel()
 {
     $cal = new DeviceModel();
     //        $cal->printColumlistAsAttributes();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:apel-enak,代码行数:9,代码来源:PushNotCapsBE.php

示例8: QuizIklan

 public function QuizIklan()
 {
     //create the model object
     $cal = new QuizIklan();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:biji_katak,代码行数:9,代码来源:QuizTest.php

示例9: topicmap

 public function topicmap()
 {
     //create the model object
     $gr = new Topicmap();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($gr, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:elang-combo,代码行数:9,代码来源:Adminweb.php

示例10: BlogCategory

 function BlogCategory()
 {
     $cal = new BlogCategory();
     //        $cal->printColumlistAsAttributes();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:biji_katak,代码行数:9,代码来源:BlogBE.php

示例11: CampaignModel

 public function CampaignModel()
 {
     //create the model object
     $cal = new CampaignModel();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:biji_katak,代码行数:9,代码来源:ProdWeb.php

示例12: Testing

 function Testing()
 {
     //create the model object
     $cal = new Testing();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:es-teler-baru-suka,代码行数:9,代码来源:TestingWeb.php

示例13: SocmedPortal

 public function SocmedPortal()
 {
     //create the model object
     $cal = new SocmedPortal();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:apel-enak,代码行数:9,代码来源:Socmed.php

示例14: homesettingModel

 public function homesettingModel()
 {
     //create the model object
     $cal = new HomeSettingModel();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
     //pr($mps);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:martabak_revolution,代码行数:10,代码来源:HomeSetting.php

示例15: masterDishTagModel

 public function masterDishTagModel()
 {
     //create the model object
     $cal = new MasterDishTagModel();
     //send the webclass
     $webClass = __CLASS__;
     //run the crud utility
     Crud::run($cal, $webClass);
     //        pr($mps);
 }
开发者ID:CapsuleCorpIndonesia,项目名称:martabak_revolution,代码行数:10,代码来源:MasterDishTag.php


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