Свойство | Тип | Описание | |
---|---|---|---|
$_params | array | Congifuration parameters. | |
$_supportShares | boolean | Whether this driver allows managing other users' rules. |
Метод | Описание | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
quote ( string $string ) : string | Quotes user input if supported by the transport driver. | |
setScriptActive ( array $script ) | Sets a script running on the backend. | |
supportShares ( ) : boolean | Returns whether the driver supports managing other users' rules. |
public __construct ( array $params = [] ) | ||
$params | array | Configuration parameters. |
public setScriptActive ( array $script ) | ||
$script | array | The filter script information. Passed elements: - 'name': (string) the script name. - 'recipes': (array) the filter recipe objects. - 'script': (string) the filter script. |