Form
    
            
            in package
            
        
    
    
    
Form class.
Tags
Table of Contents
Methods
- __callStatic() : mixed
 - Call static magic method.
 - isMatched() : bool
 - Check if the value and input value is matched.
 - setChecked() : string
 - Set checked if value and input value is matched.
 - setSelected() : string
 - Set selected if value and input value is matched.
 
Methods
__callStatic()
Call static magic method.
    public
            static        __callStatic(string $name, mixed $arguments) : mixed
    Parameters
- $name : string
 - $arguments : mixed
 
isMatched()
Check if the value and input value is matched.
    public
                    isMatched(mixed $value, mixed $inputValue[, bool $caseInSensitive = false ]) : bool
    Parameters
- $value : mixed
 - 
                    
The value to check. Its type must be scalar or
null. - $inputValue : mixed
 - 
                    
The input value to check. Its type must be scalar,
null, array, object. If it is array or object and one of value in this argument is matched then it will be returntrue. - $caseInSensitive : bool = false
 - 
                    
Set to
trueto case insensitive check,false(default) to case sensitive check. 
Return values
bool —Return true if matched, return false for otherwise.
setChecked()
Set checked if value and input value is matched.
    public
                    setChecked(mixed $value, mixed $inputValue[, bool $caseInSensitive = false ]) : string
    Parameters
- $value : mixed
 - 
                    
The value to check. Its type must be scalar or
null. - $inputValue : mixed
 - 
                    
The input value to check. Its type must be scalar,
null, array, object. - $caseInSensitive : bool = false
 - 
                    
Set to
trueto case insensitive check,false(default) to case sensitive check. 
Return values
string —Return string selected if matched.
setSelected()
Set selected if value and input value is matched.
    public
                    setSelected(mixed $value, mixed $inputValue[, bool $caseInSensitive = false ]) : string
    Parameters
- $value : mixed
 - 
                    
The value to check. Its type must be scalar or
null. - $inputValue : mixed
 - 
                    
The input value to check. Its type must be scalar,
null, array, object. - $caseInSensitive : bool = false
 - 
                    
Set to
trueto case insensitive check,false(default) to case sensitive check. 
Return values
string —Return string selected if matched.