mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
27c5a4919a
Revision: [2076] Correcting a few more bugs found in the CakeSession class Revision: [2075] Adding fix fro Ticket #417 Revision: [2074] Corrected name of method Revision: [2073] Added patch submitted by lemp on IRC channel Revision: [2072] Added fix for Ticket #418. Bug fix added for session_destroy(); Revision: [2071] Updated DboSource::conditions() with regex discussed in IRC channel. Added --return delimiter to allow returning the value of an array key without the string being wrapped by $this->Model->value(); It is used like: $this->Model->find(array('Model.field' => '--return STRING')) Revision: [2070] Changed the DboSource::condition(). New syntax has been added. By default all conditions are joined using AND. array('Model.field' => ' = value','Model.field' => ' > value'); `Model`.`field` = 'value' AND `Model`.`field` = 'value' To change this you would add a space CONDITIONAL space to the array key Incorrect: array('Model.field' => ' = value','OR Model.field' => ' > value'); Correct: array('Model.field' => ' = value',' OR Model.field' => ' > value'); would produce `Model`.`field` = 'value' OR `Model`.`field` = 'value' Change where also made the the value of the key space OPERATION space is now needed. Incorrect: array('Model.field' => '= value'; Correct: array('Model.field' => ' = value'; git-svn-id: https://svn.cakephp.org/repo/trunk/cake@2077 3807eeeb-6ff5-0310-8944-8be069107fe0
9 lines
No EOL
515 B
Text
9 lines
No EOL
515 B
Text
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// +---------------------------------------------------------------------------------------------------+ //
|
|
// + $Id$
|
|
// + Last Modified: $Date$
|
|
// + Modified By: $LastChangedBy$
|
|
// +---------------------------------------------------------------------------------------------------+ //
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
0.10.8.2077 |