protected function _continuationCheck($list)
    {
        foreach ($list as $val) {
            if (($val instanceof Horde_Imap_Client_Interaction_Command_Continuation) ||
                (($val instanceof Horde_Imap_Client_Data_Format_String) &&
                 $val->literal())) {
                return true;
            }

            if (($val instanceof Horde_Imap_Client_Data_Format_List) &&
                $this->_continuationCheck($val)) {
                return true;
            }
        }

        return false;
    }
protected function _continuationCheck($list)
    {
        foreach ($list as $val) {
            if (($val instanceof Horde_Imap_Client_Interaction_Command_Continuation) ||
                (($val instanceof Horde_Imap_Client_Data_Format_String) &&
                 $val->literal())) {
                return true;
            }

            if (($val instanceof Horde_Imap_Client_Data_Format_List) &&
                $this->_continuationCheck($val)) {
                return true;
            }
        }

        return false;
    }
protected function _continuationCheck ( $ list ) { foreach ( $ list as $ val ) { if ( ( $ val instanceof Horde_Imap_Client_Interaction_Command_Continuation ) || ( ( $ val instanceof Horde_Imap_Client_Data_Format_String ) && $ val -> literal ( ) ) ) { return true ; } if ( ( $ val instanceof Horde_Imap_Client_Data_Format_List ) && $ this -> _continuationCheck ( $ val ) ) { return true ; } } return false ; }
Recursive check for continuation functions.
Recursive check for continuation functions .