public function Sweaver::set_current_style in Sweaver 7
Same name and namespace in other branches
- 6 sweaver.inc \Sweaver::set_current_style()
Sets the current style.
Parameters
$theme_key: Optional, if missing the global one will be used.
1 call to Sweaver::set_current_style()
- Sweaver::__construct in ./
sweaver.inc - Constructor. Private constructor to make sure this is never instantiated by the constructor.
File
- ./
sweaver.inc, line 153 - Class Sweaver.
Class
- Sweaver
- @file Class Sweaver.
Code
public function set_current_style($theme_key) {
$this->theme = $theme_key;
}