@@ -705,7 +705,7 @@ public function shutdownProcess() {
705
705
*
706
706
* @return array Associative array of the HTTP codes as keys, and the message
707
707
* strings as values, or null of the given $code does not exist.
708
- * @deprecated Use CakeResponse::httpCodes();
708
+ * @deprecated Since 2.4. Will be removed in 3.0. Use CakeResponse::httpCodes().
709
709
*/
710
710
public function httpCodes ($ code = null ) {
711
711
return $ this ->response ->httpCodes ($ code );
@@ -820,7 +820,7 @@ protected function _parseBeforeRedirect($response, $url, $status, $exit) {
820
820
*
821
821
* @param string $status The header message that is being set.
822
822
* @return void
823
- * @deprecated Use CakeResponse::header()
823
+ * @deprecated Will be removed in 3.0. Use CakeResponse::header().
824
824
*/
825
825
public function header ($ status ) {
826
826
$ this ->response ->header ($ status );
@@ -978,7 +978,7 @@ public function referer($default = null, $local = false) {
978
978
*
979
979
* @return void
980
980
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::disableCache
981
- * @deprecated Use CakeResponse::disableCache()
981
+ * @deprecated Will be removed in 3.0. Use CakeResponse::disableCache().
982
982
*/
983
983
public function disableCache () {
984
984
$ this ->response ->disableCache ();
@@ -995,6 +995,7 @@ public function disableCache() {
995
995
* @param string $layout Layout you want to use, defaults to 'flash'
996
996
* @return void
997
997
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::flash
998
+ * @deprecated Will be removed in 3.0. Use Session::setFlash().
998
999
*/
999
1000
public function flash ($ message , $ url , $ pause = 1 , $ layout = 'flash ' ) {
1000
1001
$ this ->autoRender = false ;
@@ -1015,7 +1016,7 @@ public function flash($message, $url, $pause = 1, $layout = 'flash') {
1015
1016
* @param boolean $exclusive If true, and $op is an array, fields not included in $op will not be
1016
1017
* included in the returned conditions
1017
1018
* @return array An array of model conditions
1018
- * @deprecated Will be removed in 3.0
1019
+ * @deprecated Will be removed in 3.0.
1019
1020
*/
1020
1021
public function postConditions ($ data = array (), $ op = null , $ bool = 'AND ' , $ exclusive = false ) {
1021
1022
if (!is_array ($ data ) || empty ($ data )) {
@@ -1072,7 +1073,7 @@ public function postConditions($data = array(), $op = null, $bool = 'AND', $excl
1072
1073
* @param array $whitelist List of allowed options for paging
1073
1074
* @return array Model query results
1074
1075
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::paginate
1075
- * @deprecated Use PaginatorComponent instead
1076
+ * @deprecated Will be removed in 3.0. Use PaginatorComponent instead.
1076
1077
*/
1077
1078
public function paginate ($ object = null , $ scope = array (), $ whitelist = array ()) {
1078
1079
return $ this ->Components ->load ('Paginator ' , $ this ->paginate )->paginate ($ object , $ scope , $ whitelist );
@@ -1146,7 +1147,7 @@ public function beforeScaffold($method) {
1146
1147
* @param string $method
1147
1148
* @return boolean
1148
1149
* @see Controller::beforeScaffold()
1149
- * @deprecated
1150
+ * @deprecated Will be removed in 3.0.
1150
1151
*/
1151
1152
protected function _beforeScaffold ($ method ) {
1152
1153
return $ this ->beforeScaffold ($ method );
@@ -1169,7 +1170,7 @@ public function afterScaffoldSave($method) {
1169
1170
* @param string $method
1170
1171
* @return boolean
1171
1172
* @see Controller::afterScaffoldSave()
1172
- * @deprecated
1173
+ * @deprecated Will be removed in 3.0.
1173
1174
*/
1174
1175
protected function _afterScaffoldSave ($ method ) {
1175
1176
return $ this ->afterScaffoldSave ($ method );
@@ -1192,7 +1193,7 @@ public function afterScaffoldSaveError($method) {
1192
1193
* @param string $method
1193
1194
* @return boolean
1194
1195
* @see Controller::afterScaffoldSaveError()
1195
- * @deprecated
1196
+ * @deprecated Will be removed in 3.0.
1196
1197
*/
1197
1198
protected function _afterScaffoldSaveError ($ method ) {
1198
1199
return $ this ->afterScaffoldSaveError ($ method );
@@ -1217,7 +1218,7 @@ public function scaffoldError($method) {
1217
1218
* @param string $method
1218
1219
* @return boolean
1219
1220
* @see Controller::scaffoldError()
1220
- * @deprecated
1221
+ * @deprecated Will be removed in 3.0.
1221
1222
*/
1222
1223
protected function _scaffoldError ($ method ) {
1223
1224
return $ this ->scaffoldError ($ method );
0 commit comments