Login +

Documentation

SLS_Lang::getSiteLangs

Since SillySmart 1.0

Description

Get all the application langs
public array getSiteLangs ( [ bool $all ] );

Parameters

  • bool $all
    if true, return all languages, else, return onlny actives langs

Return

array $langs
all the application langs

Exemples

  •  var_dump($lang->getSiteLangs());
     // will produce :
     array('en','..','fr');

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.