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


PHP smartsliderIsFull函數代碼示例

本文整理匯總了PHP中smartsliderIsFull函數的典型用法代碼示例。如果您正苦於以下問題:PHP smartsliderIsFull函數的具體用法?PHP smartsliderIsFull怎麽用?PHP smartsliderIsFull使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


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

示例1: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $group[$this->_group] = 'Posts';
         if (!isset($list[$this->_group])) {
             $list[$this->_group] = array();
         }
         $list[$this->_group][$this->_group . '_posts'] = array('By filter', $this->getPath() . 'posts' . DIRECTORY_SEPARATOR, true, true, true, 'article');
         $custom_posts = get_post_types();
         if (isset($custom_posts['post'])) {
             unset($custom_posts['post']);
         }
         if (isset($custom_posts['nav_menu_item'])) {
             unset($custom_posts['nav_menu_item']);
         }
         if (isset($custom_posts['revision'])) {
             unset($custom_posts['revision']);
         }
         if (isset($custom_posts['attachment'])) {
             unset($custom_posts['attachment']);
         }
         foreach ($custom_posts as $cp) {
             $list[$this->_group][$this->_group . '_customposts__' . $cp] = array('Custom - ' . ucfirst($cp), $this->getPath() . 'customposts' . DIRECTORY_SEPARATOR, true, true, true, 'article');
             if (smartsliderIsFull() && !class_exists('NextendGeneratorPosts_Customposts__' . $cp)) {
                 require_once $this->getPath() . 'customposts' . DIRECTORY_SEPARATOR . 'generator.php';
                 eval('class NextendGeneratorPosts_Customposts__' . $cp . ' extends NextendGeneratorPosts_Customposts{}');
             }
         }
     }
 }
開發者ID:sangikumar,項目名稱:IP,代碼行數:30,代碼來源:posts.php

示例2: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $group[$this->_group] = 'Posts';
         if (!isset($list[$this->_group])) {
             $list[$this->_group] = array();
         }
         $list[$this->_group][$this->_group . '_posts'] = array('By filter', $this->getPath() . 'posts' . DIRECTORY_SEPARATOR, true, true, true, 'article');
     }
 }
開發者ID:macconsultinggroup,項目名稱:WordPress,代碼行數:10,代碼來源:posts.php

示例3: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $group[self::$_group] = 'Twitter';
         if (!isset($list[self::$_group])) {
             $list[self::$_group] = array();
         }
         $configured = is_string(NextendSmartSliderStorage::get(self::$_group));
         $list[self::$_group][self::$_group . '_timeline'] = array(NextendText::_('Timeline'), $this->getPath() . 'twittertimeline' . DIRECTORY_SEPARATOR, $configured, true, true);
     }
 }
開發者ID:sangikumar,項目名稱:IP,代碼行數:11,代碼來源:twitter.php

示例4: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $group[self::$_group] = 'YouTube';
         if (!isset($list[self::$_group])) {
             $list[self::$_group] = array();
         }
         $configured = is_string(NextendSmartSliderStorage::get(self::$_group));
         $list[self::$_group][self::$_group . '_bysearch'] = array('By search', $this->getPath() . 'bysearch' . DIRECTORY_SEPARATOR, $configured, true, true);
         $list[self::$_group][self::$_group . '_byplaylist'] = array('By playlist', $this->getPath() . 'byplaylist' . DIRECTORY_SEPARATOR, $configured, true, true);
     }
 }
開發者ID:sangikumar,項目名稱:IP,代碼行數:12,代碼來源:youtube.php

示例5: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $installed = class_exists('nggGallery', false) || class_exists('C_Component_Registry', false);
         if ($showall || $installed) {
             $group[$this->_group] = 'Nextgen';
             if (!isset($list[$this->_group])) {
                 $list[$this->_group] = array();
             }
             $list[$this->_group][$this->_group . '_gallery'] = array('Nextgen Gallery', $this->getPath() . 'gallery' . DIRECTORY_SEPARATOR, true, true, $installed ? true : 'http://wordpress.org/plugins/nextgen-gallery/', 'image');
         }
     }
 }
開發者ID:AndyHuntDesign,項目名稱:andyhuntdesign,代碼行數:13,代碼來源:nextgengallery.php

示例6: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $group[self::$_group] = 'Instagram';
         if (!isset($list[self::$_group])) {
             $list[self::$_group] = array();
         }
         $configured = is_string(NextendSmartSliderStorage::get(self::$_group));
         $list[self::$_group][self::$_group . '_myfeed'] = array(NextendText::_('My_feed'), $this->getPath() . 'myfeed' . DIRECTORY_SEPARATOR, $configured, true, true);
         $list[self::$_group][self::$_group . '_tagsearch'] = array(NextendText::_('Search_by_tag'), $this->getPath() . 'tagsearch' . DIRECTORY_SEPARATOR, $configured, true, true);
         $list[self::$_group][self::$_group . '_myphotos'] = array(NextendText::_('My_photos'), $this->getPath() . 'myphotos' . DIRECTORY_SEPARATOR, $configured, true, true);
     }
 }
