phpDocumentor pivotx
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Class: MultilingualSmarty

Source Location: /modules/module_multilingual.php

Class MultilingualSmarty

Method Summary
static void   buildLanguages()   Build a language array
static void   preFetch()   Assign various variables
static void   reassignLanguages()  
static void   smartymodifier_link()  
static void   smarty_setpageuri()  

[ Top ]
Methods
static method buildLanguages  [line 790]

  static void buildLanguages( &$multilingual  )

Build a language array

Double associative array. Primary keys are language codes. Secondary keys:

  • language the language code
  • description textual description for the language
  • current true if the language is the language of the current page
  • home_url URI to the homepage of the language
  • page_url if possible, URI to the same page in the language
  • url either the page_url or the home_url (best url)

Parameters:
   &$multilingual: 

API Tags:
Access:  protected


[ Top ]
static method preFetch  [line 827]

  static void preFetch( &$smarty  )

Assign various variables

Parameters:
   &$smarty: 

API Tags:
Access:  public


[ Top ]
static method reassignLanguages  [line 818]

  static void reassignLanguages( &$multilingual, &$smarty  )

Parameters:
   &$multilingual: 
   &$smarty: 

API Tags:
Access:  protected


[ Top ]
static method smartymodifier_link  [line 838]

  static void smartymodifier_link( $in, [ $language = false]  )

Parameters:
   $in: 
   $language: 

API Tags:
Access:  public


[ Top ]
static method smarty_setpageuri  [line 845]

  static void smarty_setpageuri( $params, &$smarty  )

Parameters:
   $params: 
   &$smarty: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Thu, 17 May 2012 01:07:18 +0200 by phpDocumentor 1.4.3