Static Public Member Functions |
static | lang ($value= '', $args= '', $format=0) |
| Prints translated string in given format.
|
static | base ($index=FALSE, $protocol=FALSE, $lang=FALSE) |
| Return base url joined with 'index.php' string (if clean urls are off) and lang string.
|
static | site ($uri= '', $lang=FALSE, $protocol=FALSE) |
static | current ($length=0, $offset=0) |
static | previous ($length=0, $offset=0) |
| Returns previous URI without the lang part.
|
static | redirect ($uri= '', $lang=FALSE, $method= '302') |
static | uri ($url) |
| Returns uri from url, without lang segment.
|
Member Function Documentation
static url_lang::base |
( |
|
$index = FALSE , |
|
|
|
$protocol = FALSE , |
|
|
|
$lang = FALSE |
|
) |
| |
|
static |
Return base url joined with 'index.php' string (if clean urls are off) and lang string.
- Parameters
-
mixed | $index | |
mixed | $protocol | |
mixed | $lang | |
- Returns
- string
static url_lang::lang |
( |
|
$value = '' , |
|
|
|
$args = '' , |
|
|
|
$format = 0 |
|
) |
| |
|
static |
Prints translated string in given format.
- Parameters
-
string | $value | |
array | $args | |
integer | $format | |
- Returns
- string
static url_lang::previous |
( |
|
$length = 0 , |
|
|
|
$offset = 0 |
|
) |
| |
|
static |
Returns previous URI without the lang part.
- Author
- Michal Kliment
- Parameters
-
number | $length | |
number | $offset | |
- Returns
- string
static url_lang::uri |
( |
|
$url | ) |
|
|
static |
Returns uri from url, without lang segment.
- Parameters
-
- Returns
- string
The documentation for this class was generated from the following file: