1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- class RssPlugin extends Plugin
- {
-
- public function __construct()
- {
- parent::__construct('1.1', 'Laurent Opprecht, Julio Montoya', ['block_title' => 'text', 'rss' => 'text']);
- }
-
- public static function create()
- {
- static $result = null;
- return $result ? $result : $result = new self();
- }
- public function get_block_title()
- {
- return $this->get('block_title');
- }
- public function get_rss()
- {
- return $this->get('rss');
- }
- }
|