コード例 #1
0
ファイル: class.RSSItem.inc.php プロジェクト: gtn/mantisbt
 function __construct($about = '', $title = '', $link = '', $description = '', $subject = '', $date = 0, $author = '', $comments = '', $image = '')
 {
     parent::__construct();
     parent::setVar($about, 'about', 'string');
     parent::setVar($title, 'title', 'string');
     parent::setVar($link, 'link', 'string');
     parent::setVar($description, 'description', 'string');
     parent::setVar($subject, 'subject', 'string');
     parent::setVar($date, 'date', 'int');
     parent::setVar($author, 'author', 'string');
     parent::setVar($comments, 'comments', 'string');
     parent::setVar($image, 'image', 'string');
 }
コード例 #2
0
 function __construct($offset = 0, $size = 20)
 {
     parent::__construct();
     $this->setSize($size);
     $this->setOffset($offset);
 }
コード例 #3
0
 function __construct(RSSBuilder &$rssdata)
 {
     parent::__construct();
     $this->rssdata =& $rssdata;
 }