DuoFernConfigurator/module.php
/**
     * Sends data to parent
     * Will be called from methods ForwardData
     *
     * @param string $Data
     * @return string|bool result data or false if not sent
     */
Sends data to parent
Will be called from methods ForwardData

@param string $Data
@return string|bool result data or false if not sent
Sends data to parent Will be called from methods ForwardData @param string $Data @return string|bool result data or false if not sent
protected function SendDataToParent($Data)
    {
        $result = parent::SendDataToParent(json_encode(Array(
            "DataID" => "{D608631B-BABA-4D08-ADB0-5364DD6A2526}",
            "Buffer" => utf8_encode($Data)
        )));
        if ($result == false) {
            $this->SendDebug("FAILED TRANSMIT", $Data, 1);
            trigger_error($this->Translate("Message could not be sent") . PHP_EOL, E_USER_ERROR);
            return false;
        }
        if (strcmp($this->ConvertMsgToDisplay($Data), DuoFernMessage::DUOFERN_MSG_ACK) === 0) {
            $this->SendDebug("TRANSMIT ACK", $Data, 1);
        } else {
            $this->SendDebug("TRANSMIT", $Data, 1);
        }
        return $result;
    }
protected function SendDataToParent ( $ Data ) { $ result = parent :: SendDataToParent ( json_encode ( Array ( " DataID " => " {D608631B-BABA-4D08-ADB0-5364DD6A2526} " , " Buffer " => utf8_encode ( $ Data ) ) ) ) ; if ( $ result == false ) { $ this -> SendDebug ( " FAILED TRANSMIT " , $ Data , 1 ) ; trigger_error ( $ this -> Translate ( " Message could not be sent " ) . PHP_EOL , E_USER_ERROR ) ; return false ; } if ( strcmp ( $ this -> ConvertMsgToDisplay ( $ Data ) , DuoFernMessage :: DUOFERN_MSG_ACK ) === 0 ) { $ this -> SendDebug ( " TRANSMIT ACK " , $ Data , 1 ) ; } else { $ this -> SendDebug ( " TRANSMIT " , $ Data , 1 ) ; } return $ result ; }
Sends data to parent
 Will be called from methods ForwardData
Sends data to parent Will be called from methods ForwardData
// send to parent splitter // trigger error when msg not sent // send msg as debug msg