<?phpDoctrine::autoload('Doctrine_Session');/** * standard session, the parent of pgsql, mysql and sqlite */classDoctrine_Session_CommonextendsDoctrine_Session{publicfunctionmodifyLimitQuery($query,$limit=false,$offset=false){if($limit&&$offset){$query.=" LIMIT ".$limit." OFFSET ".$offset;}elseif($limit&&!$offset){$query.=" LIMIT ".$limit;}elseif(!$limit&&$offset){$query.=" LIMIT 999999999999 OFFSET ".$offset;}return$query;}}?>