<?php
/*
* This file is part of the pwp package.
* (c) 2009-2010 Victor Rad' <victor.v.rad[at]gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* This class has been auto-generated by the Doctrine ORM Framework
*/
class News extends BaseNews
{
public function setUp()
{
parent::setUp();
$this->actAs('SearchTemplate');
}
public function getDate($mode = null)
{
return date('d.m.Y', strtotime($this->getCreatedAt()));
}
}