1
0
www.mikescher.com/www/protected/components/ThumbnailPreview.php

20 lines
380 B
PHP
Raw Normal View History

2014-05-28 17:19:57 +02:00
<?php
class ThumbnailPreview extends CWidget {
public $caption = '';
public $description = '';
public $category = '';
public $language = [];
public $starcount = 0;
public $downloads = 0;
public $date = null;
public $image = '';
public function run() {
if ($this->date == null)
$this->date = new DateTime('2000-01-01');
$this->render('thumbnailPreview');
}
}
?>