Use HTTPS for the book.cakephp.org URL

This commit is contained in:
Marc Würth 2017-06-11 00:15:34 +02:00
parent 10b89b51a9
commit 04efc7ba50
361 changed files with 1112 additions and 1112 deletions

View file

@ -28,7 +28,7 @@ App::uses('Controller', 'Controller');
* will inherit them. * will inherit them.
* *
* @package app.Controller * @package app.Controller
* @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller * @link https://book.cakephp.org/2.0/en/controllers.html#the-app-controller
*/ */
class AppController extends Controller { class AppController extends Controller {
} }

View file

@ -26,7 +26,7 @@ App::uses('AppController', 'Controller');
* Override this controller by placing a copy in controllers directory of an application * Override this controller by placing a copy in controllers directory of an application
* *
* @package app.Controller * @package app.Controller
* @link http://book.cakephp.org/2.0/en/controllers/pages-controller.html * @link https://book.cakephp.org/2.0/en/controllers/pages-controller.html
*/ */
class PagesController extends AppController { class PagesController extends AppController {

View file

@ -23,8 +23,8 @@ endif;
<?php if (file_exists(WWW_ROOT . 'css' . DS . 'cake.generic.css')): ?> <?php if (file_exists(WWW_ROOT . 'css' . DS . 'cake.generic.css')): ?>
<p id="url-rewriting-warning" style="background-color:#e32; color:#fff;"> <p id="url-rewriting-warning" style="background-color:#e32; color:#fff;">
<?php echo __d('cake_dev', 'URL rewriting is not properly configured on your server.'); ?> <?php echo __d('cake_dev', 'URL rewriting is not properly configured on your server.'); ?>
1) <a target="_blank" href="http://book.cakephp.org/2.0/en/installation/url-rewriting.html" style="color:#fff;">Help me configure it</a> 1) <a target="_blank" href="https://book.cakephp.org/2.0/en/installation/url-rewriting.html" style="color:#fff;">Help me configure it</a>
2) <a target="_blank" href="http://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configuration" style="color:#fff;">I don't / can't use URL rewriting</a> 2) <a target="_blank" href="https://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configuration" style="color:#fff;">I don't / can't use URL rewriting</a>
</p> </p>
<?php endif; ?> <?php endif; ?>
<p> <p>
@ -159,7 +159,7 @@ You can also add some CSS styles for your pages at: %s.',
<?php <?php
echo $this->Html->link( echo $this->Html->link(
sprintf('<strong>%s</strong> %s', __d('cake_dev', 'New'), __d('cake_dev', 'CakePHP 2.0 Docs')), sprintf('<strong>%s</strong> %s', __d('cake_dev', 'New'), __d('cake_dev', 'CakePHP 2.0 Docs')),
'http://book.cakephp.org/2.0/en/', 'https://book.cakephp.org/2.0/en/',
array('target' => '_blank', 'escape' => false) array('target' => '_blank', 'escape' => false)
); );
?> ?>
@ -168,7 +168,7 @@ You can also add some CSS styles for your pages at: %s.',
<?php <?php
echo $this->Html->link( echo $this->Html->link(
__d('cake_dev', 'The 15 min Blog Tutorial'), __d('cake_dev', 'The 15 min Blog Tutorial'),
'http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html', 'https://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html',
array('target' => '_blank', 'escape' => false) array('target' => '_blank', 'escape' => false)
); );
?> ?>
@ -199,7 +199,7 @@ You can also add some CSS styles for your pages at: %s.',
<ul> <ul>
<li><a href="https://cakephp.org">CakePHP</a> <li><a href="https://cakephp.org">CakePHP</a>
<ul><li><?php echo __d('cake_dev', 'The Rapid Development Framework'); ?></li></ul></li> <ul><li><?php echo __d('cake_dev', 'The Rapid Development Framework'); ?></li></ul></li>
<li><a href="http://book.cakephp.org"><?php echo __d('cake_dev', 'CakePHP Documentation'); ?> </a> <li><a href="https://book.cakephp.org"><?php echo __d('cake_dev', 'CakePHP Documentation'); ?> </a>
<ul><li><?php echo __d('cake_dev', 'Your Rapid Development Cookbook'); ?></li></ul></li> <ul><li><?php echo __d('cake_dev', 'Your Rapid Development Cookbook'); ?></li></ul></li>
<li><a href="http://api.cakephp.org"><?php echo __d('cake_dev', 'CakePHP API'); ?> </a> <li><a href="http://api.cakephp.org"><?php echo __d('cake_dev', 'CakePHP API'); ?> </a>
<ul><li><?php echo __d('cake_dev', 'Quick API Reference'); ?></li></ul></li> <ul><li><?php echo __d('cake_dev', 'Quick API Reference'); ?></li></ul></li>

View file

