/**
 * Method to get certain otherwise inaccessible properties from the form field object.
 *
 * @param   string  $name  The property name for which to get the value.
 *
 * @return  mixed  The property value or null.
 *
 * @since   3.7.0
 * @deprecated  5.0  Access the item parameters through the `getParams()` method
 */
public function __get($name)
{
    if ($name === 'params') {
        return $this->getParams();
    }
    return $this->{$name};
}