XpressEngine Core
1.11.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
widgets
language_select
language_select.class.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
9
class
language_select
extends
WidgetHandler
10
{
17
function
proc
(
$args
)
18
{
19
// Set a path of the template skin (values of skin, colorset settings)
20
$tpl_path = sprintf(
'%sskins/%s'
, $this->widget_path,
$args
->skin);
21
$tpl_file =
'language_select'
;
22
23
Context::set
(
'colorset'
,
$args
->colorset);
24
25
// Compile a template
26
$oTemplate = &
TemplateHandler::getInstance
();
27
return
$oTemplate->compile($tpl_path, $tpl_file);
28
}
29
}
30
/* End of file language_select.class.php */
31
/* Location: ./widgets/language_select/language_select.class.php */
TemplateHandler\getInstance
static & getInstance()
Definition:
TemplateHandler.class.php:60
Context\set
set($key, $val, $set_to_get_vars=0)
Definition:
Context.class.php:1948
language_select
Language selector.
Definition:
language_select.class.php:9
WidgetHandler
Handler class for widget execution.
Definition:
WidgetHandler.class.php:10
$args
$args
Definition:
ko.install.php:185
language_select\proc
proc($args)
Widget execution.
Definition:
language_select.class.php:17
Generated on Tue Dec 18 2018 17:04:29 for XpressEngine Core by
1.8.5