開發者ID:JonathanAJ,項目名稱:Seara-da-Ciencia-UFC,代碼行數:13,代碼來源:instagram.php

示例7: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $group[$this->_group] = 'Joomla content';
         if (!isset($list[$this->_group])) {
             $list[$this->_group] = array();
         }
         $list[$this->_group][$this->_group . '_joomlacontent'] = array(NextendText::_('Contents_by_category'), $this->getPath() . 'joomlacontent' . DIRECTORY_SEPARATOR, true, true, true, 'article');
         if ($showall == false) {
             $list[$this->_group][$this->_group . '_joomlacategory'] = array(NextendText::_('Subcategories_by_category'), $this->getPath() . 'joomlacategory' . DIRECTORY_SEPARATOR, true, true, true, 'article');
         }
     }
 }
開發者ID:pguilford,項目名稱:vcomcc,代碼行數:13,代碼來源:joomlacontent.php

示例8: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $installed = NextendFilesystem::existsFile(JPATH_ADMINISTRATOR . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_jshopping' . DIRECTORY_SEPARATOR . 'jshopping.php');
         if ($showall || $installed) {
             $group[$this->_group] = 'JoomShopping';
             if (!isset($list[$this->_group])) {
                 $list[$this->_group] = array();
             }
             $list[$this->_group][$this->_group . '_products'] = array(NextendText::_('Products'), $this->getPath() . 'products' . DIRECTORY_SEPARATOR, true, true, $installed ? true : 'http://extensions.joomla.org/extensions/e-commerce/shopping-cart/5378', 'product');
         }
     }
 }
開發者ID:pguilford,項目名稱:vcomcc,代碼行數:13,代碼來源:joomshopping.php

示例9: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $installed = NextendFilesystem::existsFolder(JPATH_ADMINISTRATOR . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog');
         if ($showall || $installed) {
             $group[$this->_group] = 'EasyBlog';
             if (!isset($list[$this->_group])) {
                 $list[$this->_group] = array();
             }
             $list[$this->_group][$this->_group . '_posts'] = array(NextendText::_('Posts'), $this->getPath() . 'posts' . DIRECTORY_SEPARATOR, true, true, $installed ? true : 'http://extensions.joomla.org/extensions/authoring-a-content/blog/12630', 'article');
         }
     }
 }
開發者ID:pguilford,項目名稱:vcomcc,代碼行數:13,代碼來源:easyblog.php

示例10: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $installed = NextendFilesystem::existsFolder(JPATH_ADMINISTRATOR . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_flexicontent');
         if ($showall || $installed) {
             $group[$this->_group] = 'FLEXIcontent';
             if (!isset($list[$this->_group])) {
                 $list[$this->_group] = array();
             }
             $list[$this->_group][$this->_group . '_items'] = array(NextendText::_('Items'), $this->getPath() . 'items' . DIRECTORY_SEPARATOR, true, true, $installed ? true : 'http://extensions.joomla.org/extensions/authoring-a-content/content-construction/10667', null);
         }
     }
 }
開發者ID:pguilford,項目名稱:vcomcc,代碼行數:13,代碼來源:flexicontent.php

示例11: generateDynamicThumbs

function generateDynamicThumbs($controller, $path, $group, $type, $title, $configured, $full, $available)
{
    ?>

    <div class="smartslider-dynamic-thumb">
        <div><?php 
    echo $title;
    ?>
</div>
        <img src="<?php 
    echo NextendUri::pathToUri($path);
    ?>
" /><br />
        <?php 
    if ($full && !smartsliderIsFull()) {
        ?>

            <a class="button small g" href="http://www.nextendweb.com/smart-slider/" target="_blank">Get full</a>
        <?php 
    } elseif (!$configured) {
        ?>

            <a class="button small b" href="<?php 
        echo $controller->route('controller=settings&view=sliders_settings&action=' . $group);
        ?>
" target="_blank">Configure</a>
        <?php 
    } elseif ($available !== true) {
        ?>

            <a class="button small" href="<?php 
        echo $available;
        ?>
" target="_blank">Check extension</a>
        <?php 
    } else {
        ?>

            <a class="button small b" href="<?php 
        echo $controller->route('controller=sliders&view=sliders_slider&action=createdynamic&step=2&group=' . $group . '&type=' . $type);
        ?>
">Start</a>
        <?php 
    }
    ?>

    </div>
    <?php 
}
開發者ID:sangikumar,項目名稱:IP,代碼行數:49,代碼來源:createdynamic.php

