mirror of
				https://github.com/brmlab/brmsklad.git
				synced 2025-10-31 00:03:58 +01:00 
			
		
		
		
	Upgrade CakePHP from 2.2.5 to 2.9.5
This commit is contained in:
		
							parent
							
								
									5a580df460
								
							
						
					
					
						commit
						235a541597
					
				
					 793 changed files with 60746 additions and 23753 deletions
				
			
		|  | @ -4,28 +4,25 @@ | |||
|  * | ||||
|  * Behavior to simplify manipulating a model's bindings when doing a find operation | ||||
|  * | ||||
|  * PHP 5 | ||||
|  * | ||||
|  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | ||||
|  * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * | ||||
|  * Licensed under The MIT License | ||||
|  * For full copyright and license information, please see the LICENSE.txt | ||||
|  * Redistributions of files must retain the above copyright notice. | ||||
|  * | ||||
|  * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @link          http://cakephp.org CakePHP(tm) Project | ||||
|  * @package       Cake.Test.test_app.Plugin.TestPlugin.Model.Behavior | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model.Behavior | ||||
|  * @since         CakePHP(tm) v 1.2.0.5669 | ||||
|  * @version       $Revision$ | ||||
|  * @modifiedby    $LastChangedBy$ | ||||
|  * @lastmodified  $Date$ | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php MIT License | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * Behavior to allow for dynamic and atomic manipulation of a Model's associations used for a find call. Most useful for limiting | ||||
|  * the amount of associations and data returned. | ||||
|  * | ||||
|  * @package       Cake.Test.test_app.Plugin.TestPlugin.Model.Behavior | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model.Behavior | ||||
|  */ | ||||
| class TestPluginPersisterOneBehavior extends ModelBehavior { | ||||
| } | ||||
|  |  | |||
|  | @ -4,28 +4,25 @@ | |||
|  * | ||||
|  * Behavior to simplify manipulating a model's bindings when doing a find operation | ||||
|  * | ||||
|  * PHP 5 | ||||
|  * | ||||
|  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | ||||
|  * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * | ||||
|  * Licensed under The MIT License | ||||
|  * For full copyright and license information, please see the LICENSE.txt | ||||
|  * Redistributions of files must retain the above copyright notice. | ||||
|  * | ||||
|  * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @link          http://cakephp.org CakePHP(tm) Project | ||||
|  * @package       Cake.Test.test_app.Plugin.TestPlugin.Model.Behavior | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model.Behavior | ||||
|  * @since         CakePHP(tm) v 1.2.0.5669 | ||||
|  * @version       $Revision$ | ||||
|  * @modifiedby    $LastChangedBy$ | ||||
|  * @lastmodified  $Date$ | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php MIT License | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * Behavior to allow for dynamic and atomic manipulation of a Model's associations used for a find call. Most useful for limiting | ||||
|  * the amount of associations and data returned. | ||||
|  * | ||||
|  * @package       Cake.Test.test_app.Plugin.TestPlugin.Model.Behavior | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model.Behavior | ||||
|  */ | ||||
| class TestPluginPersisterTwoBehavior extends ModelBehavior { | ||||
| } | ||||
|  |  | |||
|  | @ -1,4 +1,5 @@ | |||
| <?php | ||||
| 
 | ||||
| App::uses('DboSource', 'Model/Datasource'); | ||||
| 
 | ||||
| class DboDummy extends DboSource { | ||||
|  |  | |||
|  | @ -12,18 +12,23 @@ class TestPluginSession implements CakeSessionHandlerInterface { | |||
| 	} | ||||
| 
 | ||||
| 	public function close() { | ||||
| 		return true; | ||||
| 	} | ||||
| 
 | ||||
| 	public function read($id) { | ||||
| 		return ''; | ||||
| 	} | ||||
| 
 | ||||
| 	public function write($id, $data) { | ||||
| 		return true; | ||||
| 	} | ||||
| 
 | ||||
| 	public function destroy($id) { | ||||
| 		return true; | ||||
| 	} | ||||
| 
 | ||||
| 	public function gc($expires = null) { | ||||
| 		return true; | ||||
| 	} | ||||
| 
 | ||||
| } | ||||
|  |  | |||
|  | @ -1,4 +1,5 @@ | |||
| <?php | ||||
| 
 | ||||
| App::uses('DataSource', 'Model/Datasource'); | ||||
| 
 | ||||