@ -2,7 +2,7 @@
/** /**
* Web Access Frontend for TestSuite * Web Access Frontend for TestSuite
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html * @link https://book.cakephp.org/2.0/en/development/testing.html
* @package app.webroot * @package app.webroot
* @since CakePHP(tm) v 1.2.0.4433 * @since CakePHP(tm) v 1.2.0.4433
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -9,7 +9,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/configuration.html#loading-configuration-files CakePHP(tm) Configuration * @link https://book.cakephp.org/2.0/en/development/configuration.html#loading-configuration-files CakePHP(tm) Configuration
* @package Cake.Configure * @package Cake.Configure
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -30,7 +30,7 @@ App::uses('Model', 'Model');
* models, and views. Going further, Bake can also write Unit Tests for you. * models, and views. Going further, Bake can also write Unit Tests for you.
* *
* @package Cake.Console.Command * @package Cake.Console.Command
* @link http://book.cakephp.org/2.0/en/console-and-shells/code-generation-with-bake.html * @link https://book.cakephp.org/2.0/en/console-and-shells/code-generation-with-bake.html
*/ */
class BakeShell extends AppShell { class BakeShell extends AppShell {

View file

@ -25,7 +25,7 @@ App::uses('CakeSchema', 'Model');
* of your database. * of your database.
* *
* @package Cake.Console.Command * @package Cake.Console.Command
* @link http://book.cakephp.org/2.0/en/console-and-shells/schema-management-and-migrations.html * @link https://book.cakephp.org/2.0/en/console-and-shells/schema-management-and-migrations.html
*/ */
class SchemaShell extends AppShell { class SchemaShell extends AppShell {

View file

@ -78,7 +78,7 @@ class ServerShell extends AppShell {
* or otherwise modify the pre-command flow. * or otherwise modify the pre-command flow.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::startup * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::startup
*/ */
public function startup() { public function startup() {
if (!empty($this->params['host'])) { if (!empty($this->params['host'])) {

View file

@ -4,7 +4,7 @@
* *
* This Shell allows the running of test suites via the cake command line * This Shell allows the running of test suites via the cake command line
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html * @link https://book.cakephp.org/2.0/en/development/testing.html
* @since CakePHP(tm) v 1.2.0.4433 * @since CakePHP(tm) v 1.2.0.4433
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License
*/ */

View file

@ -4,7 +4,7 @@
* *
* This is a bc wrapper for the newer Test shell * This is a bc wrapper for the newer Test shell
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html * @link https://book.cakephp.org/2.0/en/development/testing.html
* @since CakePHP(tm) v 1.2.0.4433 * @since CakePHP(tm) v 1.2.0.4433
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License
*/ */

View file

@ -112,7 +112,7 @@ class Shell extends CakeObject {
* Contains tasks to load and instantiate * Contains tasks to load and instantiate
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::$tasks * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::$tasks
*/ */
public $tasks = array(); public $tasks = array();
@ -127,7 +127,7 @@ class Shell extends CakeObject {
* Contains models to load and instantiate * Contains models to load and instantiate
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::$uses * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::$uses
*/ */
public $uses = array(); public $uses = array();
@ -194,7 +194,7 @@ class Shell extends CakeObject {
* @param ConsoleOutput $stdout A ConsoleOutput object for stdout. * @param ConsoleOutput $stdout A ConsoleOutput object for stdout.
* @param ConsoleOutput $stderr A ConsoleOutput object for stderr. * @param ConsoleOutput $stderr A ConsoleOutput object for stderr.
* @param ConsoleInput $stdin A ConsoleInput object for stdin. * @param ConsoleInput $stdin A ConsoleInput object for stdin.
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell
*/ */
public function __construct($stdout = null, $stderr = null, $stdin = null) { public function __construct($stdout = null, $stderr = null, $stdin = null) {
if (!$this->name) { if (!$this->name) {
@ -222,7 +222,7 @@ class Shell extends CakeObject {
* allows configuration of tasks prior to shell execution * allows configuration of tasks prior to shell execution
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::initialize * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::initialize
*/ */
public function initialize() { public function initialize() {
$this->_loadModels(); $this->_loadModels();
@ -237,7 +237,7 @@ class Shell extends CakeObject {
* or otherwise modify the pre-command flow. * or otherwise modify the pre-command flow.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::startup * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::startup
*/ */
public function startup() { public function startup() {
$this->_welcome(); $this->_welcome();
@ -340,7 +340,7 @@ class Shell extends CakeObject {
* *
* @param string $task The task name to check. * @param string $task The task name to check.
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::hasTask * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::hasTask
*/ */
public function hasTask($task) { public function hasTask($task) {
return isset($this->_taskMap[Inflector::camelize($task)]); return isset($this->_taskMap[Inflector::camelize($task)]);
@ -351,7 +351,7 @@ class Shell extends CakeObject {
* *
* @param string $name The method name to check. * @param string $name The method name to check.
* @return bool * @return bool
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::hasMethod * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::hasMethod
*/ */
public function hasMethod($name) { public function hasMethod($name) {
try { try {
@ -387,7 +387,7 @@ class Shell extends CakeObject {
* `return $this->dispatchShell('schema', 'create', 'i18n', '--dry');` * `return $this->dispatchShell('schema', 'create', 'i18n', '--dry');`
* *
* @return mixed The return of the other shell. * @return mixed The return of the other shell.
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::dispatchShell * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::dispatchShell
*/ */
public function dispatchShell() { public function dispatchShell() {
$args = func_get_args(); $args = func_get_args();
@ -416,7 +416,7 @@ class Shell extends CakeObject {
* and the shell has a `main()` method, that will be called instead. * and the shell has a `main()` method, that will be called instead.
* @param array $argv Array of arguments to run the shell with. This array should be missing the shell name. * @param array $argv Array of arguments to run the shell with. This array should be missing the shell name.
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::runCommand * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::runCommand
*/ */
public function runCommand($command, $argv) { public function runCommand($command, $argv) {
$isTask = $this->hasTask($command); $isTask = $this->hasTask($command);
@ -487,7 +487,7 @@ class Shell extends CakeObject {
* By overriding this method you can configure the ConsoleOptionParser before returning it. * By overriding this method you can configure the ConsoleOptionParser before returning it.
* *
* @return ConsoleOptionParser * @return ConsoleOptionParser
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::getOptionParser * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::getOptionParser
*/ */
public function getOptionParser() { public function getOptionParser() {
$name = ($this->plugin ? $this->plugin . '.' : '') . $this->name; $name = ($this->plugin ? $this->plugin . '.' : '') . $this->name;
@ -533,7 +533,7 @@ class Shell extends CakeObject {
* @param string|array $options Array or string of options. * @param string|array $options Array or string of options.
* @param string $default Default input value. * @param string $default Default input value.
* @return mixed Either the default value, or the user-provided input. * @return mixed Either the default value, or the user-provided input.
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::in * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::in
*/ */
public function in($prompt, $options = null, $default = null) { public function in($prompt, $options = null, $default = null) {
if (!$this->interactive) { if (!$this->interactive) {
@ -612,7 +612,7 @@ class Shell extends CakeObject {
* @param string|int|array $options Array of options to use, or an integer to wrap the text to. * @param string|int|array $options Array of options to use, or an integer to wrap the text to.
* @return string Wrapped / indented text * @return string Wrapped / indented text
* @see CakeText::wrap() * @see CakeText::wrap()
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::wrapText * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::wrapText
*/ */
public function wrapText($text, $options = array()) { public function wrapText($text, $options = array()) {
return CakeText::wrap($text, $options); return CakeText::wrap($text, $options);
@ -633,7 +633,7 @@ class Shell extends CakeObject {
* @param int $newlines Number of newlines to append * @param int $newlines Number of newlines to append
* @param int $level The message's output level, see above. * @param int $level The message's output level, see above.
* @return int|bool Returns the number of bytes returned from writing to stdout. * @return int|bool Returns the number of bytes returned from writing to stdout.
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::out * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::out
*/ */
public function out($message = null, $newlines = 1, $level = Shell::NORMAL) { public function out($message = null, $newlines = 1, $level = Shell::NORMAL) {
$currentLevel = Shell::NORMAL; $currentLevel = Shell::NORMAL;
@ -688,7 +688,7 @@ class Shell extends CakeObject {
* @param string|array $message A string or an array of strings to output * @param string|array $message A string or an array of strings to output
* @param int $newlines Number of newlines to append * @param int $newlines Number of newlines to append
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::err * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::err
*/ */
public function err($message = null, $newlines = 1) { public function err($message = null, $newlines = 1) {
$this->stderr->write($message, $newlines); $this->stderr->write($message, $newlines);
@ -699,7 +699,7 @@ class Shell extends CakeObject {
* *
* @param int $multiplier Number of times the linefeed sequence should be repeated * @param int $multiplier Number of times the linefeed sequence should be repeated
* @return string * @return string
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::nl * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::nl
*/ */
public function nl($multiplier = 1) { public function nl($multiplier = 1) {
return str_repeat(ConsoleOutput::LF, $multiplier); return str_repeat(ConsoleOutput::LF, $multiplier);
@ -711,7 +711,7 @@ class Shell extends CakeObject {
* @param int $newlines Number of newlines to pre- and append * @param int $newlines Number of newlines to pre- and append
* @param int $width Width of the line, defaults to 63 * @param int $width Width of the line, defaults to 63
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::hr * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::hr
*/ */
public function hr($newlines = 0, $width = 63) { public function hr($newlines = 0, $width = 63) {
$this->out(null, $newlines); $this->out(null, $newlines);
@ -726,7 +726,7 @@ class Shell extends CakeObject {
* @param string $title Title of the error * @param string $title Title of the error
* @param string $message An optional error message * @param string $message An optional error message
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::error * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::error
*/ */
public function error($title, $message = null) { public function error($title, $message = null) {
$this->err(__d('cake_console', '<error>Error:</error> %s', $title)); $this->err(__d('cake_console', '<error>Error:</error> %s', $title));
@ -742,7 +742,7 @@ class Shell extends CakeObject {
* Clear the console * Clear the console
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::clear * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::clear
*/ */
public function clear() { public function clear() {
if (empty($this->params['noclear'])) { if (empty($this->params['noclear'])) {
@ -760,7 +760,7 @@ class Shell extends CakeObject {
* @param string $path Where to put the file. * @param string $path Where to put the file.
* @param string $contents Content to put in the file. * @param string $contents Content to put in the file.
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::createFile * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::createFile
*/ */
public function createFile($path, $contents) { public function createFile($path, $contents) {
$path = str_replace(DS . DS, DS, $path); $path = str_replace(DS . DS, DS, $path);
@ -849,7 +849,7 @@ class Shell extends CakeObject {
* *
* @param string $file Absolute file path * @param string $file Absolute file path
* @return string short path * @return string short path
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::shortPath * @link https://book.cakephp.org/2.0/en/console-and-shells.html#Shell::shortPath
*/ */
public function shortPath($file) { public function shortPath($file) {
$shortPath = str_replace(ROOT, null, $file); $shortPath = str_replace(ROOT, null, $file);

View file

@ -106,7 +106,7 @@ class ShellDispatcher {
$message = "This file has been loaded incorrectly and cannot continue.\n" . $message = "This file has been loaded incorrectly and cannot continue.\n" .
"Please make sure that " . DS . 'lib' . DS . 'Cake' . DS . "Console is in your system path,\n" . "Please make sure that " . DS . 'lib' . DS . 'Cake' . DS . "Console is in your system path,\n" .
"and check the cookbook for the correct usage of this command.\n" . "and check the cookbook for the correct usage of this command.\n" .
"(http://book.cakephp.org/)"; "(https://book.cakephp.org/)";
throw new CakeException($message); throw new CakeException($message);
} }

View file

@ -19,7 +19,7 @@ App::uses('Controller', 'Controller');
* will inherit them. * will inherit them.
* *
* @package app.Controller * @package app.Controller
* @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller * @link https://book.cakephp.org/2.0/en/controllers.html#the-app-controller
*/ */
class AppController extends Controller { class AppController extends Controller {
} }

View file

@ -17,7 +17,7 @@ App::uses('AppController', 'Controller');
* Override this controller by placing a copy in controllers directory of an application * Override this controller by placing a copy in controllers directory of an application
* *
* @package app.Controller * @package app.Controller
* @link http://book.cakephp.org/2.0/en/controllers/pages-controller.html * @link https://book.cakephp.org/2.0/en/controllers/pages-controller.html
*/ */
class PagesController extends AppController { class PagesController extends AppController {

View file

@ -25,8 +25,8 @@ if (file_exists(WWW_ROOT . 'css' . DS . 'cake.generic.css')):
?> ?>
<p id="url-rewriting-warning" style="background-color:#e32; color:#fff;"> <p id="url-rewriting-warning" style="background-color:#e32; color:#fff;">
<?php echo __d('cake_dev', 'URL rewriting is not properly configured on your server.'); ?> <?php echo __d('cake_dev', 'URL rewriting is not properly configured on your server.'); ?>
1) <a target="_blank" href="http://book.cakephp.org/2.0/en/installation/url-rewriting.html" style="color:#fff;">Help me configure it</a> 1) <a target="_blank" href="https://book.cakephp.org/2.0/en/installation/url-rewriting.html" style="color:#fff;">Help me configure it</a>
2) <a target="_blank" href="http://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configuration" style="color:#fff;">I don't / can't use URL rewriting</a> 2) <a target="_blank" href="https://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configuration" style="color:#fff;">I don't / can't use URL rewriting</a>
</p> </p>
<?php <?php
endif; endif;
@ -162,7 +162,7 @@ You can also add some CSS styles for your pages at: %s.',
<?php <?php
echo $this->Html->link( echo $this->Html->link(
sprintf('<strong>%s</strong> %s', __d('cake_dev', 'New'), __d('cake_dev', 'CakePHP 2.0 Docs')), sprintf('<strong>%s</strong> %s', __d('cake_dev', 'New'), __d('cake_dev', 'CakePHP 2.0 Docs')),
'http://book.cakephp.org/2.0/en/', 'https://book.cakephp.org/2.0/en/',
array('target' => '_blank', 'escape' => false) array('target' => '_blank', 'escape' => false)
); );
?> ?>
@ -171,7 +171,7 @@ You can also add some CSS styles for your pages at: %s.',
<?php <?php
echo $this->Html->link( echo $this->Html->link(
__d('cake_dev', 'The 15 min Blog Tutorial'), __d('cake_dev', 'The 15 min Blog Tutorial'),
'http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html', 'https://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html',
array('target' => '_blank', 'escape' => false) array('target' => '_blank', 'escape' => false)
); );
?> ?>
@ -202,7 +202,7 @@ You can also add some CSS styles for your pages at: %s.',
<ul> <ul>
<li><a href="https://cakephp.org">CakePHP</a> <li><a href="https://cakephp.org">CakePHP</a>
<ul><li><?php echo __d('cake_dev', 'The Rapid Development Framework'); ?></li></ul></li> <ul><li><?php echo __d('cake_dev', 'The Rapid Development Framework'); ?></li></ul></li>
<li><a href="http://book.cakephp.org"><?php echo __d('cake_dev', 'CakePHP Documentation'); ?> </a> <li><a href="https://book.cakephp.org"><?php echo __d('cake_dev', 'CakePHP Documentation'); ?> </a>
<ul><li><?php echo __d('cake_dev', 'Your Rapid Development Cookbook'); ?></li></ul></li> <ul><li><?php echo __d('cake_dev', 'Your Rapid Development Cookbook'); ?></li></ul></li>
<li><a href="http://api.cakephp.org"><?php echo __d('cake_dev', 'CakePHP API'); ?> </a> <li><a href="http://api.cakephp.org"><?php echo __d('cake_dev', 'CakePHP API'); ?> </a>
<ul><li><?php echo __d('cake_dev', 'Quick API Reference'); ?></li></ul></li> <ul><li><?php echo __d('cake_dev', 'Quick API Reference'); ?></li></ul></li>

View file

@ -2,7 +2,7 @@
/** /**
* Web Access Frontend for TestSuite * Web Access Frontend for TestSuite
* *
* @link http://book.cakephp.org/2.0/en/development/testing.html * @link https://book.cakephp.org/2.0/en/development/testing.html
* @package app.webroot * @package app.webroot
* @since CakePHP(tm) v 1.2.0.4433 * @since CakePHP(tm) v 1.2.0.4433
*/ */

View file

@ -34,7 +34,7 @@ App::uses('ComponentCollection', 'Controller');
* - `beforeRedirect()` - Fired before a redirect() is done. * - `beforeRedirect()` - Fired before a redirect() is done.
* *
* @package Cake.Controller * @package Cake.Controller
* @link http://book.cakephp.org/2.0/en/controllers/components.html * @link https://book.cakephp.org/2.0/en/controllers/components.html
* @see Controller::$components * @see Controller::$components
*/ */
class Component extends CakeObject { class Component extends CakeObject {
@ -103,7 +103,7 @@ class Component extends CakeObject {
* *
* @param Controller $controller Controller with components to initialize * @param Controller $controller Controller with components to initialize
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers/components.html#Component::initialize * @link https://book.cakephp.org/2.0/en/controllers/components.html#Component::initialize
*/ */
public function initialize(Controller $controller) { public function initialize(Controller $controller) {
} }
@ -113,7 +113,7 @@ class Component extends CakeObject {
* *
* @param Controller $controller Controller with components to startup * @param Controller $controller Controller with components to startup
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers/components.html#Component::startup * @link https://book.cakephp.org/2.0/en/controllers/components.html#Component::startup
*/ */
public function startup(Controller $controller) { public function startup(Controller $controller) {
} }
@ -124,7 +124,7 @@ class Component extends CakeObject {
* *
* @param Controller $controller Controller with components to beforeRender * @param Controller $controller Controller with components to beforeRender
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers/components.html#Component::beforeRender * @link https://book.cakephp.org/2.0/en/controllers/components.html#Component::beforeRender
*/ */
public function beforeRender(Controller $controller) { public function beforeRender(Controller $controller) {
} }
@ -134,7 +134,7 @@ class Component extends CakeObject {
* *
* @param Controller $controller Controller with components to shutdown * @param Controller $controller Controller with components to shutdown
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers/components.html#Component::shutdown * @link https://book.cakephp.org/2.0/en/controllers/components.html#Component::shutdown
*/ */
public function shutdown(Controller $controller) { public function shutdown(Controller $controller) {
} }
@ -156,7 +156,7 @@ class Component extends CakeObject {
* @param int $status The status code of the redirect * @param int $status The status code of the redirect
* @param bool $exit Will the script exit. * @param bool $exit Will the script exit.
* @return array|null Either an array or null. * @return array|null Either an array or null.
* @link http://book.cakephp.org/2.0/en/controllers/components.html#Component::beforeRedirect * @link https://book.cakephp.org/2.0/en/controllers/components.html#Component::beforeRedirect
*/ */
public function beforeRedirect(Controller $controller, $url, $status = null, $exit = true) { public function beforeRedirect(Controller $controller, $url, $status = null, $exit = true) {
} }

View file

@ -67,7 +67,7 @@ class DbAcl extends CakeObject implements AclInterface {
* @param string $aco ACO The controlled object identifier. * @param string $aco ACO The controlled object identifier.
* @param string $action Action (defaults to *) * @param string $action Action (defaults to *)
* @return bool Success (true if ARO has access to action in ACO, false otherwise) * @return bool Success (true if ARO has access to action in ACO, false otherwise)
* @link http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html#checking-permissions-the-acl-component * @link https://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html#checking-permissions-the-acl-component
*/ */
public function check($aro, $aco, $action = "*") { public function check($aro, $aco, $action = "*") {
return $this->Permission->check($aro, $aco, $action); return $this->Permission->check($aro, $aco, $action);
@ -81,7 +81,7 @@ class DbAcl extends CakeObject implements AclInterface {
* @param string $actions Action (defaults to *) * @param string $actions Action (defaults to *)
* @param int $value Value to indicate access type (1 to give access, -1 to deny, 0 to inherit) * @param int $value Value to indicate access type (1 to give access, -1 to deny, 0 to inherit)
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html#assigning-permissions * @link https://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html#assigning-permissions
*/ */
public function allow($aro, $aco, $actions = "*", $value = 1) { public function allow($aro, $aco, $actions = "*", $value = 1) {
return $this->Permission->allow($aro, $aco, $actions, $value); return $this->Permission->allow($aro, $aco, $actions, $value);
@ -94,7 +94,7 @@ class DbAcl extends CakeObject implements AclInterface {
* @param string $aco ACO The controlled object identifier. * @param string $aco ACO The controlled object identifier.
* @param string $action Action (defaults to *) * @param string $action Action (defaults to *)
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html#assigning-permissions * @link https://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html#assigning-permissions
*/ */
public function deny($aro, $aco, $action = "*") { public function deny($aro, $aco, $action = "*") {
return $this->allow($aro, $aco, $action, -1); return $this->allow($aro, $aco, $action, -1);

View file

@ -25,7 +25,7 @@ App::uses('AclInterface', 'Controller/Component/Acl');
* you specify must implement `AclInterface` * you specify must implement `AclInterface`
* *
* @package Cake.Controller.Component * @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html * @link https://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html
*/ */
class AclComponent extends Component { class AclComponent extends Component {

View file

@ -28,7 +28,7 @@ class BlowfishPasswordHasher extends AbstractPasswordHasher {
* *
* @param string $password Plain text password to hash. * @param string $password Plain text password to hash.
* @return string Password hash * @return string Password hash
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#using-bcrypt-for-passwords * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#using-bcrypt-for-passwords
*/ */
public function hash($password) { public function hash($password) {
return Security::hash($password, 'blowfish', false); return Security::hash($password, 'blowfish', false);

View file

@ -35,7 +35,7 @@ class SimplePasswordHasher extends AbstractPasswordHasher {
* *
* @param string $password Plain text password to hash. * @param string $password Plain text password to hash.
* @return string Password hash * @return string Password hash
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords
*/ */
public function hash($password) { public function hash($password) {
return Security::hash($password, $this->_config['hashType'], true); return Security::hash($password, $this->_config['hashType'], true);

View file

@ -34,7 +34,7 @@ App::uses('CakeEvent', 'Event');
* Binds access control with user authentication and session management. * Binds access control with user authentication and session management.
* *
* @package Cake.Controller.Component * @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html
*/ */
class AuthComponent extends Component { class AuthComponent extends Component {
@ -82,7 +82,7 @@ class AuthComponent extends Component {
* You can also use AuthComponent::ALL instead of the string 'all'. * You can also use AuthComponent::ALL instead of the string 'all'.
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html
*/ */
public $authenticate = array('Form'); public $authenticate = array('Form');
@ -122,7 +122,7 @@ class AuthComponent extends Component {
* You can also use AuthComponent::ALL instead of the string 'all' * You can also use AuthComponent::ALL instead of the string 'all'
* *
* @var mixed * @var mixed
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#authorization * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#authorization
*/ */
public $authorize = false; public $authorize = false;
@ -193,7 +193,7 @@ class AuthComponent extends Component {
* set, redirectUrl() method will return the URL specified in $loginRedirect. * set, redirectUrl() method will return the URL specified in $loginRedirect.
* *
* @var mixed * @var mixed
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#AuthComponent::$loginRedirect * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#AuthComponent::$loginRedirect
*/ */
public $loginRedirect = null; public $loginRedirect = null;
@ -213,7 +213,7 @@ class AuthComponent extends Component {
* access. * access.
* *
* @var string|bool * @var string|bool
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#AuthComponent::$authError * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#AuthComponent::$authError
*/ */
public $authError = null; public $authError = null;
@ -518,7 +518,7 @@ class AuthComponent extends Component {
* *
* @param string|array|null $action Controller action name or array of actions * @param string|array|null $action Controller action name or array of actions
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#making-actions-public * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#making-actions-public
*/ */
public function allow($action = null) { public function allow($action = null) {
$args = func_get_args(); $args = func_get_args();
@ -544,7 +544,7 @@ class AuthComponent extends Component {
* @param string|array|null $action Controller action name or array of actions * @param string|array|null $action Controller action name or array of actions
* @return void * @return void
* @see AuthComponent::allow() * @see AuthComponent::allow()
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#making-actions-require-authorization * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#making-actions-require-authorization
*/ */
public function deny($action = null) { public function deny($action = null) {
$args = func_get_args(); $args = func_get_args();
@ -574,7 +574,7 @@ class AuthComponent extends Component {
* @param array $map Actions to map * @param array $map Actions to map
* @return array * @return array
* @see BaseAuthorize::mapActions() * @see BaseAuthorize::mapActions()
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#mapping-actions-when-using-crudauthorize * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#mapping-actions-when-using-crudauthorize
* @deprecated 3.0.0 Map actions using `actionMap` config key on authorize objects instead * @deprecated 3.0.0 Map actions using `actionMap` config key on authorize objects instead
*/ */
public function mapActions($map = array()) { public function mapActions($map = array()) {
@ -602,7 +602,7 @@ class AuthComponent extends Component {
* *
* @param array|null $user Either an array of user data, or null to identify a user using the current request. * @param array|null $user Either an array of user data, or null to identify a user using the current request.
* @return bool True on login success, false on failure * @return bool True on login success, false on failure
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#identifying-users-and-logging-them-in * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#identifying-users-and-logging-them-in
*/ */
public function login($user = null) { public function login($user = null) {
$this->_setDefaults(); $this->_setDefaults();
@ -634,7 +634,7 @@ class AuthComponent extends Component {
* *
* @return string AuthComponent::$logoutRedirect * @return string AuthComponent::$logoutRedirect
* @see AuthComponent::$logoutRedirect * @see AuthComponent::$logoutRedirect
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#logging-users-out * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#logging-users-out
*/ */
public function logout() { public function logout() {
$this->_setDefaults(); $this->_setDefaults();
@ -661,7 +661,7 @@ class AuthComponent extends Component {
* *
* @param string|null $key field to retrieve. Leave null to get entire User record * @param string|null $key field to retrieve. Leave null to get entire User record
* @return mixed|null User record. or null if no user is logged in. * @return mixed|null User record. or null if no user is logged in.
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#accessing-the-logged-in-user * @link https://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#accessing-the-logged-in-user
*/ */
public static function user($key = null) { public static function user($key = null) {
if (!empty(static::$_user)) { if (!empty(static::$_user)) {

View file

@ -26,7 +26,7 @@ App::uses('Hash', 'Utility');
* Cookie handling for the controller. * Cookie handling for the controller.
* *
* @package Cake.Controller.Component * @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/cookie.html * @link https://book.cakephp.org/2.0/en/core-libraries/components/cookie.html
*/ */
class CookieComponent extends Component { class CookieComponent extends Component {
@ -211,7 +211,7 @@ class CookieComponent extends Component {
* @param int|string $expires Can be either the number of seconds until a cookie * @param int|string $expires Can be either the number of seconds until a cookie
* expires, or a strtotime compatible time offset. * expires, or a strtotime compatible time offset.
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::write * @link https://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::write
*/ */
public function write($key, $value = null, $encrypt = true, $expires = null) { public function write($key, $value = null, $encrypt = true, $expires = null) {
if (empty($this->_values[$this->name])) { if (empty($this->_values[$this->name])) {
@ -262,7 +262,7 @@ class CookieComponent extends Component {
* *
* @param string $key Key of the value to be obtained. If none specified, obtain map key => values * @param string $key Key of the value to be obtained. If none specified, obtain map key => values
* @return string|null Value for specified key * @return string|null Value for specified key
* @link http://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::read * @link https://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::read
*/ */
public function read($key = null) { public function read($key = null) {
if (empty($this->_values[$this->name]) && isset($_COOKIE[$this->name])) { if (empty($this->_values[$this->name]) && isset($_COOKIE[$this->name])) {
@ -322,7 +322,7 @@ class CookieComponent extends Component {
* *
* @param string $key Key of the value to be deleted * @param string $key Key of the value to be deleted
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::delete * @link https://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::delete
*/ */
public function delete($key) { public function delete($key) {
if (empty($this->_values[$this->name])) { if (empty($this->_values[$this->name])) {
@ -352,7 +352,7 @@ class CookieComponent extends Component {
* Failure to do so will result in header already sent errors. * Failure to do so will result in header already sent errors.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::destroy * @link https://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::destroy
*/ */
public function destroy() { public function destroy() {
if (isset($_COOKIE[$this->name])) { if (isset($_COOKIE[$this->name])) {

View file

@ -27,8 +27,8 @@ App::uses('CakeEmail', 'Network/Email');
* based on the standard outlined in http://www.rfc-editor.org/rfc/rfc2822.txt * based on the standard outlined in http://www.rfc-editor.org/rfc/rfc2822.txt
* *
* @package Cake.Controller.Component * @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/email.html * @link https://book.cakephp.org/2.0/en/core-libraries/components/email.html
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/email.html * @link https://book.cakephp.org/2.0/en/core-utility-libraries/email.html
* @deprecated 3.0.0 Will be removed in 3.0. Use Network/CakeEmail instead * @deprecated 3.0.0 Will be removed in 3.0. Use Network/CakeEmail instead
*/ */
class EmailComponent extends Component { class EmailComponent extends Component {

View file

@ -66,7 +66,7 @@ App::uses('Hash', 'Utility');
* Would paginate using the `find('popular')` method. * Would paginate using the `find('popular')` method.
* *
* @package Cake.Controller.Component * @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/pagination.html * @link https://book.cakephp.org/2.0/en/core-libraries/components/pagination.html
*/ */
class PaginatorComponent extends Component { class PaginatorComponent extends Component {

View file

@ -31,7 +31,7 @@ App::uses('Xml', 'Utility');
* should respond to the different needs of a handheld computer and a desktop machine. * should respond to the different needs of a handheld computer and a desktop machine.
* *
* @package Cake.Controller.Component * @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/request-handling.html * @link https://book.cakephp.org/2.0/en/core-libraries/components/request-handling.html
*/ */
class RequestHandlerComponent extends Component { class RequestHandlerComponent extends Component {

View file

@ -32,7 +32,7 @@ App::uses('Security', 'Utility');
* - Limiting cross controller communication. * - Limiting cross controller communication.
* *
* @package Cake.Controller.Component * @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html * @link https://book.cakephp.org/2.0/en/core-libraries/components/security-component.html
*/ */
class SecurityComponent extends Component { class SecurityComponent extends Component {
@ -254,7 +254,7 @@ class SecurityComponent extends Component {
* *
* @return void * @return void
* @deprecated 3.0.0 Use CakeRequest::onlyAllow() instead. * @deprecated 3.0.0 Use CakeRequest::onlyAllow() instead.
* @link http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#SecurityComponent::requirePost * @link https://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#SecurityComponent::requirePost
*/ */
public function requirePost() { public function requirePost() {
$args = func_get_args(); $args = func_get_args();
@ -298,7 +298,7 @@ class SecurityComponent extends Component {
* Sets the actions that require a request that is SSL-secured, or empty for all actions * Sets the actions that require a request that is SSL-secured, or empty for all actions
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#SecurityComponent::requireSecure * @link https://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#SecurityComponent::requireSecure
*/ */
public function requireSecure() { public function requireSecure() {
$args = func_get_args(); $args = func_get_args();
@ -313,7 +313,7 @@ class SecurityComponent extends Component {
* SecurityComponent::$allowedActions. * SecurityComponent::$allowedActions.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#SecurityComponent::requireAuth * @link https://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#SecurityComponent::requireAuth
*/ */
public function requireAuth() { public function requireAuth() {
$args = func_get_args(); $args = func_get_args();
@ -328,7 +328,7 @@ class SecurityComponent extends Component {
* @param string $error Error method * @param string $error Error method
* @return mixed If specified, controller blackHoleCallback's response, or no return otherwise * @return mixed If specified, controller blackHoleCallback's response, or no return otherwise
* @see SecurityComponent::$blackHoleCallback * @see SecurityComponent::$blackHoleCallback
* @link http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#handling-blackhole-callbacks * @link https://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#handling-blackhole-callbacks
* @throws BadRequestException * @throws BadRequestException
*/ */
public function blackHole(Controller $controller, $error = '') { public function blackHole(Controller $controller, $error = '') {

View file

@ -25,8 +25,8 @@ App::uses('CakeSession', 'Model/Datasource');
* convenience methods for several `$_SESSION` related functions. * convenience methods for several `$_SESSION` related functions.
* *
* @package Cake.Controller.Component * @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html
* @link http://book.cakephp.org/2.0/en/development/sessions.html * @link https://book.cakephp.org/2.0/en/development/sessions.html
*/ */
class SessionComponent extends Component { class SessionComponent extends Component {
@ -49,7 +49,7 @@ class SessionComponent extends Component {
* This should be in a Controller.key format for better organizing * This should be in a Controller.key format for better organizing
* @param string $value The value you want to store in a session. * @param string $value The value you want to store in a session.
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::write * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::write
*/ */
public function write($name, $value = null) { public function write($name, $value = null) {
return CakeSession::write($name, $value); return CakeSession::write($name, $value);
@ -63,7 +63,7 @@ class SessionComponent extends Component {
* *
* @param string $name the name of the session key you want to read * @param string $name the name of the session key you want to read
* @return mixed value from the session vars * @return mixed value from the session vars
* @link http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::read * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::read
*/ */
public function read($name = null) { public function read($name = null) {
return CakeSession::read($name); return CakeSession::read($name);
@ -76,7 +76,7 @@ class SessionComponent extends Component {
* *
* @param string $name the name of the session key you want to delete * @param string $name the name of the session key you want to delete
* @return bool true is session variable is set and can be deleted, false is variable was not set. * @return bool true is session variable is set and can be deleted, false is variable was not set.
* @link http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::delete * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::delete
*/ */
public function delete($name) { public function delete($name) {
return CakeSession::delete($name); return CakeSession::delete($name);
@ -101,7 +101,7 @@ class SessionComponent extends Component {
* *
* @param string $name the name of the session key you want to check * @param string $name the name of the session key you want to check
* @return bool true is session variable is set, false if not * @return bool true is session variable is set, false if not
* @link http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::check * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::check
*/ */
public function check($name) { public function check($name) {
return CakeSession::check($name); return CakeSession::check($name);
@ -132,7 +132,7 @@ class SessionComponent extends Component {
* @param array $params Parameters to be sent to layout as view variables * @param array $params Parameters to be sent to layout as view variables
* @param string $key Message key, default is 'flash' * @param string $key Message key, default is 'flash'
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#creating-notification-messages * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#creating-notification-messages
* @deprecated 3.0.0 Since 2.7, use the FlashComponent instead. * @deprecated 3.0.0 Since 2.7, use the FlashComponent instead.
*/ */
public function setFlash($message, $element = 'default', $params = array(), $key = 'flash') { public function setFlash($message, $element = 'default', $params = array(), $key = 'flash') {
@ -167,7 +167,7 @@ class SessionComponent extends Component {
* In your controller: $this->Session->destroy(); * In your controller: $this->Session->destroy();
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::destroy * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::destroy
*/ */
public function destroy() { public function destroy() {
return CakeSession::destroy(); return CakeSession::destroy();

View file

@ -53,7 +53,7 @@ App::uses('CakeEventManager', 'Event');
* @property SecurityComponent $Security * @property SecurityComponent $Security
* @property SessionComponent $Session * @property SessionComponent $Session
* @property FlashComponent $Flash * @property FlashComponent $Flash
* @link http://book.cakephp.org/2.0/en/controllers.html * @link https://book.cakephp.org/2.0/en/controllers.html
*/ */
class Controller extends CakeObject implements CakeEventListener { class Controller extends CakeObject implements CakeEventListener {
@ -61,7 +61,7 @@ class Controller extends CakeObject implements CakeEventListener {
* The name of this controller. Controller names are plural, named after the model they manipulate. * The name of this controller. Controller names are plural, named after the model they manipulate.
* *
* @var string * @var string
* @link http://book.cakephp.org/2.0/en/controllers.html#controller-attributes * @link https://book.cakephp.org/2.0/en/controllers.html#controller-attributes
*/ */
public $name = null; public $name = null;
@ -81,7 +81,7 @@ class Controller extends CakeObject implements CakeEventListener {
* The default value is `true`. * The default value is `true`.
* *
* @var mixed * @var mixed
* @link http://book.cakephp.org/2.0/en/controllers.html#components-helpers-and-uses * @link https://book.cakephp.org/2.0/en/controllers.html#components-helpers-and-uses
*/ */
public $uses = true; public $uses = true;
@ -92,7 +92,7 @@ class Controller extends CakeObject implements CakeEventListener {
* Example: `public $helpers = array('Html', 'Js', 'Time', 'Ajax');` * Example: `public $helpers = array('Html', 'Js', 'Time', 'Ajax');`
* *
* @var mixed * @var mixed
* @link http://book.cakephp.org/2.0/en/controllers.html#components-helpers-and-uses * @link https://book.cakephp.org/2.0/en/controllers.html#components-helpers-and-uses
*/ */
public $helpers = array(); public $helpers = array();
@ -102,7 +102,7 @@ class Controller extends CakeObject implements CakeEventListener {
* additional information about the request. * additional information about the request.
* *
* @var CakeRequest * @var CakeRequest
* @link http://book.cakephp.org/2.0/en/controllers/request-response.html#cakerequest * @link https://book.cakephp.org/2.0/en/controllers/request-response.html#cakerequest
*/ */
public $request; public $request;
@ -110,7 +110,7 @@ class Controller extends CakeObject implements CakeEventListener {
* An instance of a CakeResponse object that contains information about the impending response * An instance of a CakeResponse object that contains information about the impending response
* *
* @var CakeResponse * @var CakeResponse
* @link http://book.cakephp.org/2.0/en/controllers/request-response.html#cakeresponse * @link https://book.cakephp.org/2.0/en/controllers/request-response.html#cakeresponse
*/ */
public $response; public $response;
@ -188,7 +188,7 @@ class Controller extends CakeObject implements CakeEventListener {
* Example: `public $components = array('Session', 'RequestHandler', 'Acl');` * Example: `public $components = array('Session', 'RequestHandler', 'Acl');`
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/controllers/components.html * @link https://book.cakephp.org/2.0/en/controllers/components.html
*/ */
public $components = array('Session', 'Flash'); public $components = array('Session', 'Flash');
@ -239,7 +239,7 @@ class Controller extends CakeObject implements CakeEventListener {
* marks all the actions in the controller for view caching. * marks all the actions in the controller for view caching.
* *
* @var mixed * @var mixed
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/cache.html#additional-configuration-options * @link https://book.cakephp.org/2.0/en/core-libraries/helpers/cache.html#additional-configuration-options
*/ */
public $cacheAction = false; public $cacheAction = false;
@ -254,7 +254,7 @@ class Controller extends CakeObject implements CakeEventListener {
* Triggers Scaffolding * Triggers Scaffolding
* *
* @var mixed * @var mixed
* @link http://book.cakephp.org/2.0/en/controllers/scaffolding.html * @link https://book.cakephp.org/2.0/en/controllers/scaffolding.html
*/ */
public $scaffold = false; public $scaffold = false;
@ -632,7 +632,7 @@ class Controller extends CakeObject implements CakeEventListener {
* *
* @return mixed true if models found and instance created. * @return mixed true if models found and instance created.
* @see Controller::loadModel() * @see Controller::loadModel()
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::constructClasses * @link https://book.cakephp.org/2.0/en/controllers.html#Controller::constructClasses
* @throws MissingModelException * @throws MissingModelException
*/ */
public function constructClasses() { public function constructClasses() {
@ -756,7 +756,7 @@ class Controller extends CakeObject implements CakeEventListener {
* @param bool $exit If true, exit() will be called after the redirect * @param bool $exit If true, exit() will be called after the redirect
* @return \Cake\Network\Response|null * @return \Cake\Network\Response|null
* @triggers Controller.beforeRedirect $this, array($url, $status, $exit) * @triggers Controller.beforeRedirect $this, array($url, $status, $exit)
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::redirect * @link https://book.cakephp.org/2.0/en/controllers.html#Controller::redirect
*/ */
public function redirect($url, $status = null, $exit = true) { public function redirect($url, $status = null, $exit = true) {
$this->autoRender = false; $this->autoRender = false;
@ -841,7 +841,7 @@ class Controller extends CakeObject implements CakeEventListener {
* @param string|array $two Value in case $one is a string (which then works as the key). * @param string|array $two Value in case $one is a string (which then works as the key).
* Unused if $one is an associative array, otherwise serves as the values to $one's keys. * Unused if $one is an associative array, otherwise serves as the values to $one's keys.
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#interacting-with-views * @link https://book.cakephp.org/2.0/en/controllers.html#interacting-with-views
*/ */
public function set($one, $two = null) { public function set($one, $two = null) {
if (is_array($one)) { if (is_array($one)) {
@ -929,7 +929,7 @@ class Controller extends CakeObject implements CakeEventListener {
* @param string $layout Layout to use * @param string $layout Layout to use
* @return CakeResponse A response object containing the rendered view. * @return CakeResponse A response object containing the rendered view.
* @triggers Controller.beforeRender $this * @triggers Controller.beforeRender $this
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::render * @link https://book.cakephp.org/2.0/en/controllers.html#Controller::render
*/ */
public function render($view = null, $layout = null) { public function render($view = null, $layout = null) {
$event = new CakeEvent('Controller.beforeRender', $this); $event = new CakeEvent('Controller.beforeRender', $this);
@ -970,7 +970,7 @@ class Controller extends CakeObject implements CakeEventListener {
* @param string $default Default URL to use if HTTP_REFERER cannot be read from headers * @param string $default Default URL to use if HTTP_REFERER cannot be read from headers
* @param bool $local If true, restrict referring URLs to local server * @param bool $local If true, restrict referring URLs to local server
* @return string Referring URL * @return string Referring URL
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::referer * @link https://book.cakephp.org/2.0/en/controllers.html#Controller::referer
*/ */
public function referer($default = null, $local = false) { public function referer($default = null, $local = false) {
if (!$this->request) { if (!$this->request) {
@ -988,7 +988,7 @@ class Controller extends CakeObject implements CakeEventListener {
* Forces the user's browser not to cache the results of the current request. * Forces the user's browser not to cache the results of the current request.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::disableCache * @link https://book.cakephp.org/2.0/en/controllers.html#Controller::disableCache
* @deprecated 3.0.0 Will be removed in 3.0. Use CakeResponse::disableCache(). * @deprecated 3.0.0 Will be removed in 3.0. Use CakeResponse::disableCache().
*/ */
public function disableCache() { public function disableCache() {
@ -1005,7 +1005,7 @@ class Controller extends CakeObject implements CakeEventListener {
* @param int $pause Time to show the message * @param int $pause Time to show the message
* @param string $layout Layout you want to use, defaults to 'flash' * @param string $layout Layout you want to use, defaults to 'flash'
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::flash * @link https://book.cakephp.org/2.0/en/controllers.html#Controller::flash
* @deprecated 3.0.0 Will be removed in 3.0. Use Flash::set() with version 2.7+ or Session::setFlash() prior to 2.7. * @deprecated 3.0.0 Will be removed in 3.0. Use Flash::set() with version 2.7+ or Session::setFlash() prior to 2.7.
*/ */
public function flash($message, $url, $pause = 1, $layout = 'flash') { public function flash($message, $url, $pause = 1, $layout = 'flash') {
@ -1083,7 +1083,7 @@ class Controller extends CakeObject implements CakeEventListener {
* @param string|array $scope Conditions to use while paginating * @param string|array $scope Conditions to use while paginating
* @param array $whitelist List of allowed options for paging * @param array $whitelist List of allowed options for paging
* @return array Model query results * @return array Model query results
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::paginate * @link https://book.cakephp.org/2.0/en/controllers.html#Controller::paginate
*/ */
public function paginate($object = null, $scope = array(), $whitelist = array()) { public function paginate($object = null, $scope = array(), $whitelist = array()) {
return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist); return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist);
@ -1094,7 +1094,7 @@ class Controller extends CakeObject implements CakeEventListener {
* or perform logic that needs to happen before each controller action. * or perform logic that needs to happen before each controller action.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks * @link https://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks
*/ */
public function beforeFilter() { public function beforeFilter() {
} }
@ -1104,7 +1104,7 @@ class Controller extends CakeObject implements CakeEventListener {
* to perform logic or set view variables that are required on every request. * to perform logic or set view variables that are required on every request.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks * @link https://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks
*/ */
public function beforeRender() { public function beforeRender() {
} }
@ -1126,7 +1126,7 @@ class Controller extends CakeObject implements CakeEventListener {
* false to stop redirection event, * false to stop redirection event,
* string controllers a new redirection URL or * string controllers a new redirection URL or
* array with the keys url, status and exit to be used by the redirect method. * array with the keys url, status and exit to be used by the redirect method.
* @link http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks * @link https://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks
*/ */
public function beforeRedirect($url, $status = null, $exit = true) { public function beforeRedirect($url, $status = null, $exit = true) {
} }
@ -1135,7 +1135,7 @@ class Controller extends CakeObject implements CakeEventListener {
* Called after the controller action is run and rendered. * Called after the controller action is run and rendered.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks * @link https://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks
*/ */
public function afterFilter() { public function afterFilter() {
} }
@ -1145,7 +1145,7 @@ class Controller extends CakeObject implements CakeEventListener {
* *
* @param string $method name of method called example index, edit, etc. * @param string $method name of method called example index, edit, etc.
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/controllers.html#callbacks * @link https://book.cakephp.org/2.0/en/controllers.html#callbacks
*/ */
public function beforeScaffold($method) { public function beforeScaffold($method) {
return true; return true;
@ -1168,7 +1168,7 @@ class Controller extends CakeObject implements CakeEventListener {
* *
* @param string $method name of method called either edit or update. * @param string $method name of method called either edit or update.
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/controllers.html#callbacks * @link https://book.cakephp.org/2.0/en/controllers.html#callbacks
*/ */
public function afterScaffoldSave($method) { public function afterScaffoldSave($method) {
return true; return true;
@ -1191,7 +1191,7 @@ class Controller extends CakeObject implements CakeEventListener {
* *
* @param string $method name of method called either edit or update. * @param string $method name of method called either edit or update.
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/controllers.html#callbacks * @link https://book.cakephp.org/2.0/en/controllers.html#callbacks
*/ */
public function afterScaffoldSaveError($method) { public function afterScaffoldSaveError($method) {
return true; return true;
@ -1216,7 +1216,7 @@ class Controller extends CakeObject implements CakeEventListener {
* *
* @param string $method name of method called example index, edit, etc. * @param string $method name of method called example index, edit, etc.
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/controllers.html#callbacks * @link https://book.cakephp.org/2.0/en/controllers.html#callbacks
*/ */
public function scaffoldError($method) { public function scaffoldError($method) {
return false; return false;

View file

@ -59,7 +59,7 @@ App::uses('CakePlugin', 'Core');
* You can find out which objects App knows about using App::objects('Controller') for example to find * You can find out which objects App knows about using App::objects('Controller') for example to find
* which application controllers App knows about. * which application controllers App knows about.
* *
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html
* @package Cake.Core * @package Cake.Core
*/ */
class App { class App {
@ -215,7 +215,7 @@ class App {
* @param string $type type of path * @param string $type type of path
* @param string $plugin name of plugin * @param string $plugin name of plugin
* @return array * @return array
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::path * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::path
*/ */
public static function path($type, $plugin = null) { public static function path($type, $plugin = null) {
if (!empty(static::$legacy[$type])) { if (!empty(static::$legacy[$type])) {
@ -246,7 +246,7 @@ class App {
* use App::path() * use App::path()
* *
* @return array An array of packages and their associated paths. * @return array An array of packages and their associated paths.
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::paths * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::paths
*/ */
public static function paths() { public static function paths() {
return static::$_packages; return static::$_packages;
@ -273,7 +273,7 @@ class App {
* @param bool|string $mode App::RESET will set paths, App::APPEND with append paths, App::PREPEND will prepend paths (default) * @param bool|string $mode App::RESET will set paths, App::APPEND with append paths, App::PREPEND will prepend paths (default)
* App::REGISTER will register new packages and their paths, %s in path will be replaced by APP path * App::REGISTER will register new packages and their paths, %s in path will be replaced by APP path
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::build * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::build
*/ */
public static function build($paths = array(), $mode = App::PREPEND) { public static function build($paths = array(), $mode = App::PREPEND) {
//Provides Backwards compatibility for old-style package names //Provides Backwards compatibility for old-style package names
@ -360,7 +360,7 @@ class App {
* *
* @param string $plugin CamelCased/lower_cased plugin name to find the path of. * @param string $plugin CamelCased/lower_cased plugin name to find the path of.
* @return string full path to the plugin. * @return string full path to the plugin.
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::pluginPath * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::pluginPath
* @deprecated 3.0.0 Use `CakePlugin::path()` instead. * @deprecated 3.0.0 Use `CakePlugin::path()` instead.
*/ */
public static function pluginPath($plugin) { public static function pluginPath($plugin) {
@ -376,7 +376,7 @@ class App {
* *
* @param string $theme theme name to find the path of. * @param string $theme theme name to find the path of.
* @return string full path to the theme. * @return string full path to the theme.
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::themePath * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::themePath
*/ */
public static function themePath($theme) { public static function themePath($theme) {
$themeDir = 'Themed' . DS . Inflector::camelize($theme); $themeDir = 'Themed' . DS . Inflector::camelize($theme);
@ -397,7 +397,7 @@ class App {
* *
* @param string $type Package type. * @param string $type Package type.
* @return array full path to package * @return array full path to package
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::core * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::core
*/ */
public static function core($type) { public static function core($type) {
return array(CAKE . str_replace('/', DS, $type) . DS); return array(CAKE . str_replace('/', DS, $type) . DS);
@ -424,7 +424,7 @@ class App {
* @param string|array $path Optional Scan only the path given. If null, paths for the chosen type will be used. * @param string|array $path Optional Scan only the path given. If null, paths for the chosen type will be used.
* @param bool $cache Set to false to rescan objects of the chosen type. Defaults to true. * @param bool $cache Set to false to rescan objects of the chosen type. Defaults to true.
* @return mixed Either false on incorrect / miss. Or an array of found objects. * @return mixed Either false on incorrect / miss. Or an array of found objects.
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::objects * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::objects
*/ */
public static function objects($type, $path = null, $cache = true) { public static function objects($type, $path = null, $cache = true) {
if (empty(static::$_objects) && $cache === true) { if (empty(static::$_objects) && $cache === true) {
@ -516,7 +516,7 @@ class App {
* @param string $className the name of the class to configure package for * @param string $className the name of the class to configure package for
* @param string $location the package name * @param string $location the package name
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::uses * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::uses
*/ */
public static function uses($className, $location) { public static function uses($className, $location) {
static::$_classMap[$className] = $location; static::$_classMap[$className] = $location;
@ -576,7 +576,7 @@ class App {
* *
* @param string $className name of the class to obtain the package name from * @param string $className name of the class to obtain the package name from
* @return string|null Package name, or null if not declared * @return string|null Package name, or null if not declared
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::location * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#App::location
*/ */
public static function location($className) { public static function location($className) {
if (!empty(static::$_classMap[$className])) { if (!empty(static::$_classMap[$className])) {
@ -601,7 +601,7 @@ class App {
* @param bool $return Return the loaded file, the file must have a return * @param bool $return Return the loaded file, the file must have a return
* statement in it to work: return $variable; * statement in it to work: return $variable;
* @return bool true if Class is already in memory or if file is found and loaded, false if not * @return bool true if Class is already in memory or if file is found and loaded, false if not
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/app.html#including-files-with-app-import * @link https://book.cakephp.org/2.0/en/core-utility-libraries/app.html#including-files-with-app-import
*/ */
public static function import($type = null, $name = null, $parent = true, $search = array(), $file = null, $return = false) { public static function import($type = null, $name = null, $parent = true, $search = array(), $file = null, $return = false) {
$ext = null; $ext = null;

View file

@ -22,7 +22,7 @@
* It also can retrieve plugin paths and load their bootstrap and routes files. * It also can retrieve plugin paths and load their bootstrap and routes files.
* *
* @package Cake.Core * @package Cake.Core
* @link http://book.cakephp.org/2.0/en/plugins.html * @link https://book.cakephp.org/2.0/en/plugins.html
*/ */
class CakePlugin { class CakePlugin {

View file

@ -30,7 +30,7 @@ App::uses('Set', 'Utility');
* for future use. * for future use.
* *
* @package Cake.Core * @package Cake.Core
* @link http://book.cakephp.org/2.0/en/development/configuration.html#configure-class * @link https://book.cakephp.org/2.0/en/development/configuration.html#configure-class
*/ */
class Configure { class Configure {
@ -154,7 +154,7 @@ class Configure {
* Alternatively can be an array containing key(s) and value(s). * Alternatively can be an array containing key(s) and value(s).
* @param mixed $value Value to set for var * @param mixed $value Value to set for var
* @return bool True if write was successful * @return bool True if write was successful
* @link http://book.cakephp.org/2.0/en/development/configuration.html#Configure::write * @link https://book.cakephp.org/2.0/en/development/configuration.html#Configure::write
*/ */
public static function write($config, $value = null) { public static function write($config, $value = null) {
if (!is_array($config)) { if (!is_array($config)) {
@ -187,7 +187,7 @@ class Configure {
* *
* @param string|null $var Variable to obtain. Use '.' to access array elements. * @param string|null $var Variable to obtain. Use '.' to access array elements.
* @return mixed value stored in configure, or null. * @return mixed value stored in configure, or null.
* @link http://book.cakephp.org/2.0/en/development/configuration.html#Configure::read * @link https://book.cakephp.org/2.0/en/development/configuration.html#Configure::read
*/ */
public static function read($var = null) { public static function read($var = null) {
if ($var === null) { if ($var === null) {
@ -244,7 +244,7 @@ class Configure {
* *
* @param string $var the var to be deleted * @param string $var the var to be deleted
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/development/configuration.html#Configure::delete * @link https://book.cakephp.org/2.0/en/development/configuration.html#Configure::delete
*/ */
public static function delete($var) { public static function delete($var) {
static::$_values = Hash::remove(static::$_values, $var); static::$_values = Hash::remove(static::$_values, $var);
@ -319,7 +319,7 @@ class Configure {
* @param bool $merge if config files should be merged instead of simply overridden * @param bool $merge if config files should be merged instead of simply overridden
* @return bool False if file not found, true if load successful. * @return bool False if file not found, true if load successful.
* @throws ConfigureException Will throw any exceptions the reader raises. * @throws ConfigureException Will throw any exceptions the reader raises.
* @link http://book.cakephp.org/2.0/en/development/configuration.html#Configure::load * @link https://book.cakephp.org/2.0/en/development/configuration.html#Configure::load
*/ */
public static function load($key, $config = 'default', $merge = true) { public static function load($key, $config = 'default', $merge = true) {
$reader = static::_getReader($config); $reader = static::_getReader($config);

View file

@ -11,7 +11,7 @@
* Redistributions of files must retain the above copyright notice. * Redistributions of files must retain the above copyright notice.
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html * @link https://book.cakephp.org/2.0/en/development/testing.html
* @package Cake.Error * @package Cake.Error
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -70,7 +70,7 @@ App::uses('LogEngineCollection', 'Log');
* on scopes * on scopes
* *
* @package Cake.Log * @package Cake.Log
* @link http://book.cakephp.org/2.0/en/core-libraries/logging.html#logging * @link https://book.cakephp.org/2.0/en/core-libraries/logging.html#logging
*/ */
class CakeLog { class CakeLog {
@ -187,7 +187,7 @@ class CakeLog {
* @param array $config Array of configuration information for the logger * @param array $config Array of configuration information for the logger
* @return bool success of configuration. * @return bool success of configuration.
* @throws CakeLogException * @throws CakeLogException
* @link http://book.cakephp.org/2.0/en/core-libraries/logging.html#creating-and-configuring-log-streams * @link https://book.cakephp.org/2.0/en/core-libraries/logging.html#creating-and-configuring-log-streams
*/ */
public static function config($key, $config) { public static function config($key, $config) {
if (!preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $key)) { if (!preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $key)) {
@ -403,7 +403,7 @@ class CakeLog {
* @param string|array $scope The scope(s) a log message is being created in. * @param string|array $scope The scope(s) a log message is being created in.
* See CakeLog::config() for more information on logging scopes. * See CakeLog::config() for more information on logging scopes.
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/core-libraries/logging.html#writing-to-logs * @link https://book.cakephp.org/2.0/en/core-libraries/logging.html#writing-to-logs
*/ */
public static function write($type, $message, $scope = array()) { public static function write($type, $message, $scope = array()) {
if (empty(static::$_Collection)) { if (empty(static::$_Collection)) {

View file

@ -28,7 +28,7 @@ App::uses('Hash', 'Utility');
* Enables objects to easily tie into an ACL system * Enables objects to easily tie into an ACL system
* *
* @package Cake.Model.Behavior * @package Cake.Model.Behavior
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/acl.html * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/acl.html
*/ */
class AclBehavior extends ModelBehavior { class AclBehavior extends ModelBehavior {
@ -74,7 +74,7 @@ class AclBehavior extends ModelBehavior {
* @param string|array|Model $ref Array with 'model' and 'foreign_key', model object, or string value * @param string|array|Model $ref Array with 'model' and 'foreign_key', model object, or string value
* @param string $type Only needed when Acl is set up as 'both', specify 'Aro' or 'Aco' to get the correct node * @param string $type Only needed when Acl is set up as 'both', specify 'Aro' or 'Aco' to get the correct node
* @return array * @return array
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/acl.html#node * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/acl.html#node
*/ */
public function node(Model $model, $ref = null, $type = null) { public function node(Model $model, $ref = null, $type = null) {
if (empty($type)) { if (empty($type)) {

View file

@ -26,7 +26,7 @@ App::uses('ModelBehavior', 'Model');
* data returned. * data returned.
* *
* @package Cake.Model.Behavior * @package Cake.Model.Behavior
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html
*/ */
class ContainableBehavior extends ModelBehavior { class ContainableBehavior extends ModelBehavior {
@ -226,7 +226,7 @@ class ContainableBehavior extends ModelBehavior {
* *
* @param Model $Model Model on which binding restriction is being applied * @param Model $Model Model on which binding restriction is being applied
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html#using-containable * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html#using-containable
*/ */
public function contain(Model $Model) { public function contain(Model $Model) {
$args = func_get_args(); $args = func_get_args();

View file

@ -22,7 +22,7 @@ App::uses('I18nModel', 'Model');
* Translate behavior * Translate behavior
* *
* @package Cake.Model.Behavior * @package Cake.Model.Behavior
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/translate.html * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/translate.html
*/ */
class TranslateBehavior extends ModelBehavior { class TranslateBehavior extends ModelBehavior {

View file

@ -27,7 +27,7 @@ App::uses('ModelBehavior', 'Model');
* *
* @see http://en.wikipedia.org/wiki/Tree_traversal * @see http://en.wikipedia.org/wiki/Tree_traversal
* @package Cake.Model.Behavior * @package Cake.Model.Behavior
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html
*/ */
class TreeBehavior extends ModelBehavior { class TreeBehavior extends ModelBehavior {
@ -320,7 +320,7 @@ class TreeBehavior extends ModelBehavior {
* @param int|string|bool $id The ID of the record to read or false to read all top level nodes * @param int|string|bool $id The ID of the record to read or false to read all top level nodes
* @param bool $direct whether to count direct, or all, children * @param bool $direct whether to count direct, or all, children
* @return int number of child nodes * @return int number of child nodes
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::childCount * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::childCount
*/ */
public function childCount(Model $Model, $id = null, $direct = false) { public function childCount(Model $Model, $id = null, $direct = false) {
if (is_array($id)) { if (is_array($id)) {
@ -366,7 +366,7 @@ class TreeBehavior extends ModelBehavior {
* @param int $page Page number, for accessing paged data * @param int $page Page number, for accessing paged data
* @param int $recursive The number of levels deep to fetch associated records * @param int $recursive The number of levels deep to fetch associated records
* @return array Array of child nodes * @return array Array of child nodes
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::children * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::children
*/ */
public function children(Model $Model, $id = null, $direct = false, $fields = null, $order = null, $limit = null, $page = 1, $recursive = null) { public function children(Model $Model, $id = null, $direct = false, $fields = null, $order = null, $limit = null, $page = 1, $recursive = null) {
$options = array(); $options = array();
@ -429,7 +429,7 @@ class TreeBehavior extends ModelBehavior {
* @param string $spacer The character or characters which will be repeated * @param string $spacer The character or characters which will be repeated
* @param int $recursive The number of levels deep to fetch associated records * @param int $recursive The number of levels deep to fetch associated records
* @return array An associative array of records, where the id is the key, and the display field is the value * @return array An associative array of records, where the id is the key, and the display field is the value
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::generateTreeList * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::generateTreeList
*/ */
public function generateTreeList(Model $Model, $conditions = null, $keyPath = null, $valuePath = null, $spacer = '_', $recursive = null) { public function generateTreeList(Model $Model, $conditions = null, $keyPath = null, $valuePath = null, $spacer = '_', $recursive = null) {
$overrideRecursive = $recursive; $overrideRecursive = $recursive;
@ -523,7 +523,7 @@ class TreeBehavior extends ModelBehavior {
* @param string|array $fields Fields to get * @param string|array $fields Fields to get
* @param int $recursive The number of levels deep to fetch associated records * @param int $recursive The number of levels deep to fetch associated records
* @return array|bool Array of data for the parent node * @return array|bool Array of data for the parent node
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::getParentNode * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::getParentNode
*/ */
public function getParentNode(Model $Model, $id = null, $fields = null, $recursive = null) { public function getParentNode(Model $Model, $id = null, $fields = null, $recursive = null) {
$options = array(); $options = array();
@ -582,7 +582,7 @@ class TreeBehavior extends ModelBehavior {
* @param string|array|null $fields Either a single string of a field name, or an array of field names * @param string|array|null $fields Either a single string of a field name, or an array of field names
* @param int|null $recursive The number of levels deep to fetch associated records * @param int|null $recursive The number of levels deep to fetch associated records
* @return array Array of nodes from top most parent to current node * @return array Array of nodes from top most parent to current node
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::getPath * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::getPath
*/ */
public function getPath(Model $Model, $id = null, $fields = null, $recursive = null) { public function getPath(Model $Model, $id = null, $fields = null, $recursive = null) {
$options = array(); $options = array();
@ -643,7 +643,7 @@ class TreeBehavior extends ModelBehavior {
* @param int|string|null $id The ID of the record to move * @param int|string|null $id The ID of the record to move
* @param int|bool $number how many places to move the node or true to move to last position * @param int|bool $number how many places to move the node or true to move to last position
* @return bool true on success, false on failure * @return bool true on success, false on failure
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::moveDown * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::moveDown
*/ */
public function moveDown(Model $Model, $id = null, $number = 1) { public function moveDown(Model $Model, $id = null, $number = 1) {
if (is_array($id)) { if (is_array($id)) {
@ -697,7 +697,7 @@ class TreeBehavior extends ModelBehavior {
* @param int|string|null $id The ID of the record to move * @param int|string|null $id The ID of the record to move
* @param int|bool $number how many places to move the node, or true to move to first position * @param int|bool $number how many places to move the node, or true to move to first position
* @return bool true on success, false on failure * @return bool true on success, false on failure
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::moveUp * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::moveUp
*/ */
public function moveUp(Model $Model, $id = null, $number = 1) { public function moveUp(Model $Model, $id = null, $number = 1) {
if (is_array($id)) { if (is_array($id)) {
@ -755,7 +755,7 @@ class TreeBehavior extends ModelBehavior {
* @param string|int|null $missingParentAction 'return' to do nothing and return, 'delete' to * @param string|int|null $missingParentAction 'return' to do nothing and return, 'delete' to
* delete, or the id of the parent to set as the parent_id * delete, or the id of the parent to set as the parent_id
* @return bool true on success, false on failure * @return bool true on success, false on failure
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::recover * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::recover
*/ */
public function recover(Model $Model, $mode = 'parent', $missingParentAction = null) { public function recover(Model $Model, $mode = 'parent', $missingParentAction = null) {
if (is_array($mode)) { if (is_array($mode)) {
@ -894,7 +894,7 @@ class TreeBehavior extends ModelBehavior {
* @param Model $Model Model using this behavior * @param Model $Model Model using this behavior
* @param array $options array of options to use in reordering. * @param array $options array of options to use in reordering.
* @return bool true on success, false on failure * @return bool true on success, false on failure
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::reorder * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::reorder
*/ */
public function reorder(Model $Model, $options = array()) { public function reorder(Model $Model, $options = array()) {
$options += array('id' => null, 'field' => $Model->displayField, 'order' => 'ASC', 'verify' => true); $options += array('id' => null, 'field' => $Model->displayField, 'order' => 'ASC', 'verify' => true);
@ -933,7 +933,7 @@ class TreeBehavior extends ModelBehavior {
* @param int|string|null $id The ID of the record to remove * @param int|string|null $id The ID of the record to remove
* @param bool $delete whether to delete the node after reparenting children (if any) * @param bool $delete whether to delete the node after reparenting children (if any)
* @return bool true on success, false on failure * @return bool true on success, false on failure
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::removeFromTree * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::removeFromTree
*/ */
public function removeFromTree(Model $Model, $id = null, $delete = false) { public function removeFromTree(Model $Model, $id = null, $delete = false) {
if (is_array($id)) { if (is_array($id)) {
@ -994,7 +994,7 @@ class TreeBehavior extends ModelBehavior {
* @param Model $Model Model using this behavior * @param Model $Model Model using this behavior
* @return mixed true if the tree is valid or empty, otherwise an array of (error type [index, node], * @return mixed true if the tree is valid or empty, otherwise an array of (error type [index, node],
* [incorrect left/right index,node id], message) * [incorrect left/right index,node id], message)
* @link http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::verify * @link https://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html#TreeBehavior::verify
*/ */
public function verify(Model $Model) { public function verify(Model $Model) {
extract($this->settings[$Model->alias]); extract($this->settings[$Model->alias]);

View file

@ -21,7 +21,7 @@
* *
* DataSources are the link between models and the source of data that models represent. * DataSources are the link between models and the source of data that models represent.
* *
* @link http://book.cakephp.org/2.0/en/models/datasources.html#basic-api-for-datasources * @link https://book.cakephp.org/2.0/en/models/datasources.html#basic-api-for-datasources
* @package Cake.Model.Datasource * @package Cake.Model.Datasource
*/ */
class DataSource extends CakeObject { class DataSource extends CakeObject {

View file

@ -40,7 +40,7 @@ App::uses('CakeEventManager', 'Event');
* The table is required to have at least 'id auto_increment' primary key. * The table is required to have at least 'id auto_increment' primary key.
* *
* @package Cake.Model * @package Cake.Model
* @link http://book.cakephp.org/2.0/en/models.html * @link https://book.cakephp.org/2.0/en/models.html
*/ */
class Model extends CakeObject implements CakeEventListener { class Model extends CakeObject implements CakeEventListener {
@ -51,7 +51,7 @@ class Model extends CakeObject implements CakeEventListener {
* or created using `ConnectionManager::create()`. * or created using `ConnectionManager::create()`.
* *
* @var string * @var string
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#usedbconfig * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#usedbconfig
*/ */
public $useDbConfig = 'default'; public $useDbConfig = 'default';
@ -59,7 +59,7 @@ class Model extends CakeObject implements CakeEventListener {
* Custom database table name, or null/false if no table association is desired. * Custom database table name, or null/false if no table association is desired.
* *
* @var string * @var string
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#usetable * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#usetable
*/ */
public $useTable = null; public $useTable = null;
@ -69,7 +69,7 @@ class Model extends CakeObject implements CakeEventListener {
* This field is also used in `find('list')` when called with no extra parameters in the fields list * This field is also used in `find('list')` when called with no extra parameters in the fields list
* *
* @var string * @var string
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#displayfield * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#displayfield
*/ */
public $displayField = null; public $displayField = null;
@ -85,7 +85,7 @@ class Model extends CakeObject implements CakeEventListener {
* Container for the data that this model gets from persistent storage (usually, a database). * Container for the data that this model gets from persistent storage (usually, a database).
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#data * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#data
*/ */
public $data = array(); public $data = array();
@ -107,7 +107,7 @@ class Model extends CakeObject implements CakeEventListener {
* The name of the primary key field for this model. * The name of the primary key field for this model.
* *
* @var string * @var string
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#primarykey * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#primarykey
*/ */
public $primaryKey = null; public $primaryKey = null;
@ -206,8 +206,8 @@ class Model extends CakeObject implements CakeEventListener {
* - `on`: Possible values: `update`, `create`. Indicate to apply this rule only on update or create * - `on`: Possible values: `update`, `create`. Indicate to apply this rule only on update or create
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#validate * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#validate
* @link http://book.cakephp.org/2.0/en/models/data-validation.html * @link https://book.cakephp.org/2.0/en/models/data-validation.html
*/ */
public $validate = array(); public $validate = array();
@ -229,7 +229,7 @@ class Model extends CakeObject implements CakeEventListener {
* Database table prefix for tables in model. * Database table prefix for tables in model.
* *
* @var string * @var string
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#tableprefix * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#tableprefix
*/ */
public $tablePrefix = null; public $tablePrefix = null;
@ -244,7 +244,7 @@ class Model extends CakeObject implements CakeEventListener {
* Name of the model. * Name of the model.
* *
* @var string * @var string
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#name * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#name
*/ */
public $name = null; public $name = null;
@ -267,7 +267,7 @@ class Model extends CakeObject implements CakeEventListener {
* caching only, the results are not stored beyond the current request. * caching only, the results are not stored beyond the current request.
* *
* @var bool * @var bool
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#cachequeries * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#cachequeries
*/ */
public $cacheQueries = false; public $cacheQueries = false;
@ -314,7 +314,7 @@ class Model extends CakeObject implements CakeEventListener {
* - `counterScope`: Optional conditions array to use for updating counter cache field. * - `counterScope`: Optional conditions array to use for updating counter cache field.
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#belongsto * @link https://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#belongsto
*/ */
public $belongsTo = array(); public $belongsTo = array();
@ -357,7 +357,7 @@ class Model extends CakeObject implements CakeEventListener {
* User will also delete her associated Profile. * User will also delete her associated Profile.
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasone * @link https://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasone
*/ */
public $hasOne = array(); public $hasOne = array();
@ -406,7 +406,7 @@ class Model extends CakeObject implements CakeEventListener {
* records. This should be used in situations that require very custom results. * records. This should be used in situations that require very custom results.
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasmany * @link https://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasmany
*/ */
public $hasMany = array(); public $hasMany = array();
@ -467,7 +467,7 @@ class Model extends CakeObject implements CakeEventListener {
* be used in situations that require very custom results. * be used in situations that require very custom results.
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasandbelongstomany-habtm * @link https://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasandbelongstomany-habtm
*/ */
public $hasAndBelongsToMany = array(); public $hasAndBelongsToMany = array();
@ -485,7 +485,7 @@ class Model extends CakeObject implements CakeEventListener {
* ``` * ```
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/models/behaviors.html#using-behaviors * @link https://book.cakephp.org/2.0/en/models/behaviors.html#using-behaviors
*/ */
public $actsAs = null; public $actsAs = null;
@ -522,7 +522,7 @@ class Model extends CakeObject implements CakeEventListener {
* the first level by default. * the first level by default.
* *
* @var int * @var int
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#recursive * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#recursive
*/ */
public $recursive = 1; public $recursive = 1;
@ -533,7 +533,7 @@ class Model extends CakeObject implements CakeEventListener {
* public $order = array("Post.view_count DESC", "Post.rating DESC"); * public $order = array("Post.view_count DESC", "Post.rating DESC");
* *
* @var string * @var string
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#order * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#order
*/ */
public $order = null; public $order = null;
@ -547,7 +547,7 @@ class Model extends CakeObject implements CakeEventListener {
* Is a simplistic example of how to set virtualFields * Is a simplistic example of how to set virtualFields
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/models/model-attributes.html#virtualfields * @link https://book.cakephp.org/2.0/en/models/model-attributes.html#virtualfields
*/ */
public $virtualFields = array(); public $virtualFields = array();
@ -945,7 +945,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param array $params Set of bindings (indexed by binding type) * @param array $params Set of bindings (indexed by binding type)
* @param bool $reset Set to false to make the binding permanent * @param bool $reset Set to false to make the binding permanent
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#creating-and-destroying-associations-on-the-fly * @link https://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#creating-and-destroying-associations-on-the-fly
*/ */
public function bindModel($params, $reset = true) { public function bindModel($params, $reset = true) {
foreach ($params as $assoc => $model) { foreach ($params as $assoc => $model) {
@ -995,7 +995,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param array $params Set of bindings to unbind (indexed by binding type) * @param array $params Set of bindings to unbind (indexed by binding type)
* @param bool $reset Set to false to make the unbinding permanent * @param bool $reset Set to false to make the unbinding permanent
* @return bool Success * @return bool Success
* @link http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#creating-and-destroying-associations-on-the-fly * @link https://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#creating-and-destroying-associations-on-the-fly
*/ */
public function unbindModel($params, $reset = true) { public function unbindModel($params, $reset = true) {
foreach ($params as $assoc => $models) { foreach ($params as $assoc => $models) {
@ -1198,7 +1198,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param string|array|SimpleXmlElement|DomNode $one Array or string of data * @param string|array|SimpleXmlElement|DomNode $one Array or string of data
* @param string $two Value string for the alternative indata method * @param string $two Value string for the alternative indata method
* @return array|null Data with all of $one's keys and values, otherwise null. * @return array|null Data with all of $one's keys and values, otherwise null.
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html
*/ */
public function set($one, $two = null) { public function set($one, $two = null) {
if (!$one) { if (!$one) {
@ -1570,7 +1570,7 @@ class Model extends CakeObject implements CakeEventListener {
* schema data defaults are not merged. * schema data defaults are not merged.
* @param bool $filterKey If true, overwrites any primary key input with an empty value * @param bool $filterKey If true, overwrites any primary key input with an empty value
* @return array The current Model::data; after merging $data and/or defaults from database * @return array The current Model::data; after merging $data and/or defaults from database
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-create-array-data-array * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html#model-create-array-data-array
*/ */
public function create($data = array(), $filterKey = false) { public function create($data = array(), $filterKey = false) {
$defaults = array(); $defaults = array();
@ -1615,7 +1615,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param string|array $fields String of single field name, or an array of field names. * @param string|array $fields String of single field name, or an array of field names.
* @param int|string $id The ID of the record to read * @param int|string $id The ID of the record to read
* @return array Array of database fields, or false if not found * @return array Array of database fields, or false if not found
* @link http://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-read * @link https://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-read
*/ */
public function read($fields = null, $id = null) { public function read($fields = null, $id = null) {
$this->validationErrors = array(); $this->validationErrors = array();
@ -1650,7 +1650,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param array $conditions SQL conditions (defaults to NULL). * @param array $conditions SQL conditions (defaults to NULL).
* @param string $order SQL ORDER BY fragment. * @param string $order SQL ORDER BY fragment.
* @return string|false Field content, or false if not found. * @return string|false Field content, or false if not found.
* @link http://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-field * @link https://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-field
*/ */
public function field($name, $conditions = null, $order = null) { public function field($name, $conditions = null, $order = null) {
if ($conditions === null && !in_array($this->id, array(false, null), true)) { if ($conditions === null && !in_array($this->id, array(false, null), true)) {
@ -1696,7 +1696,7 @@ class Model extends CakeObject implements CakeEventListener {
* See Model::save() for details of each options. * See Model::save() for details of each options.
* @return bool|array See Model::save() False on failure or an array of model data on success. * @return bool|array See Model::save() False on failure or an array of model data on success.
* @see Model::save() * @see Model::save()
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savefield-string-fieldname-string-fieldvalue-validate-false * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savefield-string-fieldname-string-fieldvalue-validate-false
*/ */
public function saveField($name, $value, $validate = false) { public function saveField($name, $value, $validate = false) {
$id = $this->id; $id = $this->id;
@ -1733,7 +1733,7 @@ class Model extends CakeObject implements CakeEventListener {
* @throws PDOException * @throws PDOException
* @triggers Model.beforeSave $this, array($options) * @triggers Model.beforeSave $this, array($options)
* @triggers Model.afterSave $this, array($created, $options) * @triggers Model.afterSave $this, array($created, $options)
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html
*/ */
public function save($data = null, $validate = true, $fieldList = array()) { public function save($data = null, $validate = true, $fieldList = array()) {
$defaults = array( $defaults = array(
@ -1787,7 +1787,7 @@ class Model extends CakeObject implements CakeEventListener {
* *
* @return mixed On success Model::$data if its not empty or true, false on failure * @return mixed On success Model::$data if its not empty or true, false on failure
* @throws PDOException * @throws PDOException
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html
*/ */
protected function _doSave($data = null, $options = array()) { protected function _doSave($data = null, $options = array()) {
$_whitelist = $this->whitelist; $_whitelist = $this->whitelist;
@ -2265,8 +2265,8 @@ class Model extends CakeObject implements CakeEventListener {
* @return mixed If atomic: True on success, or false on failure. * @return mixed If atomic: True on success, or false on failure.
* Otherwise: array similar to the $data array passed, but values are set to true/false * Otherwise: array similar to the $data array passed, but values are set to true/false
* depending on whether each record saved successfully. * depending on whether each record saved successfully.
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-saveassociated-array-data-null-array-options-array * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html#model-saveassociated-array-data-null-array-options-array
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-saveall-array-data-null-array-options-array * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html#model-saveall-array-data-null-array-options-array
*/ */
public function saveAll($data = array(), $options = array()) { public function saveAll($data = array(), $options = array()) {
$options += array('validate' => 'first'); $options += array('validate' => 'first');
@ -2305,7 +2305,7 @@ class Model extends CakeObject implements CakeEventListener {
* Otherwise: array similar to the $data array passed, but values are set to true/false * Otherwise: array similar to the $data array passed, but values are set to true/false
* depending on whether each record saved successfully. * depending on whether each record saved successfully.
* @throws PDOException * @throws PDOException
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savemany-array-data-null-array-options-array * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savemany-array-data-null-array-options-array
*/ */
public function saveMany($data = null, $options = array()) { public function saveMany($data = null, $options = array()) {
if (empty($data)) { if (empty($data)) {
@ -2438,7 +2438,7 @@ class Model extends CakeObject implements CakeEventListener {
* Otherwise: array similar to the $data array passed, but values are set to true/false * Otherwise: array similar to the $data array passed, but values are set to true/false
* depending on whether each record saved successfully. * depending on whether each record saved successfully.
* @throws PDOException * @throws PDOException
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-saveassociated-array-data-null-array-options-array * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html#model-saveassociated-array-data-null-array-options-array
*/ */
public function saveAssociated($data = null, $options = array()) { public function saveAssociated($data = null, $options = array()) {
if (empty($data)) { if (empty($data)) {
@ -2664,7 +2664,7 @@ class Model extends CakeObject implements CakeEventListener {
* Fields are treated as SQL snippets, to insert literal values manually escape your data. * Fields are treated as SQL snippets, to insert literal values manually escape your data.
* @param mixed $conditions Conditions to match, true for all records * @param mixed $conditions Conditions to match, true for all records
* @return bool True on success, false on failure * @return bool True on success, false on failure
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-updateall-array-fields-mixed-conditions * @link https://book.cakephp.org/2.0/en/models/saving-your-data.html#model-updateall-array-fields-mixed-conditions
*/ */
public function updateAll($fields, $conditions = true) { public function updateAll($fields, $conditions = true) {
return $this->getDataSource()->update($this, $fields, null, $conditions); return $this->getDataSource()->update($this, $fields, null, $conditions);
@ -2678,7 +2678,7 @@ class Model extends CakeObject implements CakeEventListener {
* @return bool True on success * @return bool True on success
* @triggers Model.beforeDelete $this, array($cascade) * @triggers Model.beforeDelete $this, array($cascade)
* @triggers Model.afterDelete $this * @triggers Model.afterDelete $this
* @link http://book.cakephp.org/2.0/en/models/deleting-data.html * @link https://book.cakephp.org/2.0/en/models/deleting-data.html
*/ */
public function delete($id = null, $cascade = true) { public function delete($id = null, $cascade = true) {
if (!empty($id)) { if (!empty($id)) {
@ -2820,7 +2820,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param bool $cascade Set to true to delete records that depend on this record * @param bool $cascade Set to true to delete records that depend on this record
* @param bool $callbacks Run callbacks * @param bool $callbacks Run callbacks
* @return bool True on success, false on failure * @return bool True on success, false on failure
* @link http://book.cakephp.org/2.0/en/models/deleting-data.html#deleteall * @link https://book.cakephp.org/2.0/en/models/deleting-data.html#deleteall
*/ */
public function deleteAll($conditions, $cascade = true, $callbacks = false) { public function deleteAll($conditions, $cascade = true, $callbacks = false) {
if (empty($conditions)) { if (empty($conditions)) {
@ -2978,7 +2978,7 @@ class Model extends CakeObject implements CakeEventListener {
* *
* Behaviors and find types can also define custom finder keys which are passed into find(). * Behaviors and find types can also define custom finder keys which are passed into find().
* See the documentation for custom find types * See the documentation for custom find types
* (http://book.cakephp.org/2.0/en/models/retrieving-your-data.html#creating-custom-find-types) * (https://book.cakephp.org/2.0/en/models/retrieving-your-data.html#creating-custom-find-types)
* for how to implement custom find types. * for how to implement custom find types.
* *
* Specifying 'fields' for notation 'list': * Specifying 'fields' for notation 'list':
@ -2996,7 +2996,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param string $type Type of find operation (all / first / count / neighbors / list / threaded) * @param string $type Type of find operation (all / first / count / neighbors / list / threaded)
* @param array $query Option fields (conditions / fields / joins / limit / offset / order / page / group / callbacks) * @param array $query Option fields (conditions / fields / joins / limit / offset / order / page / group / callbacks)
* @return array|null Array of records, or Null on failure. * @return array|null Array of records, or Null on failure.
* @link http://book.cakephp.org/2.0/en/models/retrieving-your-data.html * @link https://book.cakephp.org/2.0/en/models/retrieving-your-data.html
*/ */
public function find($type = 'first', $query = array()) { public function find($type = 'first', $query = array()) {
$this->findQueryType = $type; $this->findQueryType = $type;
@ -3458,7 +3458,7 @@ class Model extends CakeObject implements CakeEventListener {
* *
* @param string $sql SQL statement * @param string $sql SQL statement
* @return mixed Resultset array or boolean indicating success / failure depending on the query executed * @return mixed Resultset array or boolean indicating success / failure depending on the query executed
* @link http://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-query * @link https://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-query
*/ */
public function query($sql) { public function query($sql) {
$params = func_get_args(); $params = func_get_args();
@ -3761,7 +3761,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param array $query Data used to execute this query, i.e. conditions, order, etc. * @param array $query Data used to execute this query, i.e. conditions, order, etc.
* @return mixed true if the operation should continue, false if it should abort; or, modified * @return mixed true if the operation should continue, false if it should abort; or, modified
* $query to continue with new $query * $query to continue with new $query
* @link http://book.cakephp.org/2.0/en/models/callback-methods.html#beforefind * @link https://book.cakephp.org/2.0/en/models/callback-methods.html#beforefind
*/ */
public function beforeFind($query) { public function beforeFind($query) {
return true; return true;
@ -3774,7 +3774,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param mixed $results The results of the find operation * @param mixed $results The results of the find operation
* @param bool $primary Whether this model is being queried directly (vs. being queried as an association) * @param bool $primary Whether this model is being queried directly (vs. being queried as an association)
* @return mixed Result of the find operation * @return mixed Result of the find operation
* @link http://book.cakephp.org/2.0/en/models/callback-methods.html#afterfind * @link https://book.cakephp.org/2.0/en/models/callback-methods.html#afterfind
*/ */
public function afterFind($results, $primary = false) { public function afterFind($results, $primary = false) {
return $results; return $results;
@ -3786,7 +3786,7 @@ class Model extends CakeObject implements CakeEventListener {
* *
* @param array $options Options passed from Model::save(). * @param array $options Options passed from Model::save().
* @return bool True if the operation should continue, false if it should abort * @return bool True if the operation should continue, false if it should abort
* @link http://book.cakephp.org/2.0/en/models/callback-methods.html#beforesave * @link https://book.cakephp.org/2.0/en/models/callback-methods.html#beforesave
* @see Model::save() * @see Model::save()
*/ */
public function beforeSave($options = array()) { public function beforeSave($options = array()) {
@ -3799,7 +3799,7 @@ class Model extends CakeObject implements CakeEventListener {
* @param bool $created True if this save created a new record * @param bool $created True if this save created a new record
* @param array $options Options passed from Model::save(). * @param array $options Options passed from Model::save().
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/models/callback-methods.html#aftersave * @link https://book.cakephp.org/2.0/en/models/callback-methods.html#aftersave
* @see Model::save() * @see Model::save()
*/ */
public function afterSave($created, $options = array()) { public function afterSave($created, $options = array()) {
@ -3810,7 +3810,7 @@ class Model extends CakeObject implements CakeEventListener {
* *
* @param bool $cascade If true records that depend on this record will also be deleted * @param bool $cascade If true records that depend on this record will also be deleted
* @return bool True if the operation should continue, false if it should abort * @return bool True if the operation should continue, false if it should abort
* @link http://book.cakephp.org/2.0/en/models/callback-methods.html#beforedelete * @link https://book.cakephp.org/2.0/en/models/callback-methods.html#beforedelete
*/ */
public function beforeDelete($cascade = true) { public function beforeDelete($cascade = true) {
return true; return true;
@ -3820,7 +3820,7 @@ class Model extends CakeObject implements CakeEventListener {
* Called after every deletion operation. * Called after every deletion operation.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/models/callback-methods.html#afterdelete * @link https://book.cakephp.org/2.0/en/models/callback-methods.html#afterdelete
*/ */
public function afterDelete() { public function afterDelete() {
} }
@ -3831,7 +3831,7 @@ class Model extends CakeObject implements CakeEventListener {
* *
* @param array $options Options passed from Model::save(). * @param array $options Options passed from Model::save().
* @return bool True if validate operation should continue, false to abort * @return bool True if validate operation should continue, false to abort
* @link http://book.cakephp.org/2.0/en/models/callback-methods.html#beforevalidate * @link https://book.cakephp.org/2.0/en/models/callback-methods.html#beforevalidate
* @see Model::save() * @see Model::save()
*/ */
public function beforeValidate($options = array()) { public function beforeValidate($options = array()) {
@ -3850,7 +3850,7 @@ class Model extends CakeObject implements CakeEventListener {
* Called when a DataSource-level error occurs. * Called when a DataSource-level error occurs.
* *
* @return void * @return void
* @link http://book.cakephp.org/2.0/en/models/callback-methods.html#onerror * @link https://book.cakephp.org/2.0/en/models/callback-methods.html#onerror
*/ */
public function onError() { public function onError() {
} }

View file

@ -29,7 +29,7 @@ App::uses('Hash', 'Utility');
* definition array * definition array
* *
* @package Cake.Model * @package Cake.Model
* @link http://book.cakephp.org/2.0/en/data-validation.html * @link https://book.cakephp.org/2.0/en/data-validation.html
*/ */
class ModelValidator implements ArrayAccess, IteratorAggregate, Countable { class ModelValidator implements ArrayAccess, IteratorAggregate, Countable {

View file

@ -25,7 +25,7 @@ App::uses('Validation', 'Utility');
* rules for applying such method to a field. * rules for applying such method to a field.
* *
* @package Cake.Model.Validator * @package Cake.Model.Validator
* @link http://book.cakephp.org/2.0/en/data-validation.html * @link https://book.cakephp.org/2.0/en/data-validation.html
*/ */
class CakeValidationRule { class CakeValidationRule {

View file

@ -25,7 +25,7 @@ App::uses('CakeValidationRule', 'Model/Validator');
* methods to dynamically add or remove validation rules * methods to dynamically add or remove validation rules
* *
* @package Cake.Model.Validator * @package Cake.Model.Validator
* @link http://book.cakephp.org/2.0/en/data-validation.html * @link https://book.cakephp.org/2.0/en/data-validation.html
*/ */
class CakeValidationSet implements ArrayAccess, IteratorAggregate, Countable { class CakeValidationSet implements ArrayAccess, IteratorAggregate, Countable {

View file

@ -2,7 +2,7 @@
/** /**
* BasicsTest file * BasicsTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case * @package Cake.Test.Case
* @since CakePHP(tm) v 1.2.0.4206 * @since CakePHP(tm) v 1.2.0.4206
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* CacheTest file * CacheTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Cache * @package Cake.Test.Case.Cache
* @since CakePHP(tm) v 1.2.0.5432 * @since CakePHP(tm) v 1.2.0.5432
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ApcEngineTest file * ApcEngineTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Cache.Engine * @package Cake.Test.Case.Cache.Engine
* @since CakePHP(tm) v 1.2.0.5434 * @since CakePHP(tm) v 1.2.0.5434
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* FileEngineTest file * FileEngineTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Cache.Engine * @package Cake.Test.Case.Cache.Engine
* @since CakePHP(tm) v 1.2.0.5434 * @since CakePHP(tm) v 1.2.0.5434
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* MemcacheEngineTest file * MemcacheEngineTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Cache.Engine * @package Cake.Test.Case.Cache.Engine
* @since CakePHP(tm) v 1.2.0.5434 * @since CakePHP(tm) v 1.2.0.5434
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -4,7 +4,7 @@
* *
* PHP 5 * PHP 5
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Cache.Engine * @package Cake.Test.Case.Cache.Engine
* @since CakePHP(tm) v 2.5.0 * @since CakePHP(tm) v 2.5.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* RedisEngineTest file * RedisEngineTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> * CakePHP(tm) Tests <https://book.cakephp.org/view/1196/Testing>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests * @link https://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
* @package Cake.Test.Case.Cache.Engine * @package Cake.Test.Case.Cache.Engine
* @since CakePHP(tm) v 2.2 * @since CakePHP(tm) v 2.2
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* WincacheEngineTest file * WincacheEngineTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Cache.Engine * @package Cake.Test.Case.Cache.Engine
* @since CakePHP(tm) v 1.2.0.5434 * @since CakePHP(tm) v 1.2.0.5434
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* XcacheEngineTest file * XcacheEngineTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Cache.Engine * @package Cake.Test.Case.Cache.Engine
* @since CakePHP(tm) v 1.2.0.5434 * @since CakePHP(tm) v 1.2.0.5434
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* IniReaderTest * IniReaderTest
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Configure * @package Cake.Test.Case.Configure
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* PhpConfigReaderTest * PhpConfigReaderTest
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Configure * @package Cake.Test.Case.Configure
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ConsoleOptionParserTest file * ConsoleOptionParserTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Console * @package Cake.Test.Case.Console
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ConsoleOutputTest file * ConsoleOutputTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Console * @package Cake.Test.Case.Console
* @since CakePHP(tm) v 1.2.0.5432 * @since CakePHP(tm) v 1.2.0.5432
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* HelpFormatterTest file * HelpFormatterTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Console * @package Cake.Test.Case.Console
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ShellDispatcherTest file * ShellDispatcherTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Console * @package Cake.Test.Case.Console
* @since CakePHP(tm) v 1.2.0.5432 * @since CakePHP(tm) v 1.2.0.5432
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice. * Redistributions of files must retain the above copyright notice.
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Console * @package Cake.Test.Case.Console
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* AclComponentTest file * AclComponentTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller.Component * @package Cake.Test.Case.Controller.Component
* @since CakePHP(tm) v 1.2.0.5435 * @since CakePHP(tm) v 1.2.0.5435
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* AuthComponentTest file * AuthComponentTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller.Component * @package Cake.Test.Case.Controller.Component
* @since CakePHP(tm) v 1.2.0.5347 * @since CakePHP(tm) v 1.2.0.5347
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* CookieComponentTest file * CookieComponentTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller.Component * @package Cake.Test.Case.Controller.Component
* @since CakePHP(tm) v 1.2.0.5435 * @since CakePHP(tm) v 1.2.0.5435
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -4,7 +4,7 @@
* *
* Series of tests for email component. * Series of tests for email component.
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller.Component * @package Cake.Test.Case.Controller.Component
* @since CakePHP(tm) v 1.2.0.5347 * @since CakePHP(tm) v 1.2.0.5347
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -4,7 +4,7 @@
* *
* Series of tests for flash component. * Series of tests for flash component.
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller.Component * @package Cake.Test.Case.Controller.Component
* @since CakePHP(tm) v 2.7.0-dev * @since CakePHP(tm) v 2.7.0-dev
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -4,7 +4,7 @@
* *
* Series of tests for paginator component. * Series of tests for paginator component.
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller.Component * @package Cake.Test.Case.Controller.Component
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* RequestHandlerComponentTest file * RequestHandlerComponentTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller.Component * @package Cake.Test.Case.Controller.Component
* @since CakePHP(tm) v 1.2.0.5435 * @since CakePHP(tm) v 1.2.0.5435
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* SecurityComponentTest file * SecurityComponentTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller.Component * @package Cake.Test.Case.Controller.Component
* @since CakePHP(tm) v 1.2.0.5435 * @since CakePHP(tm) v 1.2.0.5435
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* SessionComponentTest file * SessionComponentTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller.Component * @package Cake.Test.Case.Controller.Component
* @since CakePHP(tm) v 1.2.0.5436 * @since CakePHP(tm) v 1.2.0.5436
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice. * Redistributions of files must retain the above copyright notice.
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller * @package Cake.Test.Case.Controller
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ComponentTest file * ComponentTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller * @package Cake.Test.Case.Controller
* @since CakePHP(tm) v 1.2.0.5436 * @since CakePHP(tm) v 1.2.0.5436
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -4,7 +4,7 @@
* *
* Isolated from the Controller and Component test as to not pollute their AppController class * Isolated from the Controller and Component test as to not pollute their AppController class
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller * @package Cake.Test.Case.Controller
* @since CakePHP(tm) v 1.2.3 * @since CakePHP(tm) v 1.2.3
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -815,13 +815,13 @@ class ControllerTest extends CakeTestCase {
$Controller->Components = $this->getMock('ComponentCollection', array('trigger')); $Controller->Components = $this->getMock('ComponentCollection', array('trigger'));
$Controller->Components->expects($this->once())->method('trigger') $Controller->Components->expects($this->once())->method('trigger')
->will($this->returnValue(array('http://book.cakephp.org'))); ->will($this->returnValue(array('https://book.cakephp.org')));
$Controller->response->expects($this->once())->method('statusCode') $Controller->response->expects($this->once())->method('statusCode')
->with(301); ->with(301);
$Controller->response->expects($this->once())->method('header') $Controller->response->expects($this->once())->method('header')
->with('Location', 'http://book.cakephp.org'); ->with('Location', 'https://book.cakephp.org');
$Controller->redirect('https://cakephp.org', 301, false); $Controller->redirect('https://cakephp.org', 301, false);
} }

View file

@ -2,7 +2,7 @@
/** /**
* PagesControllerTest file * PagesControllerTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller * @package Cake.Test.Case.Controller
* @since CakePHP(tm) v 1.2.0.5436 * @since CakePHP(tm) v 1.2.0.5436
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ScaffoldTest file * ScaffoldTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Controller * @package Cake.Test.Case.Controller
* @since CakePHP(tm) v 1.2.0.5436 * @since CakePHP(tm) v 1.2.0.5436
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ObjectTest file * ObjectTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Core * @package Cake.Test.Case.Core
* @since CakePHP(tm) v 1.2.0.5432 * @since CakePHP(tm) v 1.2.0.5432
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -4,7 +4,7 @@
* *
* Holds several tests * Holds several tests
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Core * @package Cake.Test.Case.Core
* @since CakePHP(tm) v 1.2.0.5432 * @since CakePHP(tm) v 1.2.0.5432
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ErrorHandlerTest file * ErrorHandlerTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Error * @package Cake.Test.Case.Error
* @since CakePHP(tm) v 1.2.0.5432 * @since CakePHP(tm) v 1.2.0.5432
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ExceptionRendererTest file * ExceptionRendererTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Error * @package Cake.Test.Case.Error
* @since CakePHP(tm) v 2.0 * @since CakePHP(tm) v 2.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* I18nTest file * I18nTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.I18n * @package Cake.Test.Case.I18n
* @since CakePHP(tm) v 1.2.0.5432 * @since CakePHP(tm) v 1.2.0.5432
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* L10nTest file * L10nTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.I18n * @package Cake.Test.Case.I18n
* @since CakePHP(tm) v 1.2.0.5432 * @since CakePHP(tm) v 1.2.0.5432
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* MultibyteTest file * MultibyteTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.I18n * @package Cake.Test.Case.I18n
* @since CakePHP(tm) v 1.2.0.6833 * @since CakePHP(tm) v 1.2.0.6833
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* CakeLogTest file * CakeLogTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Log * @package Cake.Test.Case.Log
* @since CakePHP(tm) v 1.2.0.5432 * @since CakePHP(tm) v 1.2.0.5432
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ConsoleLogTest file * ConsoleLogTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Log.Engine * @package Cake.Test.Case.Log.Engine
* @since CakePHP(tm) v 1.3 * @since CakePHP(tm) v 1.3
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* FileLogTest file * FileLogTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Log.Engine * @package Cake.Test.Case.Log.Engine
* @since CakePHP(tm) v 1.3 * @since CakePHP(tm) v 1.3
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -1,6 +1,6 @@
<?php <?php
/** /**
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -8,7 +8,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Log.Engine * @package Cake.Test.Case.Log.Engine
* @since CakePHP(tm) v 2.4 * @since CakePHP(tm) v 2.4
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* LogEngineCollectionTest file * LogEngineCollectionTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Log * @package Cake.Test.Case.Log
* @since CakePHP(tm) v 2.4 * @since CakePHP(tm) v 2.4
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* AclNodeTest file * AclNodeTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model * @package Cake.Test.Case.Model
* @since CakePHP(tm) v 1.2.0.4206 * @since CakePHP(tm) v 1.2.0.4206
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* ContainableBehaviorTest file * ContainableBehaviorTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model.Behavior * @package Cake.Test.Case.Model.Behavior
* @since CakePHP(tm) v 1.2.0.5669 * @since CakePHP(tm) v 1.2.0.5669
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -1,6 +1,6 @@
<?php <?php
/** /**
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -8,7 +8,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @since CakePHP(tm) v 1.2.0.5669 * @since CakePHP(tm) v 1.2.0.5669
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License
*/ */

View file

@ -2,7 +2,7 @@
/** /**
* TreeBehaviorAfterTest file * TreeBehaviorAfterTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model.Behavior * @package Cake.Test.Case.Model.Behavior
* @since CakePHP(tm) v 1.2.0.5330 * @since CakePHP(tm) v 1.2.0.5330
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -4,7 +4,7 @@
* *
* This is the basic Tree behavior test * This is the basic Tree behavior test
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model.Behavior * @package Cake.Test.Case.Model.Behavior
* @since CakePHP(tm) v 1.2.0.5330 * @since CakePHP(tm) v 1.2.0.5330
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -4,7 +4,7 @@
* *
* A tree test using scope * A tree test using scope
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model.Behavior * @package Cake.Test.Case.Model.Behavior
* @since CakePHP(tm) v 1.2.0.5330 * @since CakePHP(tm) v 1.2.0.5330
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -4,7 +4,7 @@
* *
* Tree test using UUIDs * Tree test using UUIDs
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -12,7 +12,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model.Behavior * @package Cake.Test.Case.Model.Behavior
* @since CakePHP(tm) v 1.2.0.5330 * @since CakePHP(tm) v 1.2.0.5330
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* Test for Schema database management * Test for Schema database management
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model * @package Cake.Test.Case.Model
* @since CakePHP(tm) v 1.2.0.5550 * @since CakePHP(tm) v 1.2.0.5550
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -9,7 +9,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model * @package Cake.Test.Case.Model
* @since CakePHP(tm) v 1.2.0.5550 * @since CakePHP(tm) v 1.2.0.5550
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* SessionTest file * SessionTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice * Redistributions of files must retain the above copyright notice
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model.Datasource * @package Cake.Test.Case.Model.Datasource
* @since CakePHP(tm) v 1.2.0.4206 * @since CakePHP(tm) v 1.2.0.4206
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* DataSourceTest file * DataSourceTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice. * Redistributions of files must retain the above copyright notice.
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model.Datasource * @package Cake.Test.Case.Model.Datasource
* @since CakePHP(tm) v 1.2.0.4206 * @since CakePHP(tm) v 1.2.0.4206
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* DboSourceTest file * DboSourceTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License
@ -10,7 +10,7 @@
* Redistributions of files must retain the above copyright notice. * Redistributions of files must retain the above copyright notice.
* *
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests * @link https://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
* @package Cake.Test.Case.Model.Datasource * @package Cake.Test.Case.Model.Datasource
* @since CakePHP(tm) v 1.2.0.4206 * @since CakePHP(tm) v 1.2.0.4206
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License

View file

@ -2,7 +2,7 @@
/** /**
* CacheSessionTest * CacheSessionTest
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License

View file

@ -2,7 +2,7 @@
/** /**
* DatabaseSessionTest file * DatabaseSessionTest file
* *
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> * CakePHP(tm) Tests <https://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* *
* Licensed under The MIT License * Licensed under The MIT License

Some files were not shown because too many files have changed in this diff Show more