示例12: onNextendSliderGeneratorList

 function onNextendSliderGeneratorList(&$group, &$list, $showall = false)
 {
     if ($showall || smartsliderIsFull()) {
         $installed = NextendFilesystem::existsFolder(JPATH_ADMINISTRATOR . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_zoo');
         if ($installed) {
             $group[$this->_group] = 'ZOO';
             if (!isset($list[$this->_group])) {
                 $list[$this->_group] = array();
             }
             require_once JPATH_ADMINISTRATOR . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_zoo' . DIRECTORY_SEPARATOR . 'config.php';
             $zoo = App::getInstance('zoo');
             $apps = $zoo->table->application->all(array('order' => 'name'));
             require_once $this->getPath() . 'items' . DIRECTORY_SEPARATOR . 'generator.php';
             foreach ($apps as $app) {
                 foreach ($app->getTypes() as $type) {
                     //Make them class name safe
                     $appid = preg_replace('/[^a-zA-Z0-9_\\x7f-\\xff]*/', '', $app->id);
                     $identifier = preg_replace('/[^a-zA-Z0-9_\\x7f-\\xff]*/', '', $type->identifier);
                     $list[$this->_group][$this->_group . '_items__' . $appid . '___' . $identifier] = array(ucfirst($app->name) . ' (' . ucfirst($type->identifier) . ')', $this->getPath() . 'items' . DIRECTORY_SEPARATOR, true, true, $installed ? true : 'http://extensions.joomla.org/extensions/authoring-a-content/content-construction/12479', null);
                     if (!class_exists('NextendGeneratorZoo_items__' . $appid . '___' . $identifier)) {
                         eval('class NextendGeneratorZoo_items__' . $appid . '___' . $identifier . ' extends NextendGeneratorZoo_Items{}');
                     }
                 }
             }
         } else {
             if ($showall) {
                 $group[$this->_group] = 'ZOO';
                 if (!isset($list[$this->_group])) {
                     $list[$this->_group] = array();
                 }
                 $list[$this->_group][$this->_group . '_items'] = array('Zoo', $this->getPath() . 'items' . DIRECTORY_SEPARATOR, true, true, 'http://extensions.joomla.org/extensions/authoring-a-content/content-construction/12479', null);
             }
         }
         $app = JFactory::getApplication();
         if ($app->isAdmin() && ((NextendRequest::getVar('action') == 'createdynamic' || NextendRequest::getVar('action') == 'generatorsettings') && NextendRequest::getVar('group') == 'zoo' && NextendRequest::getVar('type'))) {
             $class = 'NextendGenerator' . NextendRequest::getVar('type');
             $data = new NextendData();
             $data->set('source', NextendRequest::getVar('type'));
             new $class($data);
         }
     }
 }
開發者ID:pguilford,項目名稱:vcomcc,代碼行數:42,代碼來源:zoo.php

示例13:

global $smartslidercontroller;
$problems = $smartslidercontroller->problems();
if ($problems) {
    ?>
                        <div class="nextend-possibleproblems"><?php 
    echo $problems;
    ?>
</div>
                        <?php 
}
?>
                    </a>
                </div>
                
                <?php 
if (!smartsliderIsFull()) {
    ?>
                <div class="smartslider-button smartslider-getfull">
                    <a class="smartslider-button-link" href="<?php 
    echo $this->route('controller=sliders&view=sliders_full&action=full');
    ?>
">
                        <div></div>
                        <?php 
    echo NextendText::_('Get full');
    ?>
                    </a>
                </div>
                <?php 
}
?>
開發者ID:macconsultinggroup,項目名稱:WordPress,代碼行數:31,代碼來源:headerstart.php

示例14: generateImportThumbs

function generateImportThumbs($controller, $path, $filename, $imagesToUrl, $full = false)
{
    ?>
    <div class="smartslider-import-thumb">
        <img src="<?php 
    echo NextendUri::pathToUri($path);
    ?>
" /><br />
        <?php 
    if (!$full || smartsliderIsFull()) {
        ?>
            <a class="button small b" href="<?php 
        echo $controller->route('controller=sliders&view=sliders_slider&action=importlocal&full=' . ($full ? 1 : 0) . '&slider=' . substr($filename, 0, -4));
        ?>
">Import</a>
        <?php 
    } else {
        ?>
            <a class="button small g" href="http://www.nextendweb.com/smart-slider/" target="_blank">Get full</a>
        <?php 
    }
    ?>
        <?php 
    if (isset($imagesToUrl[$filename])) {
        ?>
         &nbsp;&nbsp;
        <a class="button small" href="<?php 
        echo $imagesToUrl[$filename];
        ?>
" target="_blank">Preview</a>
        <?php 
    }
    ?>
    </div>
    <?php 
}
開發者ID:AndyHuntDesign,項目名稱:andyhuntdesign,代碼行數:36,代碼來源:create.php


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