PreviousNext
Help > API Functions > User spaces > i5_userspace_close
i5_userspace_close

 

Close a user space object.

 

       bool i5_userspace_close(resource user_space)

Parameters

 

 

 

user_space

User Space resource returned by i5_userspace_prepare

 

 

Return

 

True if OK, false if failed.

 

I5_ERR_DESC_WRONG_DATAOP

41

Wrong operation on a data field of a description

I5_ERR_PARSEXML

42

Internal error; please contact Aura Equipements. error number 42

I5_ERR_PHP_OPTIONSTYPE

259

The type of " I5_OPTIONS_ALIAS" option must be x and not x

I5_ERR_PHP_OPTIONSNUMBER

260

Option number -1 is unknown.

I5_ERR_PHP_TYPEPARAM

262

Type of element x in parameter -1 must be y. Type z was provided.

I5_ERR_PHP_ELEMENT_MISSING

304

An element of the array has a wrong type within function_name(type) function.

I5_ERR_PHP_BAD_KEYNAME

306

Name x is not a property name for a program description

 

 

Example

 

 

                $ret = i5_userspace_close($UspcHdl);

                if (!$ret)

                {

                               print_r("i5_userspace_close error : ".i5_errormsg().'<br/>');

                }