XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
language_select.class.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
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 */
set($key, $val, $set_to_get_vars=0)
Language selector.
Handler class for widget execution.
$args
Definition: ko.install.php:185
proc($args)
Widget execution.