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

24 lines
468 B
PHP
Raw Normal View History

2014-05-28 17:19:57 +02:00
<?php
2014-06-04 18:06:38 +02:00
class ThumbnailProgPreview extends CWidget {
2014-05-28 17:19:57 +02:00
public $caption = '';
2014-05-28 21:29:49 +02:00
public $link = '';
2014-06-02 19:31:14 +02:00
public $enabled = true;
2014-05-28 17:19:57 +02:00
public $description = '';
public $category = '';
public $language = [];
public $starcount = 0;
public $downloads = 0;
public $date = null;
public $image = '';
public $programminglang = '???';
2014-05-28 17:19:57 +02:00
public function run() {
if ($this->date == null)
$this->date = new DateTime('2000-01-01');
2014-06-04 18:06:38 +02:00
$this->render('thumbnailProgPreview');
2014-05-28 17:19:57 +02:00
}
}
?>