mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 07:47:00 +02:00
Docs typo fixes per processwire/processwire-issues#797
This commit is contained in:
@@ -506,7 +506,7 @@ $config->loginDisabledRoles = array(
|
||||
/**
|
||||
* Allow template files to be compiled?
|
||||
*
|
||||
* Set to false do disable the option for compiled template files.
|
||||
* Set to false to disable the option for compiled template files.
|
||||
* When set to true, it will be used unless a given template's 'compile' option is set to 0.
|
||||
* This setting also covers system status files like /site/ready.php, /site/init.php, etc. (3.0.142+)
|
||||
*
|
||||
|
@@ -616,7 +616,7 @@ class Pageimage extends Pagefile {
|
||||
*
|
||||
* - `quality` (int): Quality setting 1-100 (default=90, or as specified in /site/config.php).
|
||||
* - `upscaling` (bool): Allow image to be upscaled? (default=true).
|
||||
* - `cropping` (string|bool|array): Cropping mode, see possible values in "cropping" section below (default=center).
|
||||
* - `cropping` (string|bool|array): Cropping mode, see possible values in "cropping" section below (default=true).
|
||||
* - `suffix` (string|array): Suffix word to identify the new image, or use array of words for multiple (default=none).
|
||||
* - `forceNew` (bool): Force re-creation of the image even if it already exists? (default=false).
|
||||
* - `sharpening` (string): Sharpening mode: "none", "soft", "medium", or "strong" (default=soft).
|
||||
|
@@ -3989,7 +3989,7 @@ class Sanitizer extends Wire {
|
||||
/**
|
||||
* Sanitize value to be within the given min and max range
|
||||
*
|
||||
* If float or decimal string specified for $min argument, return value will be a float,
|
||||
* If float or decimal string specified for $min or $max arguments, return value will be a float,
|
||||
* otherwise an integer is returned.
|
||||
*
|
||||
* ~~~~~
|
||||
@@ -4028,7 +4028,7 @@ class Sanitizer extends Wire {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sanitize value to be at least the given $min value
|
||||
* Sanitize to have a minimum value
|
||||
*
|
||||
* If float or decimal string specified for $min argument, return value will be a float,
|
||||
* otherwise an integer is returned.
|
||||
@@ -4054,9 +4054,9 @@ class Sanitizer extends Wire {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sanitize value to be at least the given $min value
|
||||
* Sanitize to have a maximuim value
|
||||
*
|
||||
* If float or decimal string specified for $min argument, return value will be a float,
|
||||
* If float or decimal string specified for $max argument, return value will be a float,
|
||||
* otherwise an integer is returned.
|
||||
*
|
||||
* ~~~~~
|
||||
|
@@ -909,7 +909,7 @@ class WireHttp extends Wire {
|
||||
*
|
||||
* @param string $fromURL URL of file you want to download.
|
||||
* @param string $toFile Filename you want to save it to (including full path).
|
||||
* @param array $options Optional aptions array for PHP's stream_context_create(), plus these optional options:
|
||||
* @param array $options Optional options array for PHP's stream_context_create(), plus these optional options:
|
||||
* - `use` or `useMethod` (string): Specify "curl", "fopen" or "socket" to force a specific method (default=auto-detect).
|
||||
* - `timeout` (float): Number of seconds till timeout.
|
||||
* @return string Filename that was downloaded (including full path).
|
||||
|
Reference in New Issue
Block a user