1
0

Improved Blogpost view

This commit is contained in:
2014-07-12 16:42:24 +02:00
parent abcc540713
commit 14f3d5df3b
8 changed files with 245 additions and 158 deletions

View File

@@ -0,0 +1,14 @@
<?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');
}
}