| class TestSource extends DataSource { | ||||
|  |  | |||
|  | @ -2,19 +2,24 @@ | |||
| /** | ||||
|  * Test Suite TestPlugin AppModel | ||||
|  * | ||||
|  * PHP 5 | ||||
|  * | ||||
|  * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> | ||||
|  * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * | ||||
|  * Licensed under The MIT License | ||||
|  * For full copyright and license information, please see the LICENSE.txt | ||||
|  * Redistributions of files must retain the above copyright notice | ||||
|  * | ||||
|  * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @link          http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests | ||||
|  * @package       Cake.Test.test_app.Plugin.TestPlugin.Model | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  * @since         CakePHP(tm) v 1.2.0.5432 | ||||
|  * @license       MIT License (http://www.opensource.org/licenses/mit-license.php) | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php MIT License | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * TestPluginAppModel | ||||
|  * | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  */ | ||||
| class TestPluginAppModel extends CakeTestModel { | ||||
| } | ||||
|  |  | |||
|  | @ -2,19 +2,24 @@ | |||
| /** | ||||
|  * Test Plugin Auth User Model | ||||
|  * | ||||
|  * PHP 5 | ||||
|  * | ||||
|  * CakePHP : Rapid Development Framework (http://cakephp.org) | ||||
|  * Copyright 2005-2012, Cake Software Foundation, Inc. | ||||
|  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * | ||||
|  * Licensed under The MIT License | ||||
|  * For full copyright and license information, please see the LICENSE.txt | ||||
|  * Redistributions of files must retain the above copyright notice. | ||||
|  * | ||||
|  * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. | ||||
|  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @link          http://cakephp.org CakePHP Project | ||||
|  * @package       Cake.Test.test_app.Plugin.TestPlugin.Model | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  * @since         CakePHP v 1.2.0.4487 | ||||
|  * @license       MIT License (http://www.opensource.org/licenses/mit-license.php) | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php MIT License | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * TestPluginAuthUser | ||||
|  * | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  */ | ||||
| class TestPluginAuthUser extends TestPluginAppModel { | ||||
| 
 | ||||
|  | @ -35,7 +40,7 @@ class TestPluginAuthUser extends TestPluginAppModel { | |||
| /** | ||||
|  * useDbConfig property | ||||
|  * | ||||
|  * @var string 'test' | ||||
|  * @var string | ||||
|  */ | ||||
| 	public $useDbConfig = 'test'; | ||||
| } | ||||
|  |  | |||
|  | @ -2,22 +2,24 @@ | |||
| /** | ||||
|  * Test App Comment Model | ||||
|  * | ||||
|  * PHP 5 | ||||
|  * | ||||
|  * CakePHP :  Rapid Development Framework (http://cakephp.org) | ||||
|  * Copyright 2005-2012, Cake Software Foundation, Inc. | ||||
|  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * | ||||
|  * Licensed under The MIT License | ||||
|  * For full copyright and license information, please see the LICENSE.txt | ||||
|  * Redistributions of files must retain the above copyright notice. | ||||
|  * | ||||
|  * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. | ||||
|  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @link          http://cakefoundation.org/projects/info/cakephp CakePHP Project | ||||
|  * @package       Cake.Test.test_app.Plugin.TestPlugin.Model | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  * @since         CakePHP v 1.2.0.7726 | ||||
|  * @version       $Revision$ | ||||
|  * @modifiedby    $LastChangedBy$ | ||||
|  * @lastmodified  $Date$ | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php MIT License | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * TestPluginAuthors | ||||
|  * | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  */ | ||||
| class TestPluginAuthors extends TestPluginAppModel { | ||||
| 
 | ||||
|  | @ -25,4 +27,13 @@ class TestPluginAuthors extends TestPluginAppModel { | |||
| 
 | ||||
| 	public $name = 'TestPluginAuthors'; | ||||
| 
 | ||||
| 	public $validate = array( | ||||
| 		'field' => array( | ||||
| 			'notBlank' => array( | ||||
| 				'rule' => 'notBlank', | ||||
| 				'message' => 'I can haz plugin model validation message', | ||||
| 			), | ||||
| 		), | ||||
| 	); | ||||
| 
 | ||||
| } | ||||
|  |  | |||
|  | @ -2,22 +2,24 @@ | |||
| /** | ||||
|  * Test App Comment Model | ||||
|  * | ||||
|  * PHP 5 | ||||
|  * | ||||
|  * CakePHP :  Rapid Development Framework (http://cakephp.org) | ||||
|  * Copyright 2005-2012, Cake Software Foundation, Inc. | ||||
|  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * | ||||
|  * Licensed under The MIT License | ||||
|  * For full copyright and license information, please see the LICENSE.txt | ||||
|  * Redistributions of files must retain the above copyright notice. | ||||
|  * | ||||
|  * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. | ||||
|  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @link          http://cakefoundation.org/projects/info/cakephp CakePHP Project | ||||
|  * @package       Cake.Test.test_app.Plugin.TestPlugin.Model | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  * @since         CakePHP v 1.2.0.7726 | ||||
|  * @version       $Revision$ | ||||
|  * @modifiedby    $LastChangedBy$ | ||||
|  * @lastmodified  $Date$ | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php MIT License | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * TestPluginComment | ||||
|  * | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  */ | ||||
| class TestPluginComment extends TestPluginAppModel { | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,21 +2,24 @@ | |||
| /** | ||||
|  * Test Plugin Post Model | ||||
|  * | ||||
|  * | ||||
|  * | ||||
|  * PHP 5 | ||||
|  * | ||||
|  * CakePHP : Rapid Development Framework (http://cakephp.org) | ||||
|  * Copyright 2005-2012, Cake Software Foundation, Inc. | ||||
|  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * | ||||
|  * Licensed under The MIT License | ||||
|  * For full copyright and license information, please see the LICENSE.txt | ||||
|  * Redistributions of files must retain the above copyright notice. | ||||
|  * | ||||
|  * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. | ||||
|  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @link          http://cakephp.org CakePHP Project | ||||
|  * @package       Cake.Test.test_app.Plugin.TestPlugin.Model | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  * @since         CakePHP v 1.2.0.4487 | ||||
|  * @license       MIT License (http://www.opensource.org/licenses/mit-license.php) | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php MIT License | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * TestPluginPost | ||||
|  * | ||||
|  * @package       Cake.Test.TestApp.Plugin.TestPlugin.Model | ||||
|  */ | ||||
| class TestPluginPost extends TestPluginAppModel { | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brm Ko
						Brm Ko