Procedural File: function.languages.php

Source Location: /CORE/addon/smarty/plugins/function.languages.php

Page Details

BIGACE - a PHP and MySQL based Web CMS.

Copyright (C) Kevin Papst.

BIGACE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author:  Kevin Papst
Version:  $Id: function.languages.php,v 1.1 2009/03/16 15:38:52 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License
Functions
smarty_function_languages  [line 32]

void smarty_function_languages( $params, &$smarty  )

Returns an array with all available languages.

The array holds the locales as keys and as values the language object itself OR the translated language name (depends on the parameter).

Parameter:

  • object = whether only the language name is returned (false = default) or the Language object itself (true)
  • locale = the locale to display language names with (default _ULC_)

Parameters:
   $params: 
   &$smarty: 


[ Top ]