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

PHP midcom_show_style函数代码示例

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

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



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

示例1: _show_folders

 /**
  * Show list of the style elements for the currently edited topic component
  *
  * @param string $handler_id Name of the used handler
  * @param mixed &$data Data passed to the show method
  */
 public function _show_folders($handler_id, array &$data)
 {
     midgard_admin_asgard_plugin::asgard_header();
     $data['group'] =& $this->_group;
     midcom_show_style('midcom-admin-user-group-folders');
     midgard_admin_asgard_plugin::asgard_footer();
 }
开发者ID:nemein,项目名称:openpsa,代码行数:13,代码来源:permissions.php


示例2: _show_create

 /**
  * Show list of the style elements for the currently createed topic component
  *
  * @param string $handler_id Name of the used handler
  * @param mixed &$data Data passed to the show method
  */
 public function _show_create($handler_id, array &$data)
 {
     midgard_admin_asgard_plugin::asgard_header();
     $data['person'] =& $this->_person;
     midcom_show_style('midcom-admin-user-person-create');
     midgard_admin_asgard_plugin::asgard_footer();
 }
开发者ID:nemein,项目名称:openpsa,代码行数:13,代码来源:create.php


示例3: _show_edit

 /**
  * Shows the loaded object in editor.
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_edit($handler_id, array &$data)
 {
     midcom_show_style('midgard_admin_asgard_header');
     midcom_show_style('midgard_admin_asgard_middle');
     midcom_show_style('midgard_admin_asgard_object_parameters');
     midcom_show_style('midgard_admin_asgard_footer');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:13,代码来源:parameters.php


示例4: _show_day

 /**
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_day($handler_id, array &$data)
 {
     midcom_show_style('show-day-header');
     foreach ($this->_request_data['events'] as $event) {
         $this->_request_data['event'] = $event;
         midcom_show_style('show-day-item');
     }
     midcom_show_style('show-day-footer');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:14,代码来源:agenda.php


示例5: _show_all

 /**
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_all($handler_id, array &$data)
 {
     midcom_show_style('show-all-header');
     foreach ($this->_request_data['members_interviewed'] as $member) {
         $this->_request_data['person'] = new midcom_db_person($member->person);
         $this->_request_data['datamanager']->autoset_storage($member);
         midcom_show_style('show-all-item');
     }
     midcom_show_style('show-all-footer');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:15,代码来源:report.php


示例6: _show_delete

 /**
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_delete($handler_id, array &$data)
 {
     $this->_request_data['wikipage_view'] = $this->_datamanager->get_content_html();
     // Replace wikiwords
     if (array_key_exists('content', $this->_request_data['wikipage_view'])) {
         $parser = new net_nemein_wiki_parser($this->_page);
         $this->_request_data['wikipage_view']['content'] = $parser->get_markdown($this->_request_data['wikipage_view']['content']);
     }
     midcom_show_style('view-wikipage-delete');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:15,代码来源:delete.php


示例7: _show_today

 /**
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_today($handler_id, array &$data)
 {
     $siteconfig = org_openpsa_core_siteconfig::get_instance();
     $data['calendar_url'] = $siteconfig->get_node_relative_url('org.openpsa.calendar');
     $data['projects_url'] = $siteconfig->get_node_full_url('org.openpsa.projects');
     $data['projects_relative_url'] = $siteconfig->get_node_relative_url('org.openpsa.projects');
     $data['expenses_url'] = $siteconfig->get_node_full_url('org.openpsa.expenses');
     $data['wiki_url'] = $siteconfig->get_node_relative_url('net.nemein.wiki');
     $data_url = midcom::get()->get_host_name() . midcom_core_context::get()->get_key(MIDCOM_CONTEXT_ANCHORPREFIX);
     $data['journal_url'] = $data_url . '/__mfa/org.openpsa.relatedto/journalentry/list/xml/';
     midcom_show_style('show-today');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:17,代码来源:today.php


示例8: get_help

 public static function get_help($data)
 {
     $help_element = null;
     if (!isset($data['object']) || !$data['object']->id) {
         return;
     }
     if (midcom::get('dbfactory')->is_a($data['object'], 'midgard_style')) {
         $help_element = midgard_admin_asgard_objecthelper::get_help_style($data);
     }
     if (midcom::get('dbfactory')->is_a($data['object'], 'midgard_element')) {
         $help_element = midgard_admin_asgard_objecthelper::get_help_element($data);
     }
     if ($help_element) {
         midcom_show_style('midgard_admin_asgard_objecthelper_' . $help_element);
     }
 }
开发者ID:nemein,项目名称:openpsa,代码行数:16,代码来源:objecthelper.php


示例9: _show_list

 /**
  * Show list of the style elements for the currently edited topic component
  *
  * @param string $handler_id Name of the used handler
  * @param mixed &$data Data passed to the show method
  */
 public function _show_list($handler_id, array &$data)
 {
     midgard_admin_asgard_plugin::asgard_header();
     $data['config'] =& $this->_config;
     midcom_show_style('midcom-admin-libs-list-header');
     $data['even'] = false;
     foreach ($this->_libs as $name => $lib) {
         $data['name'] = $name;
         midcom_show_style('midcom-admin-libs-list-item');
         if (!$data['even']) {
             $data['even'] = true;
         } else {
             $data['even'] = false;
         }
     }
     midcom_show_style('midcom-admin-libs-list-footer');
     midgard_admin_asgard_plugin::asgard_footer();
 }
