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


PHP org_tubepress_impl_classloader_ClassLoader类代码示例

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


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

示例1: setUp

 public function setUp()
 {
     self::$_mockCache = array();
     $ioc = \Mockery::mock('org_tubepress_api_ioc_IocService');
     $ioc->shouldReceive('get')->zeroOrMoreTimes()->andReturnUsing(function ($className) {
         if (!array_key_exists($className, TubePressUnitTest::$_mockCache)) {
             org_tubepress_impl_classloader_ClassLoader::loadClass($className);
             $mock = \Mockery::mock($className);
             TubePressUnitTest::$_mockCache[$className] = $mock;
             if (!is_a($mock, $className)) {
                 TubePressUnitTest::fail("Failed to built mock of {$className}");
             }
         }
         return TubePressUnitTest::$_mockCache[$className];
     });
     org_tubepress_impl_ioc_IocContainer::setInstance($ioc);
 }
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:17,代码来源:TubePressUnitTest.php

示例2: getInstance

 /**
  * Get the singleton inversion of control container.
  *
  * @return org_tubepress_api_ioc_IocService The singleton IOC container.
  */
 public static function getInstance()
 {
     /* see if we already built one */
     if (isset(self::$_instance)) {
         return self::$_instance;
     }
     $detector = new org_tubepress_impl_environment_SimpleEnvironmentDetector();
     if ($detector->isPro()) {
         if ($detector->isWordPress()) {
             org_tubepress_impl_classloader_ClassLoader::loadClass('org_tubepress_impl_ioc_ProInWordPressIocService');
             self::$_instance = new org_tubepress_impl_ioc_ProInWordPressIocService();
         } else {
             org_tubepress_impl_classloader_ClassLoader::loadClass('org_tubepress_impl_ioc_ProIocService');
             self::$_instance = new org_tubepress_impl_ioc_ProIocService();
         }
     } else {
         org_tubepress_impl_classloader_ClassLoader::loadClass('org_tubepress_impl_ioc_FreeWordPressPluginIocService');
         self::$_instance = new org_tubepress_impl_ioc_FreeWordPressPluginIocService();
     }
     return self::$_instance;
 }
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:26,代码来源:IocContainer.class.php

示例3: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_const_options_names_Advanced', 'org_tubepress_api_const_options_names_Display', 'org_tubepress_api_const_options_names_Embedded', 'org_tubepress_api_const_options_names_Feed', 'org_tubepress_api_const_options_names_Meta', 'org_tubepress_api_const_options_names_Output', 'org_tubepress_api_const_options_values_ModeValue', 'org_tubepress_api_patterns_cor_Command', 'org_tubepress_api_provider_Provider', 'org_tubepress_api_url_Url', 'org_tubepress_api_exec_ExecutionContext'));
/**
 * Base URL builder functionality.
 */
