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,25 @@
<?php
/**
* Subclass for performing query and update operations on the 'Course' table.
*
*
*
* @package lib.model
*/
class CoursePeer extends BaseCoursePeer
{
/**
* Gets a course by the slug
*
* @return the course matching the slug
* @author Benjamin Ramey <ben.ramey@gmail.com>
**/
public static function getBySlug($slug)
{
$c = new Criteria();
$c->add(self::SLUG, $slug);
return self::doSelect($c);
}
}