Esempio n. 1
0
 public function init()
 {
     $settings = Settings::instance();
     $this->facebook = $settings->facebook;
     $this->twitter = $settings->twitter;
     $this->googleplus = $settings->googleplus;
 }
Esempio n. 2
0
 public function onRun()
 {
     $settings = Settings::instance();
     $this->addCss('/plugins/hariadi/share/assets/css/share.css');
     foreach ($this->providers as $provider) {
         $this->page[$provider] = $settings->{$provider};
     }
     $this->page['url'] = Request::url();
 }