1
0
www.mikescher.com/www/protected/components/widgets/BlogLink.php

14 lines
230 B
PHP
Raw Normal View History

2014-07-12 16:42:24 +02:00
<?php
class BlogLink extends CWidget {
public $date;
public $caption = '';
public $link = '';
public function run() {
if ($this->date == null)
$this->date = new DateTime('2000-01-01');
$this->render('blogLink');
}
}