Class Giscuit_Controller_Plugin_Init

Description

Initialization plugin

  • copyright: Copyright (c) 2012 VEC

Located in /Controller/Plugin/Init.php (line 30)

Zend_Controller_Plugin_Abstract
   |
   --Giscuit_Controller_Plugin_Init
Variable Summary
 static mixed $languages
Method Summary
 static getDbConnectionString () void
 static initCache () void
 static parseDbParams ( $database) void
 dispatchLoopStartup ( $request) void
 getBrowserType () void
 getConfig () Zend_Config
 getCurrentLocale (Zend_Controller_Request_Abstract $request) string
 initConfig () void
 initDb () void
 initHelpers () void
 initLayout ( $request) void
 initSession ( $request) void
 initSettings () void
 initTranslate ( $request) void
 initUser () void
 postDispatch ( $request) void
 routeShutdown ( $request) void
 routeStartup ( $request) void
Variables
static mixed $languages = array (
'abk' => 'ab',
'aar' => 'aa',
'afr' => 'af',
'sqi' => 'sq',
'alb' => 'sq',
'amh' => 'am',
'ara' => 'ar',
'hye' => 'hy',
'arm' => 'hy',
'asm' => 'as',
'aym' => 'ay',
'aze' => 'az',
'bak' => 'ba',
'eus' => 'eu',
'baq' => 'eu',
'ben' => 'bn',
'bih' => 'bh',
'bis' => 'bi',
'bre' => 'be',
'bul' => 'bg',
'mya' => 'my',
'bur' => 'my',
'bel' => 'be',
'cat' => 'ca',
'zho' => 'zh',
'chi' => 'zh',
'cos' => 'co',
'cze' => 'cs',
'ces' => 'cs',
'dan' => 'da',
'nla' => 'nl',
'dut' => 'nl',
'dzo' => 'dz',
'eng' => 'en',
'epo' => 'eo',
'est' => 'et',
'fao' => 'fo',
'fij' => 'fj',
'fin' => 'fi',
'fre' => 'fr',
'fra' => 'fr',
'fry' => 'fy',
'glg' => 'gl',
'kat' => 'ka',
'geo' => 'ka',
'ger' => 'de',
'deu' => 'de',
'kal' => 'kl',
'grn' => 'gn',
'guj' => 'gu',
'hau' => 'ha',
'heb' => 'he',
'hin' => 'hi',
'hun' => 'hu',
'isl' => 'is',
'ice' => 'is',
'ind' => 'id',
'iku' => 'iu',
'ipk' => 'ik',
'iri' => 'ga',
'gai' => 'ga',
'ita' => 'it',
'jpn' => 'ja',
'kan' => 'kn',
'kas' => 'ks',
'kaz' => 'kk',
'khm' => 'km',
'kin' => 'rw',
'kir' => 'ky',
'kor' => 'ko',
'kur' => 'ku',
'lao' => 'lo',
'lat' => 'la',
'lav' => 'lv',
'lin' => 'ln',
'lit' => 'lt',
'mak' => 'mk',
'mac' => 'mk',
'mlg' => 'mg',
'msa' => 'ms',
'may' => 'ms',
'mlt' => 'ml',
'mri' => 'mi',
'mao' => 'mi',
'mar' => 'mr',
'mol' => 'mo',
'mon' => 'mn',
'nau' => 'na',
'nep' => 'ne',
'nor' => 'no',
'ori' => 'or',
'orm' => 'om',
'pan' => 'pa',
'per' => 'fa',
'fas' => 'fa',
'pol' => 'pl',
'por' => 'pt',
'pus' => 'ps',
'que' => 'qu',
'roh' => 'rm',
'rum' => 'ro',
'ron' => 'ro',
'run' => 'rn',
'rus' => 'ru',
'smo' => 'sm',
'sag' => 'sg',
'san' => 'sa',
'scr' => 'sh',
'sna' => 'sn',
'snd' => 'sd',
'sin' => 'si',
'ssw' => 'ss',
'slo' => 'sk',
'slk' => 'sk',
'slv' => 'sl',
'som' => 'so',
'spa' => 'es',
'esl' => 'es',
'sun' => 'su',
'swa' => 'sw',
'swe' => 'sv',
'sve' => 'sv',
'tgl' => 'tl',
'tgk' => 'tg',
'tam' => 'ta',
'tat' => 'tt',
'tel' => 'te',
'tha' => 'th',
'tib' => 'bo',
'bod' => 'bo',
'tir' => 'ti',
'tso' => 'ts',
'tsn' => 'tn',
'tur' => 'tr',
'tuk' => 'tk',
'twi' => 'tw',
'uig' => 'ug',
'ukr' => 'uk',
'urd' => 'ur',
'uzb' => 'uz',
'vie' => 'vi',
'vol' => 'vo',
'wel' => 'cy',
'cym' => 'cy',
'wol' => 'wo',
'xho' => 'xh',
'yid' => 'yi',
'yor' => 'yo',
'zha' => 'za',
'zul' => 'zu',
)
(line 33)
  • access: public
Methods
static getDbConnectionString (line 796)
  • access: public
void getDbConnectionString ()
static initCache (line 297)

Initialize cache

  • access: public
void initCache ()
static parseDbParams (line 814)
  • access: public
void parseDbParams ( $database)
  • $database
dispatchLoopStartup (line 271)

Called before Zend_Controller_Front enters its dispatch loop.

  • access: public
void dispatchLoopStartup ( $request)
  • Zend_Controller_Request_Abstract $request
getBrowserType (line 777)
  • access: public
void getBrowserType ()
getConfig (line 446)

Get current configuration

  • access: public
Zend_Config getConfig ()
getCurrentLocale (line 549)

Get current locale

  • access: public
string getCurrentLocale (Zend_Controller_Request_Abstract $request)
  • Zend_Controller_Request_Abstract $request
initConfig (line 337)

Initialize config

  • access: public
void initConfig ()
initDb (line 465)

Initialize database

  • access: public
void initDb ()
initHelpers (line 723)

Initialize helpers

  • access: public
void initHelpers ()
initLayout (line 595)

Initialize layout

  • access: public
void initLayout ( $request)
  • Zend_Controller_Request_Abstract $request
initSession (line 742)

Initialize session

  • access: public
void initSession ( $request)
  • Zend_Controller_Request_Abstract $request
initSettings (line 618)

Initialize settings

  • access: public
void initSettings ()
initTranslate (line 497)

Initialize translate

  • access: public
void initTranslate ( $request)
  • Zend_Controller_Request_Abstract $request
initUser (line 630)

Initialize current user

  • access: public
void initUser ()
postDispatch (line 287)

Called before an action is dispatched by Zend_Controller_Dispatcher.

This callback allows for proxy or filter behavior. By altering the request and resetting its dispatched flag (via Zend_Controller_Request_Abstract::setDispatched()), the current action may be skipped.

  • access: public
void postDispatch ( $request)
  • Zend_Controller_Request_Abstract $request
routeShutdown (line 215)

Called after Zend_Controller_Router exits.

Called after Zend_Controller_Front exits from the router.

  • access: public
void routeShutdown ( $request)
  • Zend_Controller_Request_Abstract $request
routeStartup (line 193)

Called before Zend_Controller_Front begins evaluating the request against its routes.

  • access: public
void routeStartup ( $request)
  • Zend_Controller_Request_Abstract $request

Documentation generated on Wed, 28 May 2014 08:33:16 +0000 by phpDocumentor 1.4.3