static function fetchByEmail( $email, $sorts = null, $offset = null, $length = null, $status = false )
    {
        $cond = array();
        $cond['email'] = $email;
        if ( $status !== false )
        {
            $cond['status'] = $status;
        }
        $limit = null;
        if ( !is_null( $offset ) )
        {
           $limit = array();
           $limit = array( 'offset' => $offset, 'length' => $length );
        }
        $return = eZPersistentObject::fetchObjectList( self::definition(), null, $cond, $sorts, $limit );
        return $return;
    }
static function fetchByEmail( $email, $sorts = null, $offset = null, $length = null, $status = false )
    {
        $cond = array();
        $cond['email'] = $email;
        if ( $status !== false )
        {
            $cond['status'] = $status;
        }
        $limit = null;
        if ( !is_null( $offset ) )
        {
           $limit = array();
           $limit = array( 'offset' => $offset, 'length' => $length );
        }
        $return = eZPersistentObject::fetchObjectList( self::definition(), null, $cond, $sorts, $limit );
        return $return;
    }
static function fetchByEmail ( $ email , $ sorts = null , $ offset = null , $ length = null , $ status = false ) { $ cond = array ( ) ; $ cond [ 'email' ] = $ email ; if ( $ status !== false ) { $ cond [ 'status' ] = $ status ; } $ limit = null ; if ( ! is_null ( $ offset ) ) { $ limit = array ( ) ; $ limit = array ( 'offset' => $ offset , 'length' => $ length ) ; } $ return = eZPersistentObject :: fetchObjectList ( self :: definition ( ) , null , $ cond , $ sorts , $ limit ) ; return $ return ; }
fetch comment by email
@param string $email email address
@param array $sorts sort array
@param integer $offset offset
@param integer $length length
@param integer $status status of comment
@return ezcomComment|null
fetch comment by email