Method to set the date format.
public setDateFormat ( string $date = null ) : |
||
$date | string | |
return |
public function testSetAndGetDateFormat() { $p = new Paginator(array()); $p->setDateFormat('m/d/Y'); $this->assertEquals('m/d/Y', $p->getDateFormat()); }