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


PHP get_core_vars函数代码示例

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


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

示例1: __construct

 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     $this->instance = get_instance();
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->load->library('install');
     $this->load->library('file');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     if ($this->instance->db_connected()) {
         $this->load->library('users_global');
         $this->data['options'] = get_meta('all');
         trigger_inits();
         // For Core menu extension, they are called after default menu.
         /**
          * 	Declare Notices : Notices are internal(system) or module/theme alert.
          **/
         set_core_vars('tendoo_notices', trigger_filters('declare_notices', array(get_core_vars('default_notices'))));
         // @since 1.4
     } else {
         $this->users_global = FALSE;
         $this->data['options'] = FALSE;
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:25,代码来源:error.php

示例2: __construct

 public function __construct($data)
 {
     $this->instance = get_instance();
     $this->data =& $data;
     $this->theme = get_core_vars('active_theme_object');
     $this->location = MODULES_DIR . $this->data['currentWidget']['WIDGET_MODULE']['encrypted_dir'];
     if (!class_exists('News_smart')) {
         include_once $this->location . '/library.php';
     }
     $this->news = new News_smart();
     $setting = $this->news->getBlogsterSetting();
     //
     if (!(bool) $this->data['currentWidget']['WIDGET_INFO']['IS_CODE']) {
         $LIMIT = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_PARAMETERS'] == '' ? 5 : $this->data['currentWidget']['WIDGET_INFO']['WIDGET_PARAMETERS'];
     } else {
     }
     //eval($LIMIT)
     $this->data['ttCat'] = $this->news->getCatForWidgets(0, $LIMIT);
     $controller = $this->instance->tendoo->getControllersAttachedToModule($this->data['currentWidget']['WIDGET_MODULE']['namespace']);
     $final_array = array();
     foreach ($this->data['ttCat'] as $t) {
         $final_array[] = array('text' => $t['CATEGORY_NAME'] . ' (' . $t['TOTAL_ARTICLES'] . ')', 'link' => $this->instance->url->site_url(array($controller[0]['PAGE_CNAME'])) . '/categorie/' . $t['URL_TITLE']);
     }
     $widget_title = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_TITLE'];
     // For Each Zone
     if (in_array($this->data['widgets']['requestedZone'], array('LEFT', 'BOTTOM', 'RIGHT'))) {
         $widget_title = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_TITLE'];
         $zone = $this->data['widgets']['requestedZone'];
         // requestedZone
         set_widget(strtolower($zone), $widget_title, $final_array, 'categories');
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:32,代码来源:category_lister.php

示例3: __construct

 public function __construct($data)
 {
     $this->instance = get_instance();
     $this->data =& $data;
     $this->theme = get_core_vars('active_theme_object');
     $this->location = MODULES_DIR . $this->data['currentWidget']['WIDGET_MODULE']['encrypted_dir'];
     if (!class_exists('News_smart')) {
         include_once $this->location . '/library.php';
     }
     // var_dump($this->data['currentWidget']);
     $this->news = new News_smart();
     $setting = $this->news->getBlogsterSetting();
     // var_dump($this->data['currentWidget']['WIDGET_INFO']['WIDGET_PARAMETERS']);
     $LIMIT = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_PARAMETERS'];
     $this->data['mostViewed'] = $this->news->getMostViewed(0, $LIMIT);
     $end = '<ul>';
     $controller = $this->instance->tendoo->getControllersAttachedToModule($this->data['currentWidget']['WIDGET_MODULE']['namespace']);
     // var_dump( $this->data['currentWidget']['WIDGET_MODULE'] );
     // var_dump( $controller );
     foreach ($this->data['mostViewed'] as $t) {
         $end .= '<li><a href="' . $this->instance->url->site_url(array($controller[0]['PAGE_CNAME'])) . '/lecture/' . $t['URL_TITLE'] . '">' . $t['TITLE'] . '</a></li>';
     }
     $end .= '</ul>';
     // For Zones
     if (in_array($this->data['widgets']['requestedZone'], array('LEFT', 'BOTTOM', 'RIGHT'))) {
         $widget_title = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_TITLE'];
         $zone = $this->data['widgets']['requestedZone'];
         // requestedZone
         set_widget(strtolower($zone), $widget_title, $end, 'text');
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:31,代码来源:most_readed_lister.php

示例4: __construct

 public function __construct($data)
 {
     /*
     	Reçois la zone dans laquelle le widget est appellé, voir clé ['widgets']['requestedZone'] : (LEFT, RIGHT, BOTTOM).
     */
     $this->instance = get_instance();
     $this->data = $data;
     $this->theme = get_core_vars('active_theme_object');
     $this->location = MODULES_DIR . $this->data['currentWidget']['WIDGET_MODULE']['encrypted_dir'];
     if (!class_exists('News_smart')) {
         include_once $this->location . '/library.php';
     }
     $this->news = new News_smart();
     // Dans le cas ou aucune limite n'est fixé nous fixon la limite par défaut à 5 commentaires.
     $LIMIT = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_PARAMETERS'] == '' ? 5 : $this->data['currentWidget']['WIDGET_INFO']['WIDGET_PARAMETERS'];
     // Utilisation de la limite fixée
     $this->data['getTotalKeyWords'] = $this->news->getAllPopularKeyWords($LIMIT);
     // Recupération du contrôleur attaché au module.
     $controler = $this->instance->tendoo->getControllersAttachedToModule('blogster');
     $tags = array();
     foreach ($this->data['getTotalKeyWords'] as $gtk) {
         $tags[] = array('link' => $this->instance->url->site_url(array($controler[0]['PAGE_CNAME'], 'tags', $gtk['URL_TITLE'])), 'text' => $gtk['TITLE']);
     }
     if (in_array($this->data['widgets']['requestedZone'], array('LEFT', 'BOTTOM', 'RIGHT'))) {
         $widget_title = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_TITLE'];
         $rZone = $this->data['widgets']['requestedZone'];
         // requestedZone
         set_widget(strtolower($rZone), $widget_title, $tags, 'tags');
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:30,代码来源:tags.php

示例5: index

 public function index()
 {
     set_page('title', $this->data['page'][0]['PAGE_TITLE']);
     set_page('description', $this->data['page'][0]['PAGE_DESCRIPTION']);
     get_core_vars('active_theme_object')->definePageTitle($this->data['page'][0]['PAGE_TITLE']);
     get_core_vars('active_theme_object')->definePageDescription($this->data['page'][0]['PAGE_DESCRIPTION']);
     set_core_vars('module_content', $this->load->view($this->data['module']['uri_path'] . '/views/common_main', $this->data, true, TRUE));
     get_core_vars('active_theme_object')->head($this->data);
     get_core_vars('active_theme_object')->body($this->data);
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:10,代码来源:frontend.php

示例6: __construct

 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->config();
     // --------------------------------------------------------------------
     $this->data = array();
     $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE);
     $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true);
     $this->opened_module = get_core_vars('opened_module');
     $this->opened_module = $this->opened_module;
     $this->lib = new page_library();
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:15,代码来源:backend.php

示例7: __construct

 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->instance = get_instance();
     $this->theme = get_core_vars('active_theme');
     $this->data = array();
     // Inclusion du ficher "library.php".
     if (file_exists(THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php')) {
         include_once THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php';
     }
     $this->output_files();
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:15,代码来源:handler.php

示例8: __construct

 function __construct()
 {
     // Saving Theme Settings
     $active_theme = get_core_vars('active_theme');
     if (riake('namespace', $active_theme)) {
         $settings = get_meta($active_theme['namespace'] . '_theme_settings');
         if ($settings) {
             push_core_vars('active_theme', 'theme_settings', $settings);
         }
     }
     $this->module = get_modules('filter_namespace', 'tim');
     if (is_admin()) {
         $this->menu = new Menu();
         $this->menu = new Menu();
         $this->menu->add_admin_menu_core('themes', array('title' => __('Theme Options'), 'icon' => 'fa fa-columns', 'href' => get_instance()->url->site_url(array('admin', 'open', 'modules', $this->module['namespace']))));
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:17,代码来源:init.php

示例9: __construct

 public function __construct($data)
 {
     $this->instance = get_instance();
     $this->data =& $data;
     $this->theme = get_core_vars('active_theme_object');
     $this->location = MODULES_DIR . $this->data['currentWidget']['WIDGET_MODULE']['encrypted_dir'];
     if (!class_exists('News_smart')) {
         include_once $this->location . '/library.php';
     }
     $this->news = new News_smart();
     $this->data['mostViewed'] = $this->news->getMostViewed(0, 10);
     $end = '<ul>';
     if ($this->instance->users_global->isConnected()) {
         $this->instance->load->library('tendoo_admin');
         if ($this->instance->users_global->isAdmin()) {
             $priv = $this->instance->users_global->current('REF_ROLE_ID');
             if ($this->instance->users_global->isSuperAdmin()) {
                 $end .= '<li><a href="' . $this->instance->url->site_url(array('admin', 'modules')) . '">Liste des modules</a></li>';
                 $end .= '<li><a href="' . $this->instance->url->site_url(array('admin', 'setting')) . '">Param&egrave;tres</a></li>';
                 $end .= '<li><a href="' . $this->instance->url->site_url(array('admin', 'system', 'manage_actions')) . '">Gestion d\'actions</a></li>';
                 $end .= '<li><a href="' . $this->instance->url->site_url(array('admin', 'installer')) . '">Installer une application</a></li>';
             } else {
                 if (!$this->instance->tendoo_admin->is_public_role($priv)) {
                     $end .= '<li><a href="' . $this->instance->url->site_url(array('admin')) . '">Espace administration</a></li>';
                 }
             }
         }
         $end .= '<li><a href="' . $this->instance->url->site_url(array('account')) . '">Mon profil</a></li>';
         $end .= '<li><a href="' . $this->instance->url->site_url(array('account', 'messaging', 'home')) . '">Ma messagerie</a></li>';
     } else {
         $options = get_meta('all');
         if (riake('allow_registration', $options) == '1') {
             $end .= '<li><a href="' . $this->instance->url->site_url(array('registration')) . '">Inscription</a></li>';
         }
         $end .= '<li><a href="' . $this->instance->url->site_url(array('login')) . '">Connexion</a></li>';
     }
     $end .= '</ul>';
     // For Zones
     if (in_array($this->data['widgets']['requestedZone'], array('LEFT', 'BOTTOM', 'RIGHT'))) {
         $widget_title = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_TITLE'];
         $zone = $this->data['widgets']['requestedZone'];
         // requestedZone
         set_widget(strtolower($zone), $widget_title, $end, 'text');
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:45,代码来源:sys_links.php

示例10: index

 public function index()
 {
     $active_theme = get_core_vars('active_theme');
     $setting_key = $active_theme['namespace'] . '_theme_settings';
     $this->load->library('form_validation');
     $this->form_validation->set_rules('api_limit', 'API LIMIT', 'required');
     $this->form_validation->set_rules('declared_apis', 'Declared API', 'required');
     $this->form_validation->set_rules('declared_item', 'Declared Item', 'required');
     // For Static using API
     if ($this->form_validation->run()) {
         if ($active_theme) {
             $datas_get = get_meta($setting_key);
             $saved_settings = $datas_get ? $datas_get : array();
             // If there are same setting already saved, they'll be overwrited
             $saved_settings[$this->input->post('declared_item')] = array('api_limit' => $this->input->post('api_limit'), 'declared_apis' => $this->input->post('declared_apis'), 'declared_item' => $this->input->post('declared_item'));
             if (set_meta($active_theme['namespace'] . '_theme_settings', $saved_settings)) {
                 notice('push', fetch_notice_output('done'));
             }
         }
     }
     // For Static not draggable
     if ($this->input->post('is_static_item')) {
         $this->load->library('form_validation');
         if ($static = return_if_array_key_exists('static', $_POST)) {
             if (is_array($static)) {
                 $active_theme = get_core_vars('active_theme');
                 $saved_settings = get_meta($active_theme['namespace'] . '_theme_settings');
                 foreach ($static as $namespace => $item) {
                     if (is_array($item)) {
                         foreach ($item as $name => $fields) {
                             $saved_settings[$namespace][$name] = $fields;
                         }
                     }
                 }
                 if (set_meta($active_theme['namespace'] . '_theme_settings', $saved_settings)) {
                     notice('push', fetch_notice_output('done'));
                 }
             }
         }
     }
     // Add Settings to Core vars
     push_core_vars('active_theme', 'theme_settings', get_meta($setting_key));
     set_page('title', 'TIM | ' . get('core_version'));
     return $this->load->view($this->module_metas['uri_path'] . 'views/body', $this->data, true, true);
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:45,代码来源:backend.php

示例11: __construct

 public function __construct($data)
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->instance = get_instance();
     $this->data = $data;
     $this->tendoo =& $this->instance->tendoo;
     $this->tendoo_admin =& $this->instance->tendoo_admin;
     $this->users_global =& $this->instance->users_global;
     $module = get_core_vars('opened_module');
     $this->dir = 'tendoo-modules/' . $module['encrypted_dir'];
     if (!is_dir($this->dir . '/content_repository')) {
         mkdir($this->dir . '/content_repository');
     }
     $this->cp_dir = $this->dir . '/content_repository';
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:18,代码来源:library.php

示例12: __construct

    public function __construct($data)
    {
        /*
        	Reçois la zone dans laquelle le widget est appellé, voir clé ['widgets']['requestedZone'] : (LEFT, RIGHT, BOTTOM).
        */
        $this->instance = get_instance();
        $this->data =& $data;
        $this->theme = get_core_vars('active_theme_object');
        $this->location = MODULES_DIR . $this->data['currentWidget']['WIDGET_MODULE']['encrypted_dir'];
        if (!class_exists('News_smart')) {
            include_once $this->location . '/library.php';
        }
        $this->news = new News_smart();
        $setting = $this->news->getBlogsterSetting();
        // Dans le cas ou aucune limite n'est fixé nous fixon la limite par défaut à 5 commentaires.
        $LIMIT = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_PARAMETERS'] == '' ? 5 : $this->data['currentWidget']['WIDGET_INFO']['WIDGET_PARAMETERS'];
        $this->data['comments'] = $this->news->getComments(false, 0, $LIMIT, 'desc');
        $controler = $this->instance->tendoo->getControllersAttachedToModule('news');
        $end = '<ul>';
        foreach ($this->data['comments'] as $c) {
            $user = $this->instance->users_global->getUser($c['AUTEUR']);
            $article = $this->news->getSpeNews($c['REF_ART']);
            if ($article) {
                if ($user) {
                    $end .= '
				<a href="' . $this->instance->url->site_url(array('account', 'profile', $user['PSEUDO'])) . '">' . $user['PSEUDO'] . '</a> dit : 
				"' . word_limiter($c['CONTENT'], 10) . '" dans <a href="' . $this->instance->url->main_url() . 'index.php/' . $controler[0]['PAGE_CNAME'] . '/lecture/' . $article[0]['URL_TITLE'] . '">' . $article[0]['TITLE'] . '</a><br><br>';
                } else {
                    $offlineUser = $c['OFFLINE_AUTEUR'] != '' ? $c['OFFLINE_AUTEUR'] : 'Utilisateur inconnu';
                    $end .= '
				<a href="#">' . $offlineUser . '</a> dit : 
				"' . word_limiter($c['CONTENT'], 10) . '" dans <a href="' . $this->instance->url->main_url() . 'index.php/' . $controler[0]['PAGE_CNAME'] . '/lecture/' . $article[0]['URL_TITLE'] . '">' . $article[0]['TITLE'] . '</a><br><br>';
                }
            }
        }
        $end .= '</ul>';
        if (in_array($this->data['widgets']['requestedZone'], array('LEFT', 'BOTTOM', 'RIGHT'))) {
            $widget_title = $this->data['currentWidget']['WIDGET_INFO']['WIDGET_TITLE'];
            $zone = $this->data['widgets']['requestedZone'];
            // requestedZone
            set_widget(strtolower($zone), $widget_title, $end, 'text');
        }
    }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:43,代码来源:comments.php

示例13: superAdmin

 public function superAdmin()
 {
     // Has Admin ?
     $this->users_global->hasAdmin() === TRUE ? $this->instance->url->redirect(array('login')) : false;
     $this->instance->form_validation->set_rules('super_admin_pseudo', __('Pseudo'), 'trim|required|min_length[5]|max_length[15]');
     $this->instance->form_validation->set_rules('super_admin_password', __('Password'), 'trim|required|min_length[6]|max_length[15]');
     $this->instance->form_validation->set_rules('super_admin_password_confirm', __('Confirm Password'), 'trim|required|min_length[6]|matches[super_admin_password]');
     $this->instance->form_validation->set_rules('super_admin_mail', __('Email'), 'trim|valid_email|required');
     $this->instance->form_validation->set_rules('super_admin_sex', __('Sex selection'), 'trim|required|min_length[3]|max_length[4]');
     if ($this->instance->form_validation->run()) {
         if ($this->instance->users_global->createSuperAdmin($this->instance->input->post('super_admin_pseudo'), $this->instance->input->post('super_admin_password'), $this->instance->input->post('super_admin_sex'), $this->instance->input->post('super_admin_mail'))) {
             $this->instance->url->redirect(array('login?notice=user-has-been-created&ref=' . urlencode($this->instance->url->site_url(array('admin', 'index')))));
         }
         notice('push', fetch_notice_output('super-admin-creation-failed'));
     }
     set_core_vars('pageTitle', __('Create Admin - Tendoo'));
     set_page('title', get_core_vars('pageTitle'));
     set_page('description', __('Create Super Admin - Tendoo'));
     set_core_vars('body', $this->load->view('registration/createSuperAdmin', true));
     $this->load->view('header');
     $this->load->view('global_body');
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:22,代码来源:registration.php

示例14: __construct

 /**
  * 	Its create post type interface quickly. Callable from "init.php" module and theme file.
  **/
 function __construct($config)
 {
     $this->namespace = $this->config['namespace'] = riake('namespace', $config);
     // $this->meta					=	$this->config[ 'meta' ]					=	riake( 'meta' , $config ); Meta are no more white listed. They should be created using a proper form to be saved as meta data.
     $this->label = $this->config['label'] = riake('label', $config, $this->namespace);
     $this->new_post_label = $this->config['new-post-label'] = riake('new-post-label', $config, sprintf(__('Create a new %s'), $this->namespace));
     $this->edit_post_label = $this->config['edit-post-label'] = riake('edit-post-label', $config, sprintf(__('Edit %s'), $this->namespace));
     $this->posts_list_label = $this->config['posts-list-label'] = riake('posts-list-label', $config, sprintf(__('%s list'), $this->namespace));
     $this->delete_post_label = $this->config['delete-post-label'] = riake('delete-post-label', $config, sprintf(__('delete %s'), $this->namespace));
     $this->menu_position = $this->config['menu-position'] = riake('menu-position', $config, array('after', 'dashboard'));
     $this->menu_icon = $this->config['menu-icon'] = riake('menu-icon', $config, 'fa fa-star');
     $this->privilege = $this->config['privilege'] = riake('privilege', $config, 'system@manage_modules');
     $this->displays = $this->config['displays'] = riake('displays', $config, array('title', 'editor', 'publish'));
     $this->comment_enabled = $this->config['comment-enabled'] = riake('comment-enabled', $config, TRUE);
     $this->post_comment_label = $this->config['post-comment-label'] = riake('post-comment-label', $config, __('Comments'));
     $this->comments_list_label = $this->config['comments-list-label'] = riake('comments-list-label', $config, sprintf(__('%s comments'), $this->namespace));
     if (!$this->namespace) {
         return false;
     }
     $this->query = new CustomQuery(array('namespace' => $this->namespace));
     $posttypes = get_core_vars('posttypes');
     $posttypes[$this->namespace] = $this;
     set_core_vars('posttypes', $posttypes);
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:27,代码来源:PostType.Class.php

示例15: get_core_vars

<?php

$page = get_core_vars('page');
?>
<!--start wrapper-->
	<section class="wrapper">
		<section class="page_head">
			<div class="container">
				<div class="row">
					<div class="col-lg-12 col-md-12 col-sm-12">
						<h2><?php 
echo get_page('title');
?>
</h2>
                        <?php 
get_breads();
?>
					</div>
				</div>
			</div>
		</section>

		<section class="content blog">
			<div class="container">
				<div class="row">
					<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
						<div class="blog_medium">
                        	<?php 
if (have_blog_posts() !== false) {
    while ($post = get_blog_posts()) {
        $full_date = $this->instance->date->time($post->timestamp, TRUE);
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:31,代码来源:blog.posts.php


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