classes/ControlLibrary.php
public function getControlInfo($code)
    {
        $controls = $this->listControls(false);

        if (array_key_exists($code, $controls)) {
            return $controls[$code];
        }

        return [
            'properties' => [],
            'designTimeProvider' => self::DEFAULT_DESIGN_TIME_PROVIDER,
            'name' => $code,
            'description' => null,
            'unknownControl' => true
        ];
    }
public function getControlInfo($code)
    {
        $controls = $this->listControls(false);

        if (array_key_exists($code, $controls)) {
            return $controls[$code];
        }

        return [
            'properties' => [],
            'designTimeProvider' => self::DEFAULT_DESIGN_TIME_PROVIDER,
            'name' => $code,
            'description' => null,
            'unknownControl' => true
        ];
    }
public function getControlInfo ( $ code ) { $ controls = $ this -> listControls ( false ) ; if ( array_key_exists ( $ code , $ controls ) ) { return $ controls [ $ code ] ; } return [ 'properties' => [ ] , 'designTimeProvider' => self :: DEFAULT_DESIGN_TIME_PROVIDER , 'name' => $ code , 'description' => null , 'unknownControl' => true ] ; }
Returns information about a control by its code.
@param string $code Specifies the control code.
@return array Returns an associative array or null if the control is not registered.
Returns information about a control by its code .