mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-30 01:56:35 +08:00
Update to https protocol for php.net links (#17168) [skip ci]
* Updated php.net link for some MemCache properties [skip ci] * Changed protocol to https for links to php.net in comments * Changed protocol to https for links to php.net in code * Changed www.php.net (http) to secure.php.net (https) in comments * Changed www.php.net (http) to secure.php.net (https) in code * Changed protocol to https for links to php.net in UPGRADE.md * Changed protocol to https for links to pecl.php.net in comments * Changed us.php.net to secure.php.net (https) in comments * Changed protocol to https for links to php.net in docs * Changed www.php.net (http) to secure.php.net (https) in docs * Changed protocol to https for links to pecl.php.net in docs * Changed ru/jp.php.net to secure.php.net (https) in docs Don't sure about russian guide: is this links meant to be for guide on russian, or not?
This commit is contained in:
committed by
Alexander Makarov
parent
8cc74f5c57
commit
bdb7c64910
@ -471,7 +471,7 @@ abstract class Application extends Module
|
||||
* If time zone is not configured in php.ini or application config,
|
||||
* it will be set to UTC by default.
|
||||
* @return string the time zone used by this application.
|
||||
* @see http://php.net/manual/en/function.date-default-timezone-get.php
|
||||
* @see https://secure.php.net/manual/en/function.date-default-timezone-get.php
|
||||
*/
|
||||
public function getTimeZone()
|
||||
{
|
||||
@ -481,9 +481,9 @@ abstract class Application extends Module
|
||||
/**
|
||||
* Sets the time zone used by this application.
|
||||
* This is a simple wrapper of PHP function date_default_timezone_set().
|
||||
* Refer to the [php manual](http://www.php.net/manual/en/timezones.php) for available timezones.
|
||||
* Refer to the [php manual](https://secure.php.net/manual/en/timezones.php) for available timezones.
|
||||
* @param string $value the time zone used by this application.
|
||||
* @see http://php.net/manual/en/function.date-default-timezone-set.php
|
||||
* @see https://secure.php.net/manual/en/function.date-default-timezone-set.php
|
||||
*/
|
||||
public function setTimeZone($value)
|
||||
{
|
||||
|
||||
@ -173,7 +173,7 @@ class BaseObject implements Configurable
|
||||
* Note that if the property is not defined, false will be returned.
|
||||
* @param string $name the property name or the event name
|
||||
* @return bool whether the named property is set (not null).
|
||||
* @see http://php.net/manual/en/function.isset.php
|
||||
* @see https://secure.php.net/manual/en/function.isset.php
|
||||
*/
|
||||
public function __isset($name)
|
||||
{
|
||||
@ -195,7 +195,7 @@ class BaseObject implements Configurable
|
||||
* If the property is read-only, it will throw an exception.
|
||||
* @param string $name the property name
|
||||
* @throws InvalidCallException if the property is read only.
|
||||
* @see http://php.net/manual/en/function.unset.php
|
||||
* @see https://secure.php.net/manual/en/function.unset.php
|
||||
*/
|
||||
public function __unset($name)
|
||||
{
|
||||
|
||||
@ -222,7 +222,7 @@ class Component extends BaseObject
|
||||
* will be implicitly called when executing `isset($component->property)`.
|
||||
* @param string $name the property name or the event name
|
||||
* @return bool whether the named property is set
|
||||
* @see http://php.net/manual/en/function.isset.php
|
||||
* @see https://secure.php.net/manual/en/function.isset.php
|
||||
*/
|
||||
public function __isset($name)
|
||||
{
|
||||
@ -254,7 +254,7 @@ class Component extends BaseObject
|
||||
* will be implicitly called when executing `unset($component->property)`.
|
||||
* @param string $name the property name
|
||||
* @throws InvalidCallException if the property is read only.
|
||||
* @see http://php.net/manual/en/function.unset.php
|
||||
* @see https://secure.php.net/manual/en/function.unset.php
|
||||
*/
|
||||
public function __unset($name)
|
||||
{
|
||||
|
||||
@ -32,7 +32,7 @@ class ErrorException extends \ErrorException
|
||||
|
||||
/**
|
||||
* Constructs the exception.
|
||||
* @link http://php.net/manual/en/errorexception.construct.php
|
||||
* @link https://secure.php.net/manual/en/errorexception.construct.php
|
||||
* @param $message [optional]
|
||||
* @param $code [optional]
|
||||
* @param $severity [optional]
|
||||
|
||||
@ -55,12 +55,12 @@ class Security extends Component
|
||||
];
|
||||
/**
|
||||
* @var string Hash algorithm for key derivation. Recommend sha256, sha384 or sha512.
|
||||
* @see [hash_algos()](http://php.net/manual/en/function.hash-algos.php)
|
||||
* @see [hash_algos()](https://secure.php.net/manual/en/function.hash-algos.php)
|
||||
*/
|
||||
public $kdfHash = 'sha256';
|
||||
/**
|
||||
* @var string Hash algorithm for message authentication. Recommend sha256, sha384 or sha512.
|
||||
* @see [hash_algos()](http://php.net/manual/en/function.hash-algos.php)
|
||||
* @see [hash_algos()](https://secure.php.net/manual/en/function.hash-algos.php)
|
||||
*/
|
||||
public $macHash = 'sha256';
|
||||
/**
|
||||
@ -605,7 +605,7 @@ class Security extends Component
|
||||
* compute the hash doubles for every increment by one of $cost.
|
||||
* @return string The password hash string. When [[passwordHashStrategy]] is set to 'crypt',
|
||||
* the output is always 60 ASCII characters, when set to 'password_hash' the output length
|
||||
* might increase in future versions of PHP (http://php.net/manual/en/function.password-hash.php)
|
||||
* might increase in future versions of PHP (https://secure.php.net/manual/en/function.password-hash.php)
|
||||
* @throws Exception on bad password parameter or cost parameter.
|
||||
* @see validatePassword()
|
||||
*/
|
||||
@ -667,7 +667,7 @@ class Security extends Component
|
||||
/**
|
||||
* Generates a salt that can be used to generate a password hash.
|
||||
*
|
||||
* The PHP [crypt()](http://php.net/manual/en/function.crypt.php) built-in function
|
||||
* The PHP [crypt()](https://secure.php.net/manual/en/function.crypt.php) built-in function
|
||||
* requires, for the Blowfish hash algorithm, a salt string in a specific format:
|
||||
* "$2a$", "$2x$" or "$2y$", a two digit cost parameter, "$", and 22 characters
|
||||
* from the alphabet "./0-9A-Za-z".
|
||||
|
||||
Reference in New Issue
Block a user