开发者ID:nemein,项目名称:openpsa,代码行数:24,代码来源:list.php


示例10: _show_list

 /**
  * Shows the loaded message.
  */
 public function _show_list($handler_id, array &$data)
 {
     $qb = new org_openpsa_qbpager('org_openpsa_directmarketing_campaign_message_dba', 'campaign_messages');
     $qb->results_per_page = 10;
     $qb->add_order('metadata.created', 'DESC');
     $qb->add_constraint('campaign', '=', $this->_campaign->id);
     $ret = $qb->execute();
     $data['qbpager'] =& $qb;
     midcom_show_style("show-message-list-header");
     if (count($ret) > 0) {
         foreach ($ret as $message) {
             $this->_datamanager->autoset_storage($message);
             $data['message'] =& $message;
             $data['message_array'] = $this->_datamanager->get_content_html();
             $data['message_class'] = org_openpsa_directmarketing_viewer::get_messagetype_css_class($message->orgOpenpsaObtype);
             midcom_show_style('show-message-list-item');
         }
     }
     midcom_show_style("show-message-list-footer");
 }
开发者ID:nemein,项目名称:openpsa,代码行数:23,代码来源:list.php


示例11: _show_order

 /**
  * Show the sorting
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_order($handler_id, array &$data)
 {
     $data['navorder'] = $this->_topic->get_parameter('midcom.helper.nav', 'navorder');
     // Navorder list for the selection
     $data['navorder_list'] = array(MIDCOM_NAVORDER_DEFAULT => midcom::get('i18n')->get_string('default sort order', 'midcom.admin.folder'), MIDCOM_NAVORDER_TOPICSFIRST => midcom::get('i18n')->get_string('folders first', 'midcom.admin.folder'), MIDCOM_NAVORDER_ARTICLESFIRST => midcom::get('i18n')->get_string('pages first', 'midcom.admin.folder'), MIDCOM_NAVORDER_SCORE => midcom::get('i18n')->get_string('by score', 'midcom.admin.folder'));
     if (!isset($_GET['ajax'])) {
         midcom_show_style('midcom-admin-folder-order-start');
     }
     $data['navigation'] = $this->_get_navigation_data();
     // Loop through each navigation type (node, leaf and mixed)
     foreach ($data['navigation'] as $key => $array) {
         $data['navigation_type'] = $key;
         $data['navigation_items'] = $array;
         midcom_show_style('midcom-admin-folder-order-type');
     }
     if (!isset($_GET['ajax'])) {
         midcom_show_style('midcom-admin-folder-order-end');
     }
 }
开发者ID:nemein,项目名称:openpsa,代码行数:25,代码来源:order.php


示例12: _show_list

 /**
  * Displays the archive.
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_list($handler_id, array &$data)
 {
     // FIXME: For some reason the config topic is lost between _handle and _show phases
     $this->_config->store_from_object($this->_topic, $this->_component);
     midcom_show_style('archive-list-start');
     if ($this->_articles) {
         $data['index_fulltext'] = $this->_config->get('index_fulltext');
         if ($this->_config->get('comments_enable')) {
             midcom::get('componentloader')->load_graceful('net.nehmer.comments');
             $data['comments_enable'] = true;
         }
         $total_count = count($this->_articles);
         $prefix = midcom_core_context::get()->get_key(MIDCOM_CONTEXT_ANCHORPREFIX);
         foreach ($this->_articles as $article_counter => $article) {
             if (!$this->_datamanager->autoset_storage($article)) {
                 debug_add("The datamanager for article {$article->id} could not be initialized, skipping it.");
                 debug_print_r('Object was:', $article);
                 continue;
             }
             $data['article'] =& $article;
             $data['article_counter'] = $article_counter;
             $data['article_count'] = $total_count;
             $arg = $article->name ? $article->name : $article->guid;
             if ($this->_config->get('view_in_url')) {
                 $data['local_view_url'] = "{$prefix}view/{$arg}/";
             } else {
                 $data['local_view_url'] = "{$prefix}{$arg}/";
             }
             if ($this->_config->get('link_to_external_url') && !empty($article->url)) {
                 $data['view_url'] = $article->url;
             } else {
                 $data['view_url'] = $data['local_view_url'];
             }
             if ($article->topic === $this->_content_topic->id) {
                 $data['linked'] = false;
             } else {
                 $data['linked'] = true;
                 $nap = new midcom_helper_nav();
                 $data['node'] = $nap->get_node($article->topic);
             }
             midcom_show_style('archive-list-item');
         }
     } else {
         midcom_show_style('archive-list-empty');
     }
     midcom_show_style('archive-list-end');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:53,代码来源:archive.php


示例13: _show_edit

 /**
  * Shows the loaded product.
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_edit($handler_id, array &$data)
 {
     $this->_request_data['view_group'] = $this->_request_data['controller']->datamanager->get_content_html();
     midcom_show_style('product_group_edit');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:11,代码来源:edit.php


示例14: _show_pdf

 /**
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_pdf($handler_id, array &$data)
 {
     // if attachment was manually uploaded show confirm if file should be replaced
     midcom_show_style('show-confirm');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:10,代码来源:pdf.php


示例15: _show_read

 /**
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_read($handler_id, array &$data)
 {
     $data['datamanager'] =& $this->_datamanager;
     $data['task_bookings'] = $this->_list_bookings();
     midcom_show_style('show-task');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:11,代码来源:crud.php


示例16: _show_rsd

 /**
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_rsd($handler_id, array &$data)
 {
     $data['content_topic'] = $this->_content_topic;
     midcom_show_style('rsd');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:10,代码来源:metaweblog.php


示例17: sprintf

        echo sprintf($l10n->get('unsubscribed since %s'), strftime('%x %H:%M', $report['receipt_data']['first_send']));
        ?>
</th>
    <?php 
    }
    ?>
        <td class="numeric"><?php 
    echo round($report['campaign_data']['unsubscribed'], 2);
    ?>
</td>
    </tr>
</table>
<?php 
    if (count($report['link_data']['counts']) > 0) {
        echo "\n<h3>" . $l10n->get('link statistics') . "</h3>\n";
        midcom_show_style('show-message-report-links-header');
        $data['use_link_data'] =& $report['link_data'];
        $data['body_class'] = 'all';
        midcom_show_style('show-message-report-links-body');
        if (isset($report['link_data']['segments']) && is_array($report['link_data']['segments'])) {
            foreach ($report['link_data']['segments'] as $segment => $segment_data) {
                unset($data['use_link_data']);
                $data['use_link_data'] =& $segment_data;
                $data['body_class'] = 'segment';
                $data['body_title'] = sprintf($l10n->get('segment "%s" link statistics'), $segment);
                midcom_show_style('show-message-report-links-body');
            }
        }
        midcom_show_style('show-message-report-links-footer');
    }
}
开发者ID:nemein,项目名称:openpsa,代码行数:31,代码来源:show-message-report.php


示例18: _show_interview

 /**
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_interview($handler_id, array &$data)
 {
     $this->_request_data['person'] = new midcom_db_person($this->_member->person);
     midcom_show_style('show-interview');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:10,代码来源:interview.php


示例19: _show_fetch

 /**
  *
  * @param mixed $handler_id The ID of the handler.
  * @param array &$data The local request data.
  */
 public function _show_fetch($handler_id, array &$data)
 {
     midcom_show_style('net-nemein-rss-feed-fetch');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:9,代码来源:manage.php


示例20: _show_view

 /**
  * Shows the loaded message.
  */
 public function _show_view($handler_id, array &$data)
 {
     $data['view_message'] = $this->_datamanager->get_content_html();
     midcom_show_style('show-message');
 }
开发者ID:nemein,项目名称:openpsa,代码行数:8,代码来源:message.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP mifila函数代码示例发布时间:2022-05-15
下一篇:
PHP mid函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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