Esempio n. 1
0
 public function __construct(Podiya $podiya)
 {
     // events we will handle
     $this->events = [['format_username', [$this, 'formatUsername']], ['format_group', [$this, 'formatGroup']], ['format_date', [$this, 'formatDate']], ['format_message', [$this, 'formatMessage']], ['create_post', [$this, 'makePost']]];
     parent::__construct($podiya);
 }
Esempio n. 2
0
 public function __construct(Podiya $podiya)
 {
     $this->events = [['format_group', [$this, 'betterGroup']], ['format_date', [$this, 'betterDate']]];
     parent::__construct($podiya);
 }
Esempio n. 3
0
 public function __construct(Podiya $podiya)
 {
     $this->events = [['format_message', [$this, 'formatMessage']]];
     parent::__construct($podiya);
 }
Esempio n. 4
0
 public function __construct(Podiya $podiya)
 {
     $this->events = [['create_post', [$this, 'fancyPost']]];
     parent::__construct($podiya);
 }