src/Slashworks/AppBundle/Model/om/BaseApiLogPeer.php
public static function doSelectOne(Criteria $criteria, PropelPDO $con = null)
    {
        $critcopy = clone $criteria;
        $critcopy->setLimit(1);
        $objects = ApiLogPeer::doSelect($critcopy, $con);
        if ($objects) {
            return $objects[0];
        }

        return null;
    }
public static function doSelectOne(Criteria $criteria, PropelPDO $con = null)
    {
        $critcopy = clone $criteria;
        $critcopy->setLimit(1);
        $objects = ApiLogPeer::doSelect($critcopy, $con);
        if ($objects) {
            return $objects[0];
        }

        return null;
    }
public static function doSelectOne ( Criteria $ criteria , PropelPDO $ con = null ) { $ critcopy = clone $ criteria ; $ critcopy -> setLimit ( 1 ) ; $ objects = ApiLogPeer :: doSelect ( $ critcopy , $ con ) ; if ( $ objects ) { return $ objects [ 0 ] ; } return null ; }
Selects one object from the DB.

@param      Criteria $criteria object used to create the SELECT statement.
@param      PropelPDO $con
@return ApiLog
@throws PropelException Any exceptions caught during processing will be
rethrown wrapped into a PropelException.
Selects one object from the DB .