public function updateEmployee($id, $firstName, $lastName, $secondName = '')
    {
        $result = false;
        $this->addHeader();
        try {
            $data                             = new \stdClass();
            $data->id                         = $id;
            $data->data                       = new \stdClass();
            $data->data->FirstName            = $firstName;
            $data->data->LastName             = $lastName;
            $data->data->SecondName           = $secondName;
            $data->data->ModificationDateTime = date('Y-m-d\TH:i:s.811P');

            $this->getSoap()->SaveAcsEmployee($data);
            $result = true;
        } catch (\SoapFault $ex) {
            $this->logError();
        }
        return $result;
    }
public function updateEmployee($id, $firstName, $lastName, $secondName = '')
    {
        $result = false;
        $this->addHeader();
        try {
            $data                             = new \stdClass();
            $data->id                         = $id;
            $data->data                       = new \stdClass();
            $data->data->FirstName            = $firstName;
            $data->data->LastName             = $lastName;
            $data->data->SecondName           = $secondName;
            $data->data->ModificationDateTime = date('Y-m-d\TH:i:s.811P');

            $this->getSoap()->SaveAcsEmployee($data);
            $result = true;
        } catch (\SoapFault $ex) {
            $this->logError();
        }
        return $result;
    }
public function updateEmployee ( $ id , $ firstName , $ lastName , $ secondName = '' ) { $ result = false ; $ this -> addHeader ( ) ; try { $ data = new \ stdClass ( ) ; $ data -> id = $ id ; $ data -> data = new \ stdClass ( ) ; $ data -> data -> FirstName = $ firstName ; $ data -> data -> LastName = $ lastName ; $ data -> data -> SecondName = $ secondName ; $ data -> data -> ModificationDateTime = date ( 'Y-m-d\TH:i:s.811P' ) ; $ this -> getSoap ( ) -> SaveAcsEmployee ( $ data ) ; $ result = true ; } catch ( \ SoapFault $ ex ) { $ this -> logError ( ) ; } return $ result ; }
Update employee's info

@param integer $id
@param string $firstName
@param string $lastName
@param string $secondName
@return bool
Update employee s info