protected function getOptionListFromJasper()
    {
        $optionList = array();

        //Get the options from the jasper server
        $inputControlStateArray = JasperHelper::convertInputControlState($this->state);

        foreach ($inputControlStateArray["option"] as $key => $option) {
            //Create an option instance for each option
            $optionList[] = new Option (
                $option["value"],
                $option["label"],
                $option["selected"]
            );
        }

        //Return the options list
        return $optionList;
    }
protected function getOptionListFromJasper()
    {
        $optionList = array();

        //Get the options from the jasper server
        $inputControlStateArray = JasperHelper::convertInputControlState($this->state);

        foreach ($inputControlStateArray["option"] as $key => $option) {
            //Create an option instance for each option
            $optionList[] = new Option (
                $option["value"],
                $option["label"],
                $option["selected"]
            );
        }

        //Return the options list
        return $optionList;
    }
protected function getOptionListFromJasper ( ) { $ optionList = array ( ) ; //Get the options from the jasper server $ inputControlStateArray = JasperHelper :: convertInputControlState ( $ this -> state ) ; foreach ( $ inputControlStateArray [ "option" ] as $ key => $ option ) { //Create an option instance for each option $ optionList [ ] = new Option ( $ option [ "value" ] , $ option [ "label" ] , $ option [ "selected" ] ) ; } //Return the options list return $ optionList ; }
Gets a list of options for the input control from the jasper server

@return array The array of options
Gets a list of options for the input control from the jasper server