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


PHP fs_extension::delete方法代码示例

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


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

示例1: share_extensions

 public function share_extensions()
 {
     $extensiones = array(array('name' => 'ordencarga_datepicker_es_js', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<script type="text/javascript" src="' . FS_PATH . 'plugins/distribucion/view/js/locale/datepicker-es.js"></script>', 'params' => ''), array('name' => 'ordencarga_jqueryui_js', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<script type="text/javascript" src="' . FS_PATH . 'plugins/distribucion/view/js/jquery-ui.min.js"></script>', 'params' => ''), array('name' => 'ordencarga_jqueryui_css1', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<link rel="stylesheet" href="' . FS_PATH . 'plugins/distribucion/view/css/jquery-ui.min.css"/>', 'params' => ''), array('name' => 'ordencarga_jqueryui_css2', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<link rel="stylesheet" href="' . FS_PATH . 'plugins/distribucion/view/css/jquery-ui.structure.min.css"/>', 'params' => ''), array('name' => 'ordencarga_jqueryui_css3', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<link rel="stylesheet" href="' . FS_PATH . 'plugins/distribucion/view/css/jquery-ui.theme.min.css"/>', 'params' => ''), array('name' => 'distribucion_css4', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<link rel="stylesheet" href="' . FS_PATH . 'plugins/distribucion/view/css/distribucion.css"/>', 'params' => ''), array('name' => 'distribucion_css5', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<link rel="stylesheet" type="text/css" media="screen" href="' . FS_PATH . 'plugins/distribucion/view/css/ui.jqgrid-bootstrap.css"/>', 'params' => ''), array('name' => 'distribucion_css6', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<script src="' . FS_PATH . 'plugins/distribucion/view/js/locale/grid.locale-es.js" type="text/javascript"></script>', 'params' => ''), array('name' => 'distribucion_css7', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<script src="' . FS_PATH . 'plugins/distribucion/view/js/plugins/jquery.jqGrid.min.js" type="text/javascript"></script>', 'params' => ''), array('name' => 'distribucion_js9', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<script src="' . FS_PATH . 'plugins/distribucion/view/js/bootstrap-select.min.js" type="text/javascript"></script>', 'params' => ''), array('name' => 'distribucion_js10', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<script src="' . FS_PATH . 'plugins/distribucion/view/js/locale/defaults-es_CL.min.js" type="text/javascript"></script>', 'params' => ''), array('name' => 'distribucion_css11', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<link rel="stylesheet" type="text/css" media="screen" href="' . FS_PATH . 'plugins/distribucion/view/css/bootstrap-select.min.css"/>', 'params' => ''), array('name' => 'distribucion_js12', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<script src="' . FS_PATH . 'plugins/distribucion/view/js/bootbox.min.js" type="text/javascript"></script>', 'params' => ''), array('name' => 'distribucion_js13', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<script src="' . FS_PATH . 'plugins/distribucion/view/js/plugins/validator.min.js" type="text/javascript"></script>', 'params' => ''));
     foreach ($extensiones as $ext) {
         $fsext0 = new fs_extension($ext);
         if (!$fsext0->save()) {
             $this->new_error_msg('Imposible guardar los datos de la extensión ' . $ext['name'] . '.');
         }
     }
     $fext = new fs_extension(array('name' => 'distribucion_css12', 'page_from' => __CLASS__, 'page_to' => 'distrib_creacion', 'type' => 'head', 'text' => '<link rel="stylesheet" type="text/css" media="screen" href="plugins/distribucion/view/font-awesome/css/font-awesome.min.css"/>', 'params' => ''));
     $fext->delete();
 }
开发者ID:joenilson,项目名称:distribucion,代码行数:12,代码来源:distrib_creacion.php

示例2: share_extensions

 private function share_extensions()
 {
     $fsext = new fs_extension();
     $fsext->name = 'opciones_distribucion';
     $fsext->from = 'opciones_distribucion';
     $fsext->to = __CLASS__;
     $fsext->type = 'button';
     $fsext->text = '<span class="glyphicon glyphicon-cog" aria-hidden="true">' . '</span><span class="hidden-xs">&nbsp; Opciones</span>';
     $fsext->delete();
     $extensiones = array(array('name' => 'treeview_admin_distribucion_js', 'page_from' => __CLASS__, 'page_to' => __CLASS__, 'type' => 'head', 'text' => '<script src="' . FS_PATH . 'plugins/distribucion/view/js/bootstrap-treeview.min.js" type="text/javascript"></script>', 'params' => ''), array('name' => 'treeview_admin_distribucion_css', 'page_from' => __CLASS__, 'page_to' => __CLASS__, 'type' => 'head', 'text' => '<link rel="stylesheet" type="text/css" media="screen" href="' . FS_PATH . 'plugins/distribucion/view/css/bootstrap-treeview.min.css"/>', 'params' => ''));
     foreach ($extensiones as $ext) {
         $fsext0 = new fs_extension($ext);
         if (!$fsext0->save()) {
             $this->new_error_msg('Imposible guardar los datos de la extensión ' . $ext['name'] . '.');
         }
     }
 }
开发者ID:joenilson,项目名称:distribucion,代码行数:17,代码来源:admin_distribucion.php


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