JURI - отличие $base от $root - Joomla! Forum - community, help and support


Привет всем.
Озадачился таким вопросом.
В классе juri есть два свойства:

code: select all


    
/**
     * @var    array  the current calculated base url segments.
     * @since  11.1
     */
    protected static $base = array();

    /**
     * @var    array  the current calculated root url segments.
     * @since  11.1
     */
    protected static $root = array();


И соответствующих два метода.

code: select all

    public static function base($pathonly = false){}
    public static function root($pathonly = false, $path = null){}


Выглядят как просто дублирующие друг друга. Зачем? Чем они отличаются в реальности? Что из этого рекомендовано использовать "в повседневной жизни"?






Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached