library/Benri/Db/Table.php
public static function locate($column, $value)
    {
        $table  = new static();
        $select = $table->select()
            ->where("{$table->getAdapter()->quoteIdentifier($column)} = ?", $value)
            ->limit(1);

        return $table->fetchRow($select);
    }
public static function locate($column, $value)
    {
        $table  = new static();
        $select = $table->select()
            ->where("{$table->getAdapter()->quoteIdentifier($column)} = ?", $value)
            ->limit(1);

        return $table->fetchRow($select);
    }
Fetches one row in an object of type Benri_Db_Table_Row, or returns
null if no row matches the specified criteria.

@param string $column The sql `where` clause
@param mixed $value The value to use against the `where` clause
@return Benri_Db_Table_Row or null The row results, or null if no row
found