private function init($service)
    {
        //====================================================================//
        // Debug
        Splash::log()->deb('MsgWsCall');
        //====================================================================//
        // Safety Check
        if (!$this->verify()) {
            return Splash::log()->err('ErrWsInValid');
        }
        //====================================================================//
        // Clean Data Input Buffer
        $this->cleanIn();
        //====================================================================//
        // Prepare Data Output Buffer
        //====================================================================//
        // Fill buffer with Server Core infos
        $this->outputs->server = $this->getServerInfos();
        // Remote Service to call
        $this->outputs->service = $service;
        // Share Debug Flag with Server
        $this->outputs->debug = (int) SPLASH_DEBUG;

        return true;
    }
private function init($service)
    {
        //====================================================================//
        // Debug
        Splash::log()->deb('MsgWsCall');
        //====================================================================//
        // Safety Check
        if (!$this->verify()) {
            return Splash::log()->err('ErrWsInValid');
        }
        //====================================================================//
        // Clean Data Input Buffer
        $this->cleanIn();
        //====================================================================//
        // Prepare Data Output Buffer
        //====================================================================//
        // Fill buffer with Server Core infos
        $this->outputs->server = $this->getServerInfos();
        // Remote Service to call
        $this->outputs->service = $service;
        // Share Debug Flag with Server
        $this->outputs->debug = (int) SPLASH_DEBUG;

        return true;
    }
private function init ( $ service ) { //====================================================================// // Debug Splash :: log ( ) -> deb ( 'MsgWsCall' ) ; //====================================================================// // Safety Check if ( ! $ this -> verify ( ) ) { return Splash :: log ( ) -> err ( 'ErrWsInValid' ) ; } //====================================================================// // Clean Data Input Buffer $ this -> cleanIn ( ) ; //====================================================================// // Prepare Data Output Buffer //====================================================================// // Fill buffer with Server Core infos $ this -> outputs -> server = $ this -> getServerInfos ( ) ; // Remote Service to call $ this -> outputs -> service = $ service ; // Share Debug Flag with Server $ this -> outputs -> debug = ( int ) SPLASH_DEBUG ; return true ; }
Init WebService Call

@param string $service server method to use

@return bool
Init WebService Call