Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/plugin/rss/lib/rss_plugin.class.php

39 lines
824 B

14 years ago
<?php
/* For licensing terms, see /license.txt */
14 years ago
/**
* @copyright (c) 2012 University of Geneva
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html
* @author Laurent Opprecht <laurent@opprecht.info>
*/
class RssPlugin extends Plugin
{
/**
* RssPlugin constructor.
*/
public function __construct()
{
parent::__construct('1.1', 'Laurent Opprecht, Julio Montoya', ['block_title' => 'text', 'rss' => 'text']);
}
14 years ago
/**
* @return RssPlugin
14 years ago
*/
public static function create()
14 years ago
{
static $result = null;
14 years ago
return $result ? $result : $result = new self();
}
public function get_block_title()
14 years ago
{
return $this->get('block_title');
}
public function get_rss()
14 years ago
{
return $this->get('rss');
}
}