Gregwar\Formidable\Fields\FileField::push PHP Method

push() public method

public push ( $var, $value = null )
    public function push($var, $value = null)
    {
        switch ($var) {
            case 'maxsize':
                $this->maxsize = $value;
                break;
            case 'filetype':
                $this->filetype = $value;
                break;
            default:
                parent::push($var, $value);
                break;
        }
    }