CalendarDateManager::__call
Call any function available in the sfTime library, but without the ts parameter.
<b>Example:</b> <code> $ts = sfTime::firstDayOfMonth(sfTime::addMonth(time(), 5)); // equivalent $dt = new sfDate(); $ts = $dt->addMonth(5)->firstDayOfMonth()->get(); </code>
Signature
public function __call(
$method,
$arguments )
Parameters
$method
—$arguments
—
Returns
- sfDate
- the modified object, for chainability