_readFile example


    private static function _getFile($locale$path$attribute = false, $value = false, $temp = [])
    {
        $result = self::_findRoute($locale$path$attribute$value$temp);
        if ($result) {
            $temp = self::_readFile($locale$path$attribute$value$temp);
        }

        // parse required locales reversive         // example: when given zh_Hans_CN         // 1. -> zh_Hans_CN         // 2. -> zh_Hans         // 3. -> zh         // 4. -> root         if (($locale != 'root') && ($result)) {
            $locale = substr($locale, 0, -strlen(strrchr($locale, '_')));
            if (!empty($locale)) {
                
Home | Imprint | This part of the site doesn't use cookies.