<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # Class Phalcon\\Mvc\\Url # Class **Phalcon\\Mvc\\Url** *implements*[*Phalcon\\Mvc\\UrlInterface*](#), `Phalcon\Di\InjectionAwareInterface` This components helps in the generation of: URIs, URLs and Paths ``` <pre class="calibre14">``` <?php //Generate a URL appending the URI to the base URI echo $url->get('products/edit/1'); //Generate a URL for a predefined route echo $url->get(array('for' => 'blog-post', 'title' => 'some-cool-stuff', 'year' => '2012')); ``` ``` ### Methods public **setDI** (*unknown* $dependencyInjector) Sets the DependencyInjector container public **getDI** () Returns the DependencyInjector container public **setBaseUri** (*unknown* $baseUri) Sets a prefix for all the URIs to be generated ``` <pre class="calibre14">``` <?php $url->setBaseUri('/invo/'); $url->setBaseUri('/invo/index.php/'); ``` ``` public **setStaticBaseUri** (*unknown* $staticBaseUri) Sets a prefix for all static URLs generated ``` <pre class="calibre14">``` <?php $url->setStaticBaseUri('/invo/'); ``` ``` public **getBaseUri** () Returns the prefix for all the generated urls. By default / public **getStaticBaseUri** () Returns the prefix for all the generated static urls. By default / public **setBasePath** (*unknown* $basePath) Sets a base path for all the generated paths ``` <pre class="calibre14">``` <?php $url->setBasePath('/var/www/htdocs/'); ``` ``` public **getBasePath** () Returns the base path public **get** (\[*unknown* $uri\], \[*unknown* $args\], \[*unknown* $local\], \[*unknown* $baseUri\]) Generates a URL ``` <pre class="calibre14">``` <?php //Generate a URL appending the URI to the base URI echo $url->get('products/edit/1'); //Generate a URL for a predefined route echo $url->get(array('for' => 'blog-post', 'title' => 'some-cool-stuff', 'year' => '2015')); ``` ``` public **getStatic** (\[*unknown* $uri\]) Generates a URL for a static resource ``` <pre class="calibre14">``` <?php // Generate a URL for a static resource echo $url->getStatic("img/logo.png"); // Generate a URL for a static predefined route echo $url->getStatic(array('for' => 'logo-cdn')); ``` ``` public **path** (\[*unknown* $path\]) Generates a local path | - [索引](# "總目錄") - [下一頁](# "Class Phalcon\Mvc\Url\Exception") | - [上一頁](# "Class Phalcon\Mvc\Router\Route") | - [API Indice](#) ?
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看