private static function getCommitParameters($objectType, $local = null, $action = null, $user = '', $comment = '')
    {
        $params = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS);
        $params->type = $objectType;        // Type of the Object
        $params->id = $local;               // Id of Modified object
        $params->action = $action;          // Action Type On this Object
        $params->user = $user;              // Operation User Name for Historics
        $params->comment = $comment;        // Operation Comment for Historics
        return $params;
    }
private static function getCommitParameters($objectType, $local = null, $action = null, $user = '', $comment = '')
    {
        $params = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS);
        $params->type = $objectType;        // Type of the Object
        $params->id = $local;               // Id of Modified object
        $params->action = $action;          // Action Type On this Object
        $params->user = $user;              // Operation User Name for Historics
        $params->comment = $comment;        // Operation Comment for Historics
        return $params;
    }
private static function getCommitParameters ( $ objectType , $ local = null , $ action = null , $ user = '' , $ comment = '' ) { $ params = new ArrayObject ( array ( ) , ArrayObject :: ARRAY_AS_PROPS ) ; $ params -> type = $ objectType ; // Type of the Object $ params -> id = $ local ; // Id of Modified object $ params -> action = $ action ; // Action Type On this Object $ params -> user = $ user ; // Operation User Name for Historics $ params -> comment = $ comment ; // Operation Comment for Historics return $ params ; }
Build Call Parameters Array

@param string           $objectType object Type Name
@param array|int|string $local      object Local Id or Array of Local Id
@param string           $action     Action Type (SPL_A_UPDATE, or SPL_A_CREATE, or SPL_A_DELETE)
@param string           $user       User Name
@param string           $comment    Operation Comment for Historics

@return arrayObject
Build Call Parameters Array