initial commit

This commit is contained in:
Ben Ramey
2017-03-02 21:57:21 -06:00
commit fd8ad64063
22097 changed files with 1960930 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
/**
* Subclass for performing query and update operations on the 'Event' table.
*
*
*
* @package lib.model
*/
class EventPeer extends BaseEventPeer
{
/**
* Gets events whose expiration date is
* still in the future
*
* @return void
* @author Benjamin Ramey <ben.ramey@gmail.com>
**/
public static function getActive()
{
$c = new Criteria();
$c->add(self::EXPIRES_ON, time(), Criteria::GREATER_THAN);
$c->addAscendingOrderByColumn(self::EXPIRES_ON);
return self::doSelect($c);
}
}