1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 07:47:00 +02:00
This commit is contained in:
Ryan Cramer
2022-11-18 12:17:23 -05:00
parent 3d1c64f7e0
commit 2aedd2b6f5
4 changed files with 7 additions and 7 deletions

View File

@@ -506,7 +506,7 @@ $config->loginDisabledRoles = array(
/** /**
* Allow template files to be compiled? * 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. * 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+) * This setting also covers system status files like /site/ready.php, /site/init.php, etc. (3.0.142+)
* *

View File

@@ -616,7 +616,7 @@ class Pageimage extends Pagefile {
* *
* - `quality` (int): Quality setting 1-100 (default=90, or as specified in /site/config.php). * - `quality` (int): Quality setting 1-100 (default=90, or as specified in /site/config.php).
* - `upscaling` (bool): Allow image to be upscaled? (default=true). * - `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). * - `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). * - `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). * - `sharpening` (string): Sharpening mode: "none", "soft", "medium", or "strong" (default=soft).

View File

@@ -3989,7 +3989,7 @@ class Sanitizer extends Wire {
/** /**
* Sanitize value to be within the given min and max range * 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. * 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, * If float or decimal string specified for $min argument, return value will be a float,
* otherwise an integer is returned. * 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. * otherwise an integer is returned.
* *
* ~~~~~ * ~~~~~

View File

@@ -909,7 +909,7 @@ class WireHttp extends Wire {
* *
* @param string $fromURL URL of file you want to download. * @param string $fromURL URL of file you want to download.
* @param string $toFile Filename you want to save it to (including full path). * @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). * - `use` or `useMethod` (string): Specify "curl", "fopen" or "socket" to force a specific method (default=auto-detect).
* - `timeout` (float): Number of seconds till timeout. * - `timeout` (float): Number of seconds till timeout.
* @return string Filename that was downloaded (including full path). * @return string Filename that was downloaded (including full path).