class BroadsoftXMLCommands !!!130825.php!!! addCommand(inout comando : BroadsoftXMLCommand, inout identificador : string, inout description : string = "", inout validation : bool = true) if ($identificador) { $this->aComandos[$identificador]["Command"] = $comando; $this->aComandos[$identificador]["Description"] = $description; $this->aComandos[$identificador]["Validation"] = $validation; } !!!130953.php!!! getCommand(inout identificador : string) : BroadsoftXMLCommand return ($this->aComandos[$identificador]["Command"]); !!!131081.php!!! getDescription(inout identificador : string) : string return ($this->aComandos[$identificador]["Description"]); !!!131209.php!!! getValidation(inout identificador : string) : string return ($this->aComandos[$identificador]["Validation"]); !!!131337.php!!! getInvalidCommands() : array $aRes = array(); if (count($this->aComandos) > 0) { foreach($this->aComandos as $id => $datosCommand) { if ($datosCommand["Validation"] !== true) { $aRes[] = $datosCommand; } } } return $aRes; !!!131465.php!!! splitCommands(inout count : integer = BroadsoftXMLWS::COMANDOS_AGRUPADOS_MAX) : BroadsoftXMLCommands $aComandosSeparados = array(); $aComandosAux = array_chunk($this->aComandos, $count); for ($i = 0; $i < count($aComandosAux); $i++) { $aNuevito = new BroadsoftXMLCommands(); $aNuevito->setCommands($aComandosAux[$i]); $aComandosSeparados[] = $aNuevito; } return $aComandosSeparados; !!!131593.php!!! getInvalidCommandsString() : string $aRes = array(); if (count($this->aComandos) > 0) { foreach($this->aComandos as $id => $datosCommand) { if ($datosCommand["Validation"] !== true) { $aRes[] = $id . " [" . $datosCommand["Description"] . "]"; } } } return (implode("|", $aRes)); !!!131721.php!!! getCommands() : array return $this->aComandos; !!!131849.php!!! setCommands(inout aComandos : array) $this->aComandos = $aComandos; !!!131977.php!!! getCantidadComandos() : integer return count($this->aComandos);