abstract class org_tubepress_impl_url_commands_AbstractUrlBuilderCommand implements org_tubepress_api_patterns_cor_Command
{
    /**
     * Execute the command.
     *
     * @param array $context An array of context elements (may be empty).
     *
     * @return boolean True if this command was able to handle the execution. False otherwise.
     */
    public function execute($context)
    {
        if ($context->providerName !== $this->getHandledProviderName()) {
开发者ID:Ashleyotero,项目名称:oldest-old,代码行数:31,代码来源:AbstractUrlBuilderCommand.class.php

示例4: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../../../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_http_HttpRequestParameterService', 'org_tubepress_spi_options_ui_Field', 'org_tubepress_impl_options_ui_fields_AbstractField'));
/**
 * Displays a multi-select drop-down input.
 */
abstract class org_tubepress_impl_options_ui_fields_AbstractMultiSelectField extends org_tubepress_impl_options_ui_fields_AbstractField
{
    const TEMPLATE_VAR_DESCRIPTORS = 'org_tubepress_impl_options_ui_fields_AbstractMultiSelectField__descriptors';
    const TEMPLATE_VAR_CURRENTVALUES = 'org_tubepress_impl_options_ui_fields_AbstractMultiSelectField__currentValues';
    /** Array of option descriptors. */
    private $_optionDescriptors;
    /** Name. */
    private $_name;
    public function __construct($optionDescriptors, $name, $description = '')
    {
        parent::__construct();
        if (!is_array($optionDescriptors)) {
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:31,代码来源:AbstractMultiSelectField.class.php

示例5: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_const_http_ParamName', 'org_tubepress_api_html_HeadHtmlGenerator', 'org_tubepress_api_http_HttpRequestParameterService', 'org_tubepress_impl_ioc_IocContainer'));
/**
 * Generates HTML for use in the <head>.
 */
class org_tubepress_impl_html_DefaultHeadHtmlGenerator implements org_tubepress_api_html_HeadHtmlGenerator
{
    private $_tubepressBaseUrl;
    public function __construct()
    {
        global $tubepress_base_url;
        $this->_tubepressBaseUrl = $tubepress_base_url;
    }
    public function getHeadJqueryInclusion()
    {
        $url = $this->_tubepressBaseUrl;
        return "<script type=\"text/javascript\" src=\"{$url}/sys/ui/static/js/jquery-1.7.1.min.js\"></script>";
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:31,代码来源:DefaultHeadHtmlGenerator.class.php

示例6: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../../../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_const_js_TubePressGalleryInitInit', 'org_tubepress_api_const_options_names_Thumbs', 'org_tubepress_api_const_options_names_Embedded', 'org_tubepress_api_exec_ExecutionContext', 'org_tubepress_api_filesystem_Explorer', 'org_tubepress_api_theme_ThemeHandler', 'org_tubepress_impl_log_Log'));
/**
 * Sets some base parameters to send to TubePressGallery.init().
 */
class org_tubepress_impl_plugin_filters_galleryinitjs_GalleryInitJsBaseParams
{
    private static $_logPrefix = 'Base Init Params Filter';
    /**
     * Modify the name-value pairs sent to TubePressGallery.init().
     *
     * @param array $args An associative array (name => value) of args to send to TubePressGallery.init();
     *
     * @return array The (possibly modified) array. Never null.
     *
     */
    public function alter_galleryInitJavaScript($args)
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:31,代码来源:GalleryInitJsBaseParams.class.php

示例7: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../../impl/classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_video_Video'));
/**
 * A TubePress "player", such as lightWindow, GreyBox, popup window, etc
 */
interface org_tubepress_api_player_PlayerHtmlGenerator
{
    const _ = 'org_tubepress_api_player_PlayerHtmlGenerator';
    /**
     * Get's the HTML for the TubePress "player"
     *
     * @param org_tubepress_api_video_Video $vid The video to display in the player.
     *
     * @throws Exception If something goes wrong.
     *
     * @return string The HTML for this player with the given video.
     */
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:31,代码来源:PlayerHtmlGenerator.class.php

示例8: execute

 *
 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_const_options_names_Display', 'org_tubepress_api_const_options_names_Output', 'org_tubepress_api_const_options_values_PlayerValue', 'org_tubepress_api_patterns_cor_Chain', 'org_tubepress_api_patterns_cor_Command', 'org_tubepress_impl_shortcode_commands_SingleVideoCommand', 'org_tubepress_impl_ioc_IocContainer', 'org_tubepress_impl_log_Log'));
/**
 * HTML-generation command that implements the "solo" player command.
 */
class org_tubepress_impl_shortcode_commands_SoloPlayerCommand implements org_tubepress_api_patterns_cor_Command
{
    const LOG_PREFIX = 'Solo Player Command';
    /**
     * Execute the command.
     *
     * @param array $context An array of context elements (may be empty).
     *
     * @return boolean True if this command was able to handle the execution. False otherwise.
     */
    public function execute($context)
    {
开发者ID:Ashleyotero,项目名称:oldest-old,代码行数:31,代码来源:SoloPlayerCommand.class.php

示例9: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_spi_patterns_cor_Command', 'org_tubepress_api_const_plugin_FilterPoint', 'org_tubepress_api_url_Url', 'org_tubepress_api_video_Video', 'org_tubepress_impl_factory_commands_AbstractFactoryCommand'));
/**
 * Video factory for YouTube
 */
class org_tubepress_impl_factory_commands_YouTubeFactoryCommand extends org_tubepress_impl_factory_commands_AbstractFactoryCommand
{
    /* shorthands for the namespaces */
    const NS_APP = 'http://www.w3.org/2007/app';
    const NS_ATOM = 'http://www.w3.org/2005/Atom';
    const NS_MEDIA = 'http://search.yahoo.com/mrss/';
    const NS_YT = 'http://gdata.youtube.com/schemas/2007';
    const NS_GD = 'http://schemas.google.com/g/2005';
    const LOG_PREFIX = 'YouTube Video Factory';
    private $_xpath;
    protected function _canHandleFeed($feed)
    {
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:31,代码来源:YouTubeFactoryCommand.class.php

示例10: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_const_plugin_FilterPoint', 'org_tubepress_api_embedded_EmbeddedHtmlGenerator', 'org_tubepress_api_patterns_cor_Chain', 'org_tubepress_api_plugin_PluginManager', 'org_tubepress_api_provider_ProviderCalculator', 'org_tubepress_impl_ioc_IocContainer'));
/**
 * An HTML-embeddable video player.
 */
class org_tubepress_impl_embedded_EmbeddedPlayerChain implements org_tubepress_api_embedded_EmbeddedHtmlGenerator
{
    /**
     * Spits back the HTML for this embedded player
     *
     * @param string $videoId The video ID to display
     *
     * @return string The HTML for this embedded player
     */
    public function getHtml($videoId)
    {
        $ioc = org_tubepress_impl_ioc_IocContainer::getInstance();
开发者ID:Ashleyotero,项目名称:oldest-old,代码行数:31,代码来源:EmbeddedPlayerChain.class.php

示例11: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../../../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_const_js_TubePressGalleryInit', 'org_tubepress_api_const_options_names_Advanced', 'org_tubepress_api_const_options_names_Display', 'org_tubepress_api_const_options_names_Embedded', 'org_tubepress_api_provider_ProviderResult', 'org_tubepress_api_theme_ThemeHandler', 'org_tubepress_impl_log_Log'));
/**
 * Injects Ajax pagination code into the gallery's HTML.
 */
class org_tubepress_impl_plugin_filters_galleryhtml_GalleryJs
{
    private static $_logPrefix = 'Gallery JS Filter';
    /**
     * Filters the HTML for the gallery.
     *
     * @param string $html      The gallery HTML.
     * @param string $galleryId The current gallery ID
     *
     * @return string The modified HTML
     */
    public function alter_galleryHtml($html, org_tubepress_api_provider_ProviderResult $providerResult, $page, $providerName)
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:31,代码来源:GalleryJs.class.php

示例12: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_bootstrap_Bootstrapper', 'org_tubepress_api_exec_ExecutionContext', 'org_tubepress_api_const_options_names_Advanced', 'org_tubepress_api_const_options_names_GallerySource', 'org_tubepress_api_const_plugin_EventName', 'org_tubepress_api_const_plugin_FilterPoint', 'org_tubepress_api_environment_Detector', 'org_tubepress_api_filesystem_Explorer', 'org_tubepress_api_ioc_IocService', 'org_tubepress_api_options_StorageManager', 'org_tubepress_api_plugin_PluginManager', 'org_tubepress_api_theme_ThemeHandler', 'org_tubepress_impl_ioc_IocContainer', 'org_tubepress_impl_log_Log', 'TubePress'));
/**
 * Performs TubePress-wide initialization.
 */
class org_tubepress_impl_bootstrap_TubePressBootstrapper implements org_tubepress_api_bootstrap_Bootstrapper
{
    const LOG_PREFIX = 'TubePress Bootstrapper';
    private static $_alreadyBooted = false;
    /**
     * Performs TubePress-wide initialization.
     *
     * @return null
     */
    public function boot()
    {
        /* don't boot twice! */
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:31,代码来源:TubePressBootstrapper.class.php

示例13: class_exists

 * Copyright 2006 - 2012 Eric D. Hough (http://ehough.com)
 *
 * This file is part of TubePress (http://tubepress.org)
 *
 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../../../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_impl_options_ui_fields_AbstractOptionDescriptorBasedField'));
/**
 * Displays a checkbox input.
 */
class org_tubepress_impl_options_ui_fields_BooleanField extends org_tubepress_impl_options_ui_fields_AbstractOptionDescriptorBasedField
{
    const __ = 'org_tubepress_impl_options_ui_fields_BooleanField';
    protected function getTemplatePath()
    {
        return 'sys/ui/templates/options_page/fields/checkbox.tpl.php';
    }
}
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:31,代码来源:BooleanField.class.php

示例14: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_const_plugin_FilterPoint', 'org_tubepress_api_factory_VideoFactory', 'org_tubepress_api_patterns_cor_Chain', 'org_tubepress_api_plugin_PluginManager', 'org_tubepress_impl_ioc_IocContainer'));
/**
 * Video factory that sends the feed to the right video factory based on the provider
 */
class org_tubepress_impl_factory_VideoFactoryChain implements org_tubepress_api_factory_VideoFactory
{
    /**
     * Converts raw video feeds to TubePress videos
     *
     * @param unknown $feed The raw feed result from the video provider
     *
     * @return array an array of TubePress videos generated from the feed
     */
    public function feedToVideoArray($feed)
    {
        try {
开发者ID:Ashleyotero,项目名称:oldest-old,代码行数:31,代码来源:VideoFactoryChain.class.php

示例15: class_exists

 * TubePress is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TubePress is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TubePress.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
class_exists('org_tubepress_impl_classloader_ClassLoader') || (require dirname(__FILE__) . '/../classloader/ClassLoader.class.php');
org_tubepress_impl_classloader_ClassLoader::loadClasses(array('org_tubepress_api_querystring_QueryStringService'));
/**
 * Handles some tasks related to the query string
 */
class org_tubepress_impl_querystring_SimpleQueryStringService implements org_tubepress_api_querystring_QueryStringService
{
    /**
     * Returns what's in the address bar
     *
     * @param array $serverVars The PHP $_SERVER array
     *
     * @return string What's in the address bar
     */
    public function getFullUrl($serverVars)
    {
        $pageURL = 'http';
开发者ID:nidalhajaj,项目名称:tubepress,代码行数:31,代码来源:SimpleQueryStringService.class.php


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