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

15 lines
256 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 = '';
2014-09-13 17:37:47 +02:00
public $stroked = false;
2014-07-12 16:42:24 +02:00
public function run() {
if ($this->date == null)
$this->date = new DateTime('2000-01-01');
$this->render('blogLink');
}
}