lib/IXF/ApiResource.php
public function save()
    {
        $requestor = new ApiRequestor();
        $params = $this->serializeParameters();
        self::_validateCall( 'save', $params );
        unset( $params['id'] );

        if( count( $params ) > 0 )
        {
            $url = '/' . $this->getType() . '/' . $this->id;
            return $requestor->request('put', $url, $params);
        }

        return true;
    }
public function save()
    {
        $requestor = new ApiRequestor();
        $params = $this->serializeParameters();
        self::_validateCall( 'save', $params );
        unset( $params['id'] );

        if( count( $params ) > 0 )
        {
            $url = '/' . $this->getType() . '/' . $this->id;
            return $requestor->request('put', $url, $params);
        }

        return true;
    }
public function save ( ) { $ requestor = new ApiRequestor ( ) ; $ params = $ this -> serializeParameters ( ) ; self :: _validateCall ( 'save' , $ params ) ; unset ( $ params [ 'id' ] ) ; if ( count ( $ params ) > 0 ) { $ url = '/' . $ this -> getType ( ) . '/' . $ this -> id ; return $ requestor -> request ( 'put' , $ url , $ params ) ; } return true ; }
Save an object

@return bool True when successful
@throws Error An appropriate error object
Save an object