public function set($index, $value, $type = self::ARGUMENT_TYPES_STRAIGHTVALUE)
    {
        $this->index = $index;
        $this->value = $value;
        $this->type = $type;
    }
public function set($index, $value, $type = self::ARGUMENT_TYPES_STRAIGHTVALUE)
    {
        $this->index = $index;
        $this->value = $value;
        $this->type = $type;
    }
public function set ( $ index , $ value , $ type = self :: ARGUMENT_TYPES_STRAIGHTVALUE ) { $ this -> index = $ index ; $ this -> value = $ value ; $ this -> type = $ type ; }
Sets the index, value, type of the argument and object configuration

@param integer $index Index of the argument (counting starts at "1")
@param mixed $value Value of the argument
@param integer $type Type of the argument - one of the ARGUMENT_TYPE_* constants
@return void
Sets the index value type of the argument and object configuration