FOF30\Form\Field\Rules::__get PHP Method

__get() public method

Method to get certain otherwise inaccessible properties from the form field object.
Since: 2.0
public __get ( string $name ) : mixed
$name string The property name for which to the the value.
return mixed The property value or null.
    public function __get($name)
    {
        switch ($name) {
            // This field cannot provide a static display
            case 'static':
                return '';
                break;
                // This field cannot provide a repeateable display
            // This field cannot provide a repeateable display
            case 'repeatable':
                return '';
                break;
            default:
                return parent::__get($name);
        }
    }