mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-14 19:08:25 +00:00
Use HTTPS for the book.cakephp.org URL
This commit is contained in:
parent
10b89b51a9
commit
04efc7ba50
361 changed files with 1112 additions and 1112 deletions
|
@ -28,7 +28,7 @@ App::uses('Controller', 'Controller');
|
|||
* will inherit them.
|
||||
*
|
||||
* @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 {
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ App::uses('AppController', 'Controller');
|
|||
* Override this controller by placing a copy in controllers directory of an application
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@ endif;
|
|||
<?php if (file_exists(WWW_ROOT . 'css' . DS . 'cake.generic.css')): ?>
|
||||
<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.'); ?>
|
||||
1) <a target="_blank" href="http://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>
|
||||
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="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>
|
||||
<?php endif; ?>
|
||||
<p>
|
||||
|
@ -159,7 +159,7 @@ You can also add some CSS styles for your pages at: %s.',
|
|||
<?php
|
||||
echo $this->Html->link(
|
||||
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)
|
||||
);
|
||||
?>
|
||||
|
@ -168,7 +168,7 @@ You can also add some CSS styles for your pages at: %s.',
|
|||
<?php
|
||||
echo $this->Html->link(
|
||||
__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)
|
||||
);
|
||||
?>
|
||||
|
@ -199,7 +199,7 @@ You can also add some CSS styles for your pages at: %s.',
|
|||
<ul>
|
||||
<li><a href="https://cakephp.org">CakePHP</a>
|
||||
<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>
|
||||
<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>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.4433
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -30,7 +30,7 @@ App::uses('Model', 'Model');
|
|||
* models, and views. Going further, Bake can also write Unit Tests for you.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ App::uses('CakeSchema', 'Model');
|
|||
* of your database.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ class ServerShell extends AppShell {
|
|||
* or otherwise modify the pre-command flow.
|
||||
*
|
||||
* @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() {
|
||||
if (!empty($this->params['host'])) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
*/
|
||||
|
|
|
@ -112,7 +112,7 @@ class Shell extends CakeObject {
|
|||
* Contains tasks to load and instantiate
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -127,7 +127,7 @@ class Shell extends CakeObject {
|
|||
* Contains models to load and instantiate
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -194,7 +194,7 @@ class Shell extends CakeObject {
|
|||
* @param ConsoleOutput $stdout A ConsoleOutput object for stdout.
|
||||
* @param ConsoleOutput $stderr A ConsoleOutput object for stderr.
|
||||
* @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) {
|
||||
if (!$this->name) {
|
||||
|
@ -222,7 +222,7 @@ class Shell extends CakeObject {
|
|||
* allows configuration of tasks prior to shell execution
|
||||
*
|
||||
* @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() {
|
||||
$this->_loadModels();
|
||||
|
@ -237,7 +237,7 @@ class Shell extends CakeObject {
|
|||
* or otherwise modify the pre-command flow.
|
||||
*
|
||||
* @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() {
|
||||
$this->_welcome();
|
||||
|
@ -340,7 +340,7 @@ class Shell extends CakeObject {
|
|||
*
|
||||
* @param string $task The task name to check.
|
||||
* @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) {
|
||||
return isset($this->_taskMap[Inflector::camelize($task)]);
|
||||
|
@ -351,7 +351,7 @@ class Shell extends CakeObject {
|
|||
*
|
||||
* @param string $name The method name to check.
|
||||
* @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) {
|
||||
try {
|
||||
|
@ -387,7 +387,7 @@ class Shell extends CakeObject {
|
|||
* `return $this->dispatchShell('schema', 'create', 'i18n', '--dry');`
|
||||
*
|
||||
* @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() {
|
||||
$args = func_get_args();
|
||||
|
@ -416,7 +416,7 @@ class Shell extends CakeObject {
|
|||
* 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.
|
||||
* @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) {
|
||||
$isTask = $this->hasTask($command);
|
||||
|
@ -487,7 +487,7 @@ class Shell extends CakeObject {
|
|||
* By overriding this method you can configure the ConsoleOptionParser before returning it.
|
||||
*
|
||||
* @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() {
|
||||
$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 $default Default input value.
|
||||
* @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) {
|
||||
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.
|
||||
* @return string Wrapped / indented text
|
||||
* @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()) {
|
||||
return CakeText::wrap($text, $options);
|
||||
|
@ -633,7 +633,7 @@ class Shell extends CakeObject {
|
|||
* @param int $newlines Number of newlines to append
|
||||
* @param int $level The message's output level, see above.
|
||||
* @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) {
|
||||
$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 int $newlines Number of newlines to append
|
||||
* @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) {
|
||||
$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
|
||||
* @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) {
|
||||
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 $width Width of the line, defaults to 63
|
||||
* @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) {
|
||||
$this->out(null, $newlines);
|
||||
|
@ -726,7 +726,7 @@ class Shell extends CakeObject {
|
|||
* @param string $title Title of the error
|
||||
* @param string $message An optional error message
|
||||
* @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) {
|
||||
$this->err(__d('cake_console', '<error>Error:</error> %s', $title));
|
||||
|
@ -742,7 +742,7 @@ class Shell extends CakeObject {
|
|||
* Clear the console
|
||||
*
|
||||
* @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() {
|
||||
if (empty($this->params['noclear'])) {
|
||||
|
@ -760,7 +760,7 @@ class Shell extends CakeObject {
|
|||
* @param string $path Where to put the file.
|
||||
* @param string $contents Content to put in the file.
|
||||
* @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) {
|
||||
$path = str_replace(DS . DS, DS, $path);
|
||||
|
@ -849,7 +849,7 @@ class Shell extends CakeObject {
|
|||
*
|
||||
* @param string $file Absolute file 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) {
|
||||
$shortPath = str_replace(ROOT, null, $file);
|
||||
|
|
|
@ -106,7 +106,7 @@ class ShellDispatcher {
|
|||
$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" .
|
||||
"and check the cookbook for the correct usage of this command.\n" .
|
||||
"(http://book.cakephp.org/)";
|
||||
"(https://book.cakephp.org/)";
|
||||
throw new CakeException($message);
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ App::uses('Controller', 'Controller');
|
|||
* will inherit them.
|
||||
*
|
||||
* @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 {
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ App::uses('AppController', 'Controller');
|
|||
* Override this controller by placing a copy in controllers directory of an application
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -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;">
|
||||
<?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>
|
||||
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>
|
||||
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="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>
|
||||
<?php
|
||||
endif;
|
||||
|
@ -162,7 +162,7 @@ You can also add some CSS styles for your pages at: %s.',
|
|||
<?php
|
||||
echo $this->Html->link(
|
||||
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)
|
||||
);
|
||||
?>
|
||||
|
@ -171,7 +171,7 @@ You can also add some CSS styles for your pages at: %s.',
|
|||
<?php
|
||||
echo $this->Html->link(
|
||||
__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)
|
||||
);
|
||||
?>
|
||||
|
@ -202,7 +202,7 @@ You can also add some CSS styles for your pages at: %s.',
|
|||
<ul>
|
||||
<li><a href="https://cakephp.org">CakePHP</a>
|
||||
<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>
|
||||
<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>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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
|
||||
* @since CakePHP(tm) v 1.2.0.4433
|
||||
*/
|
||||
|
|
|
@ -34,7 +34,7 @@ App::uses('ComponentCollection', 'Controller');
|
|||
* - `beforeRedirect()` - Fired before a redirect() is done.
|
||||
*
|
||||
* @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
|
||||
*/
|
||||
class Component extends CakeObject {
|
||||
|
@ -103,7 +103,7 @@ class Component extends CakeObject {
|
|||
*
|
||||
* @param Controller $controller Controller with components to initialize
|
||||
* @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) {
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ class Component extends CakeObject {
|
|||
*
|
||||
* @param Controller $controller Controller with components to startup
|
||||
* @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) {
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ class Component extends CakeObject {
|
|||
*
|
||||
* @param Controller $controller Controller with components to beforeRender
|
||||
* @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) {
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ class Component extends CakeObject {
|
|||
*
|
||||
* @param Controller $controller Controller with components to shutdown
|
||||
* @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) {
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ class Component extends CakeObject {
|
|||
* @param int $status The status code of the redirect
|
||||
* @param bool $exit Will the script exit.
|
||||
* @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) {
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ class DbAcl extends CakeObject implements AclInterface {
|
|||
* @param string $aco ACO The controlled object identifier.
|
||||
* @param string $action Action (defaults to *)
|
||||
* @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 = "*") {
|
||||
return $this->Permission->check($aro, $aco, $action);
|
||||
|
@ -81,7 +81,7 @@ class DbAcl extends CakeObject implements AclInterface {
|
|||
* @param string $actions Action (defaults to *)
|
||||
* @param int $value Value to indicate access type (1 to give access, -1 to deny, 0 to inherit)
|
||||
* @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) {
|
||||
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 $action Action (defaults to *)
|
||||
* @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 = "*") {
|
||||
return $this->allow($aro, $aco, $action, -1);
|
||||
|
|
|
@ -25,7 +25,7 @@ App::uses('AclInterface', 'Controller/Component/Acl');
|
|||
* you specify must implement `AclInterface`
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ class BlowfishPasswordHasher extends AbstractPasswordHasher {
|
|||
*
|
||||
* @param string $password Plain text password to 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) {
|
||||
return Security::hash($password, 'blowfish', false);
|
||||
|
|
|
@ -35,7 +35,7 @@ class SimplePasswordHasher extends AbstractPasswordHasher {
|
|||
*
|
||||
* @param string $password Plain text password to 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) {
|
||||
return Security::hash($password, $this->_config['hashType'], true);
|
||||
|
|
|
@ -34,7 +34,7 @@ App::uses('CakeEvent', 'Event');
|
|||
* Binds access control with user authentication and session management.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
@ -82,7 +82,7 @@ class AuthComponent extends Component {
|
|||
* You can also use AuthComponent::ALL instead of the string 'all'.
|
||||
*
|
||||
* @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');
|
||||
|
||||
|
@ -122,7 +122,7 @@ class AuthComponent extends Component {
|
|||
* You can also use AuthComponent::ALL instead of the string 'all'
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -193,7 +193,7 @@ class AuthComponent extends Component {
|
|||
* set, redirectUrl() method will return the URL specified in $loginRedirect.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -213,7 +213,7 @@ class AuthComponent extends Component {
|
|||
* access.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -518,7 +518,7 @@ class AuthComponent extends Component {
|
|||
*
|
||||
* @param string|array|null $action Controller action name or array of actions
|
||||
* @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) {
|
||||
$args = func_get_args();
|
||||
|
@ -544,7 +544,7 @@ class AuthComponent extends Component {
|
|||
* @param string|array|null $action Controller action name or array of actions
|
||||
* @return void
|
||||
* @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) {
|
||||
$args = func_get_args();
|
||||
|
@ -574,7 +574,7 @@ class AuthComponent extends Component {
|
|||
* @param array $map Actions to map
|
||||
* @return array
|
||||
* @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
|
||||
*/
|
||||
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.
|
||||
* @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) {
|
||||
$this->_setDefaults();
|
||||
|
@ -634,7 +634,7 @@ class AuthComponent extends Component {
|
|||
*
|
||||
* @return string 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() {
|
||||
$this->_setDefaults();
|
||||
|
@ -661,7 +661,7 @@ class AuthComponent extends Component {
|
|||
*
|
||||
* @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.
|
||||
* @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) {
|
||||
if (!empty(static::$_user)) {
|
||||
|
|
|
@ -26,7 +26,7 @@ App::uses('Hash', 'Utility');
|
|||
* Cookie handling for the controller.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
@ -211,7 +211,7 @@ class CookieComponent extends Component {
|
|||
* @param int|string $expires Can be either the number of seconds until a cookie
|
||||
* expires, or a strtotime compatible time offset.
|
||||
* @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) {
|
||||
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
|
||||
* @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) {
|
||||
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
|
||||
* @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) {
|
||||
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.
|
||||
*
|
||||
* @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() {
|
||||
if (isset($_COOKIE[$this->name])) {
|
||||
|
|
|
@ -27,8 +27,8 @@ App::uses('CakeEmail', 'Network/Email');
|
|||
* based on the standard outlined in http://www.rfc-editor.org/rfc/rfc2822.txt
|
||||
*
|
||||
* @package Cake.Controller.Component
|
||||
* @link http://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-libraries/components/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
|
||||
*/
|
||||
class EmailComponent extends Component {
|
||||
|
|
|
@ -66,7 +66,7 @@ App::uses('Hash', 'Utility');
|
|||
* Would paginate using the `find('popular')` method.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ App::uses('Xml', 'Utility');
|
|||
* should respond to the different needs of a handheld computer and a desktop machine.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ App::uses('Security', 'Utility');
|
|||
* - Limiting cross controller communication.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
@ -254,7 +254,7 @@ class SecurityComponent extends Component {
|
|||
*
|
||||
* @return void
|
||||
* @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() {
|
||||
$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
|
||||
*
|
||||
* @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() {
|
||||
$args = func_get_args();
|
||||
|
@ -313,7 +313,7 @@ class SecurityComponent extends Component {
|
|||
* SecurityComponent::$allowedActions.
|
||||
*
|
||||
* @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() {
|
||||
$args = func_get_args();
|
||||
|
@ -328,7 +328,7 @@ class SecurityComponent extends Component {
|
|||
* @param string $error Error method
|
||||
* @return mixed If specified, controller blackHoleCallback's response, or no return otherwise
|
||||
* @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
|
||||
*/
|
||||
public function blackHole(Controller $controller, $error = '') {
|
||||
|
|
|
@ -25,8 +25,8 @@ App::uses('CakeSession', 'Model/Datasource');
|
|||
* convenience methods for several `$_SESSION` related functions.
|
||||
*
|
||||
* @package Cake.Controller.Component
|
||||
* @link http://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/core-libraries/components/sessions.html
|
||||
* @link https://book.cakephp.org/2.0/en/development/sessions.html
|
||||
*/
|
||||
class SessionComponent extends Component {
|
||||
|
||||
|
@ -49,7 +49,7 @@ class SessionComponent extends Component {
|
|||
* This should be in a Controller.key format for better organizing
|
||||
* @param string $value The value you want to store in a session.
|
||||
* @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) {
|
||||
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
|
||||
* @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) {
|
||||
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
|
||||
* @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) {
|
||||
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
|
||||
* @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) {
|
||||
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 string $key Message key, default is 'flash'
|
||||
* @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.
|
||||
*/
|
||||
public function setFlash($message, $element = 'default', $params = array(), $key = 'flash') {
|
||||
|
@ -167,7 +167,7 @@ class SessionComponent extends Component {
|
|||
* In your controller: $this->Session->destroy();
|
||||
*
|
||||
* @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() {
|
||||
return CakeSession::destroy();
|
||||
|
|
|
@ -53,7 +53,7 @@ App::uses('CakeEventManager', 'Event');
|
|||
* @property SecurityComponent $Security
|
||||
* @property SessionComponent $Session
|
||||
* @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 {
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -81,7 +81,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* The default value is `true`.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -92,7 +92,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* Example: `public $helpers = array('Html', 'Js', 'Time', 'Ajax');`
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -102,7 +102,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* additional information about the request.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -110,7 +110,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* An instance of a CakeResponse object that contains information about the impending response
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -188,7 +188,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* Example: `public $components = array('Session', 'RequestHandler', 'Acl');`
|
||||
*
|
||||
* @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');
|
||||
|
||||
|
@ -239,7 +239,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* marks all the actions in the controller for view caching.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -254,7 +254,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* Triggers Scaffolding
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -632,7 +632,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @return mixed true if models found and instance created.
|
||||
* @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
|
||||
*/
|
||||
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
|
||||
* @return \Cake\Network\Response|null
|
||||
* @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) {
|
||||
$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).
|
||||
* Unused if $one is an associative array, otherwise serves as the values to $one's keys.
|
||||
* @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) {
|
||||
if (is_array($one)) {
|
||||
|
@ -929,7 +929,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* @param string $layout Layout to use
|
||||
* @return CakeResponse A response object containing the rendered view.
|
||||
* @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) {
|
||||
$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 bool $local If true, restrict referring URLs to local server
|
||||
* @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) {
|
||||
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.
|
||||
*
|
||||
* @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().
|
||||
*/
|
||||
public function disableCache() {
|
||||
|
@ -1005,7 +1005,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* @param int $pause Time to show the message
|
||||
* @param string $layout Layout you want to use, defaults to 'flash'
|
||||
* @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.
|
||||
*/
|
||||
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 array $whitelist List of allowed options for paging
|
||||
* @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()) {
|
||||
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.
|
||||
*
|
||||
* @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() {
|
||||
}
|
||||
|
@ -1104,7 +1104,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* to perform logic or set view variables that are required on every request.
|
||||
*
|
||||
* @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() {
|
||||
}
|
||||
|
@ -1126,7 +1126,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* false to stop redirection event,
|
||||
* string controllers a new redirection URL or
|
||||
* 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) {
|
||||
}
|
||||
|
@ -1135,7 +1135,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
* Called after the controller action is run and rendered.
|
||||
*
|
||||
* @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() {
|
||||
}
|
||||
|
@ -1145,7 +1145,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @param string $method name of method called example index, edit, etc.
|
||||
* @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) {
|
||||
return true;
|
||||
|
@ -1168,7 +1168,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @param string $method name of method called either edit or update.
|
||||
* @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) {
|
||||
return true;
|
||||
|
@ -1191,7 +1191,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @param string $method name of method called either edit or update.
|
||||
* @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) {
|
||||
return true;
|
||||
|
@ -1216,7 +1216,7 @@ class Controller extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @param string $method name of method called example index, edit, etc.
|
||||
* @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) {
|
||||
return false;
|
||||
|
|
|
@ -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
|
||||
* 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
|
||||
*/
|
||||
class App {
|
||||
|
@ -215,7 +215,7 @@ class App {
|
|||
* @param string $type type of path
|
||||
* @param string $plugin name of plugin
|
||||
* @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) {
|
||||
if (!empty(static::$legacy[$type])) {
|
||||
|
@ -246,7 +246,7 @@ class App {
|
|||
* use App::path()
|
||||
*
|
||||
* @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() {
|
||||
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)
|
||||
* App::REGISTER will register new packages and their paths, %s in path will be replaced by APP path
|
||||
* @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) {
|
||||
//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.
|
||||
* @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.
|
||||
*/
|
||||
public static function pluginPath($plugin) {
|
||||
|
@ -376,7 +376,7 @@ class App {
|
|||
*
|
||||
* @param string $theme theme name to find the path of.
|
||||
* @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) {
|
||||
$themeDir = 'Themed' . DS . Inflector::camelize($theme);
|
||||
|
@ -397,7 +397,7 @@ class App {
|
|||
*
|
||||
* @param string $type Package type.
|
||||
* @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) {
|
||||
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 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.
|
||||
* @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) {
|
||||
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 $location the package name
|
||||
* @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) {
|
||||
static::$_classMap[$className] = $location;
|
||||
|
@ -576,7 +576,7 @@ class App {
|
|||
*
|
||||
* @param string $className name of the class to obtain the package name from
|
||||
* @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) {
|
||||
if (!empty(static::$_classMap[$className])) {
|
||||
|
@ -601,7 +601,7 @@ class App {
|
|||
* @param bool $return Return the loaded file, the file must have a return
|
||||
* 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
|
||||
* @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) {
|
||||
$ext = null;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* It also can retrieve plugin paths and load their bootstrap and routes files.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ App::uses('Set', 'Utility');
|
|||
* for future use.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
@ -154,7 +154,7 @@ class Configure {
|
|||
* Alternatively can be an array containing key(s) and value(s).
|
||||
* @param mixed $value Value to set for var
|
||||
* @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) {
|
||||
if (!is_array($config)) {
|
||||
|
@ -187,7 +187,7 @@ class Configure {
|
|||
*
|
||||
* @param string|null $var Variable to obtain. Use '.' to access array elements.
|
||||
* @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) {
|
||||
if ($var === null) {
|
||||
|
@ -244,7 +244,7 @@ class Configure {
|
|||
*
|
||||
* @param string $var the var to be deleted
|
||||
* @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) {
|
||||
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
|
||||
* @return bool False if file not found, true if load successful.
|
||||
* @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) {
|
||||
$reader = static::_getReader($config);
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -70,7 +70,7 @@ App::uses('LogEngineCollection', 'Log');
|
|||
* on scopes
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
@ -187,7 +187,7 @@ class CakeLog {
|
|||
* @param array $config Array of configuration information for the logger
|
||||
* @return bool success of configuration.
|
||||
* @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) {
|
||||
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.
|
||||
* See CakeLog::config() for more information on logging scopes.
|
||||
* @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()) {
|
||||
if (empty(static::$_Collection)) {
|
||||
|
|
|
@ -28,7 +28,7 @@ App::uses('Hash', 'Utility');
|
|||
* Enables objects to easily tie into an ACL system
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
@ -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 $type Only needed when Acl is set up as 'both', specify 'Aro' or 'Aco' to get the correct node
|
||||
* @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) {
|
||||
if (empty($type)) {
|
||||
|
|
|
@ -26,7 +26,7 @@ App::uses('ModelBehavior', 'Model');
|
|||
* data returned.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
@ -226,7 +226,7 @@ class ContainableBehavior extends ModelBehavior {
|
|||
*
|
||||
* @param Model $Model Model on which binding restriction is being applied
|
||||
* @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) {
|
||||
$args = func_get_args();
|
||||
|
|
|
@ -22,7 +22,7 @@ App::uses('I18nModel', 'Model');
|
|||
* Translate 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 {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ App::uses('ModelBehavior', 'Model');
|
|||
*
|
||||
* @see http://en.wikipedia.org/wiki/Tree_traversal
|
||||
* @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 {
|
||||
|
||||
|
@ -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 bool $direct whether to count direct, or all, children
|
||||
* @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) {
|
||||
if (is_array($id)) {
|
||||
|
@ -366,7 +366,7 @@ class TreeBehavior extends ModelBehavior {
|
|||
* @param int $page Page number, for accessing paged data
|
||||
* @param int $recursive The number of levels deep to fetch associated records
|
||||
* @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) {
|
||||
$options = array();
|
||||
|
@ -429,7 +429,7 @@ class TreeBehavior extends ModelBehavior {
|
|||
* @param string $spacer The character or characters which will be repeated
|
||||
* @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
|
||||
* @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) {
|
||||
$overrideRecursive = $recursive;
|
||||
|
@ -523,7 +523,7 @@ class TreeBehavior extends ModelBehavior {
|
|||
* @param string|array $fields Fields to get
|
||||
* @param int $recursive The number of levels deep to fetch associated records
|
||||
* @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) {
|
||||
$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 int|null $recursive The number of levels deep to fetch associated records
|
||||
* @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) {
|
||||
$options = array();
|
||||
|
@ -643,7 +643,7 @@ class TreeBehavior extends ModelBehavior {
|
|||
* @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
|
||||
* @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) {
|
||||
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|bool $number how many places to move the node, or true to move to first position
|
||||
* @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) {
|
||||
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
|
||||
* delete, or the id of the parent to set as the parent_id
|
||||
* @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) {
|
||||
if (is_array($mode)) {
|
||||
|
@ -894,7 +894,7 @@ class TreeBehavior extends ModelBehavior {
|
|||
* @param Model $Model Model using this behavior
|
||||
* @param array $options array of options to use in reordering.
|
||||
* @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()) {
|
||||
$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 bool $delete whether to delete the node after reparenting children (if any)
|
||||
* @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) {
|
||||
if (is_array($id)) {
|
||||
|
@ -994,7 +994,7 @@ class TreeBehavior extends ModelBehavior {
|
|||
* @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],
|
||||
* [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) {
|
||||
extract($this->settings[$Model->alias]);
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
* 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
|
||||
*/
|
||||
class DataSource extends CakeObject {
|
||||
|
|
|
@ -40,7 +40,7 @@ App::uses('CakeEventManager', 'Event');
|
|||
* The table is required to have at least 'id auto_increment' primary key.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
@ -51,7 +51,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* or created using `ConnectionManager::create()`.
|
||||
*
|
||||
* @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';
|
||||
|
||||
|
@ -59,7 +59,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* Custom database table name, or null/false if no table association is desired.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -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
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -85,7 +85,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* Container for the data that this model gets from persistent storage (usually, a database).
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -107,7 +107,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* The name of the primary key field for this model.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -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
|
||||
*
|
||||
* @var array
|
||||
* @link http://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/model-attributes.html#validate
|
||||
* @link https://book.cakephp.org/2.0/en/models/data-validation.html
|
||||
*/
|
||||
public $validate = array();
|
||||
|
||||
|
@ -229,7 +229,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* Database table prefix for tables in model.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -244,7 +244,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* Name of the model.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -267,7 +267,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* caching only, the results are not stored beyond the current request.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -314,7 +314,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* - `counterScope`: Optional conditions array to use for updating counter cache field.
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -357,7 +357,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* User will also delete her associated Profile.
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -406,7 +406,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* records. This should be used in situations that require very custom results.
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -467,7 +467,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* be used in situations that require very custom results.
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -485,7 +485,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* ```
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -522,7 +522,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* the first level by default.
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -533,7 +533,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* public $order = array("Post.view_count DESC", "Post.rating DESC");
|
||||
*
|
||||
* @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;
|
||||
|
||||
|
@ -547,7 +547,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* Is a simplistic example of how to set virtualFields
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -945,7 +945,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* @param array $params Set of bindings (indexed by binding type)
|
||||
* @param bool $reset Set to false to make the binding permanent
|
||||
* @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) {
|
||||
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 bool $reset Set to false to make the unbinding permanent
|
||||
* @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) {
|
||||
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 $two Value string for the alternative indata method
|
||||
* @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) {
|
||||
if (!$one) {
|
||||
|
@ -1570,7 +1570,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* schema data defaults are not merged.
|
||||
* @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
|
||||
* @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) {
|
||||
$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 int|string $id The ID of the record to read
|
||||
* @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) {
|
||||
$this->validationErrors = array();
|
||||
|
@ -1650,7 +1650,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* @param array $conditions SQL conditions (defaults to NULL).
|
||||
* @param string $order SQL ORDER BY fragment.
|
||||
* @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) {
|
||||
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.
|
||||
* @return bool|array See Model::save() False on failure or an array of model data on success.
|
||||
* @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) {
|
||||
$id = $this->id;
|
||||
|
@ -1733,7 +1733,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* @throws PDOException
|
||||
* @triggers Model.beforeSave $this, array($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()) {
|
||||
$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
|
||||
* @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()) {
|
||||
$_whitelist = $this->whitelist;
|
||||
|
@ -2265,8 +2265,8 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* @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
|
||||
* 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 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-saveassociated-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()) {
|
||||
$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
|
||||
* depending on whether each record saved successfully.
|
||||
* @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()) {
|
||||
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
|
||||
* depending on whether each record saved successfully.
|
||||
* @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()) {
|
||||
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.
|
||||
* @param mixed $conditions Conditions to match, true for all records
|
||||
* @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) {
|
||||
return $this->getDataSource()->update($this, $fields, null, $conditions);
|
||||
|
@ -2678,7 +2678,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* @return bool True on success
|
||||
* @triggers Model.beforeDelete $this, array($cascade)
|
||||
* @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) {
|
||||
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 $callbacks Run callbacks
|
||||
* @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) {
|
||||
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().
|
||||
* 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.
|
||||
*
|
||||
* 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 array $query Option fields (conditions / fields / joins / limit / offset / order / page / group / callbacks)
|
||||
* @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()) {
|
||||
$this->findQueryType = $type;
|
||||
|
@ -3458,7 +3458,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @param string $sql SQL statement
|
||||
* @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) {
|
||||
$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.
|
||||
* @return mixed true if the operation should continue, false if it should abort; or, modified
|
||||
* $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) {
|
||||
return true;
|
||||
|
@ -3774,7 +3774,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* @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)
|
||||
* @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) {
|
||||
return $results;
|
||||
|
@ -3786,7 +3786,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @param array $options Options passed from Model::save().
|
||||
* @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()
|
||||
*/
|
||||
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 array $options Options passed from Model::save().
|
||||
* @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()
|
||||
*/
|
||||
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
|
||||
* @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) {
|
||||
return true;
|
||||
|
@ -3820,7 +3820,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* Called after every deletion operation.
|
||||
*
|
||||
* @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() {
|
||||
}
|
||||
|
@ -3831,7 +3831,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @param array $options Options passed from Model::save().
|
||||
* @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()
|
||||
*/
|
||||
public function beforeValidate($options = array()) {
|
||||
|
@ -3850,7 +3850,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
* Called when a DataSource-level error occurs.
|
||||
*
|
||||
* @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() {
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ App::uses('Hash', 'Utility');
|
|||
* definition array
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ App::uses('Validation', 'Utility');
|
|||
* rules for applying such method to a field.
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ App::uses('CakeValidationRule', 'Model/Validator');
|
|||
* methods to dynamically add or remove validation rules
|
||||
*
|
||||
* @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 {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.4206
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5432
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5434
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5434
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5434
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.5.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.2
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5434
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5434
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5432
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5432
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5435
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5347
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5435
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5347
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.7.0-dev
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5435
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5435
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5436
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5436
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.3
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -815,13 +815,13 @@ class ControllerTest extends CakeTestCase {
|
|||
$Controller->Components = $this->getMock('ComponentCollection', array('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')
|
||||
->with(301);
|
||||
|
||||
$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);
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5436
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5436
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5432
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5432
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5432
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.0
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5432
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5432
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.6833
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5432
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.3
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.3
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -8,7 +8,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.4
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 2.4
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.4206
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5669
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -8,7 +8,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5330
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5330
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5330
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -12,7 +12,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5330
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5550
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.5550
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.4206
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.4206
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
@ -10,7 +10,7 @@
|
|||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @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
|
||||
* @since CakePHP(tm) v 1.2.0.4206
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* 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)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue