- if(strcmp(gettype($arguments),"array"))
- $this->OutputError("arguments must be array","AddInput");
-
- if(!isset($arguments["type"]) || !strcmp($arguments["type"],""))
- return($this->OutputError("Type not defined","AddInput"));
-
- if(!isset($arguments["name"]) || !strcmp($arguments["name"],""))
- return($this->OutputError("Name of element not defined","AddInput"));
-
- if (isset($this->mElements[$arguments["name"]]))
- return($this->OutputError("it was specified '".$arguments["name"]."' name of an already defined input","AddInput"));
-