PluginHooks:StartShowLaconicaStyles
From StatusNet
Contents |
Description
Arguments
1: PublicAction
Related Code
File: lib/action.php (line 198)
...
if (Event::handle('StartShowStyles', array($this))) {
// Use old name for StatusNet for compatibility on events
if (Event::handle('StartShowStatusNetStyles', array($this)) &&
Event::handle('StartShowLaconicaStyles', array($this))) {
$this->cssLink('css/display.css',null,'screen, projection, tv');
if (common_config('site', 'mobile')) {
// TODO: "handheld" CSS for other mobile devices
$this->cssLink('css/mobile.css','base','only screen and (max-device-width: 480px)'); // Mobile WebKit
}
...
Examples
class ExamplePlugin extends Plugin {
public function onStartShowLaconicaStyles ($publicaction) {
//do something
}
}