1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 10:15:28 +02:00

Bump version to 3.0.210, plus some minor documentation updates

This commit is contained in:
Ryan Cramer
2023-01-06 13:22:30 -05:00
parent d45a6be4df
commit cc43f8e676
5 changed files with 15 additions and 8 deletions

View File

@@ -1361,7 +1361,7 @@ class InputfieldWrapper extends Inputfield implements \Countable, \IteratorAggre
*
* #pw-group-errors
*
* @return Inputfield[]
* @return array|Inputfield[] Array of Inputfield objects indexed by Inputfield name attribute
* @since 3.0.205
*
*/

View File

@@ -79,13 +79,13 @@ class ProcessWire extends Wire {
* Reversion revision number
*
*/
const versionRevision = 209;
const versionRevision = 210;
/**
* Version suffix string (when applicable)
*
*/
const versionSuffix = 'dev';
const versionSuffix = '';
/**
* Minimum required index.php version, represented by the PROCESSWIRE define

View File

@@ -1293,7 +1293,7 @@ class Sanitizer extends Wire {
* @param string $value Email address to sanitize and validate.
* @param array $options All options require 3.0.208+
* - `allowIDN` (bool|int): Allow internationalized domain names? (default=false)
* Specify int 2 to also allow UTF-8 in local-part of email [SMTPUTF8] (i.e. "bøb" in "bøb@email.com")
* Specify int 2 to also allow UTF-8 in local-part of email [SMTPUTF8] (i.e. `bøb`).
* - `getASCII` (bool): Returns ASCII encoded version of email when host is IDN (default=false)
* Does not require the allowIDN option since returned email host will be only ASCII.
* Not meant to be combined with allowIDN=2 option since local-part of email does not ASCII encode.

View File

@@ -981,7 +981,7 @@ class WireDatabasePDO extends Wire implements WireDatabase {
*
*/
public function queryLog($sql = '', $note = '') {
if(empty($sql)) return $this->queryLog;
if($sql === '') return $this->queryLog;
if($sql === true) {
$this->debugMode = true;
$this->queryLog = array();
@@ -1309,7 +1309,7 @@ class WireDatabasePDO extends Wire implements WireDatabase {
* @param array $columns Associative array with one or more of `[ 'old_name' => 'new_name' ]`
* @return int Number of columns renamed
* @since 3.0.185
* @throws \PDOException|WireException
* @throws \PDOException
*
*/
public function renameColumns($table, array $columns) {
@@ -1352,7 +1352,7 @@ class WireDatabasePDO extends Wire implements WireDatabase {
* @param string $oldName
* @param string $newName
* @return bool
* @throws \PDOException|WireException
* @throws \PDOException
* @since 3.0.185
*
*/

View File

@@ -3,9 +3,11 @@
/**
* RepeaterPage represents an individual repeater page item
*
* ProcessWire 3.x, Copyright 2021 by Ryan Cramer
* ProcessWire 3.x, Copyright 2023 by Ryan Cramer
* https://processwire.com
*
* @property-read int $depth
*
*/
class RepeaterPage extends Page {
@@ -226,6 +228,11 @@ class RepeaterPage extends Page {
$this->depth = $depth;
}
/* @todo
public function depthParent() { }
public function depthChildren() { }
*/
/**
* Is this page public?
*