public function addDataStr($p_params){
        try {
            if(is_object($p_params)){
                if(is_object($p_params->value)){
                    $this->object_retour->strErreur = "The value is not a string.";
                    $this->object_retour->statut = self::STATE_ERROR;
                    die();
                }

                if(isset($p_params->label)){
                    $this->object_retour->data[$p_params->label] = $p_params->value;
                }else{
                    $this->object_retour->data = $p_params->value;
                }
            }else{
                $this->object_retour->data = $p_params;
            }
        } catch (Exception $ex) {
            $this->dieInError($ex.'');
        }
    }