initial commit

This commit is contained in:
Chris Sewell
2012-11-28 03:55:08 -05:00
parent 7adb399b2e
commit cf140a2e97
3247 changed files with 492437 additions and 0 deletions

27
lib/model/JobStatusPeer.php Executable file
View File

@ -0,0 +1,27 @@
<?php
/**
* Subclass for performing query and update operations on the 'job_status' table.
*
*
*
* @package lib.model
*/
class JobStatusPeer extends BaseJobStatusPeer
{
/*
* We overrode this function so that when you look up the JobStatus
* objects for a call to object_select_tag, it will add a sort order
* automatically. The default behaviour is to not add a sort; we
* changed it.
*/
public static function doSelect(Criteria $criteria, $con = null)
{
if (sizeof($criteria->getOrderByColumns()) == 0)
{
$criteria->addAscendingOrderByColumn(JobStatusPeer::STATUS_NAME);
}
return JobStatusPeer::populateObjects(JobStatusPeer::doSelectRS($criteria, $con));
}
}