Skip to content
Permalink
Browse files

Correct doc blocks according to cs guidelines.

Remove superfluous empty lines.
  • Loading branch information...
dereuromark committed Jul 3, 2014
1 parent 65d14c7 commit 974ca851c21cf84c52191d928174f6968fb43a6e
Showing with 1,383 additions and 1,528 deletions.
  1. +1 −2 app/Config/Schema/db_acl.php
  2. +0 −1 app/Config/Schema/i18n.php
  3. +0 −1 app/Config/core.php
  4. +0 −2 app/View/Emails/html/default.ctp
  5. +0 −2 app/View/Emails/text/default.ctp
  6. +0 −2 app/View/Errors/error400.ctp
  7. +0 −2 app/View/Errors/error500.ctp
  8. +0 −2 app/View/Layouts/Emails/html/default.ctp
  9. +0 −2 app/View/Layouts/Emails/text/default.ctp
  10. +0 −2 app/View/Layouts/ajax.ctp
  11. +0 −2 app/View/Layouts/default.ctp
  12. +0 −2 app/View/Layouts/error.ctp
  13. +0 −2 app/View/Layouts/flash.ctp
  14. +0 −2 app/View/Pages/home.ctp
  15. +0 −2 app/index.php
  16. +11 −11 lib/Cake/Cache/Cache.php
  17. +10 −10 lib/Cake/Cache/CacheEngine.php
  18. +9 −9 lib/Cake/Cache/Engine/ApcEngine.php
  19. +17 −17 lib/Cake/Cache/Engine/FileEngine.php
  20. +11 −11 lib/Cake/Cache/Engine/MemcacheEngine.php
  21. +9 −9 lib/Cake/Cache/Engine/MemcachedEngine.php
  22. +10 −10 lib/Cake/Cache/Engine/RedisEngine.php
  23. +9 −9 lib/Cake/Cache/Engine/WincacheEngine.php
  24. +10 −10 lib/Cake/Cache/Engine/XcacheEngine.php
  25. +1 −1 lib/Cake/Configure/ConfigReaderInterface.php
  26. +1 −1 lib/Cake/Configure/IniReader.php
  27. +1 −1 lib/Cake/Configure/PhpReader.php
  28. +3 −3 lib/Cake/Console/Command/AclShell.php
  29. +2 −2 lib/Cake/Console/Command/ConsoleShell.php
  30. +1 −1 lib/Cake/Console/Command/SchemaShell.php
  31. +1 −1 lib/Cake/Console/Command/ServerShell.php
  32. +1 −1 lib/Cake/Console/Command/Task/BakeTask.php
  33. +1 −1 lib/Cake/Console/Command/Task/ControllerTask.php
  34. +2 −2 lib/Cake/Console/Command/Task/DbConfigTask.php
  35. +10 −10 lib/Cake/Console/Command/Task/ExtractTask.php
  36. +1 −1 lib/Cake/Console/Command/Task/FixtureTask.php
  37. +5 −5 lib/Cake/Console/Command/Task/ModelTask.php
  38. +1 −1 lib/Cake/Console/Command/Task/PluginTask.php
  39. +10 −10 lib/Cake/Console/Command/Task/ProjectTask.php
  40. +5 −5 lib/Cake/Console/Command/Task/TestTask.php
  41. +2 −2 lib/Cake/Console/Command/Task/ViewTask.php
  42. +1 −1 lib/Cake/Console/Command/TestShell.php
  43. +3 −3 lib/Cake/Console/ConsoleErrorHandler.php
  44. +3 −3 lib/Cake/Console/ConsoleInput.php
  45. +5 −5 lib/Cake/Console/ConsoleInputArgument.php
  46. +5 −5 lib/Cake/Console/ConsoleInputOption.php
  47. +1 −1 lib/Cake/Console/ConsoleInputSubcommand.php
  48. +4 −4 lib/Cake/Console/ConsoleOptionParser.php
  49. +8 −8 lib/Cake/Console/ConsoleOutput.php
  50. +5 −5 lib/Cake/Console/HelpFormatter.php
  51. +21 −21 lib/Cake/Console/Shell.php
  52. +4 −4 lib/Cake/Console/ShellDispatcher.php
  53. +0 −2 lib/Cake/Console/Templates/default/views/form.ctp
  54. +0 −2 lib/Cake/Console/Templates/default/views/index.ctp
  55. +0 −2 lib/Cake/Console/Templates/default/views/view.ctp
  56. +1 −1 lib/Cake/Console/Templates/skel/Config/Schema/db_acl.php
  57. +1 −2 lib/Cake/Console/Templates/skel/Config/Schema/i18n.php
  58. +0 −1 lib/Cake/Console/Templates/skel/Config/Schema/sessions.php
  59. +0 −1 lib/Cake/Console/Templates/skel/Config/core.php
  60. +0 −2 lib/Cake/Console/Templates/skel/View/Emails/html/default.ctp
  61. +0 −2 lib/Cake/Console/Templates/skel/View/Emails/text/default.ctp
  62. +0 −2 lib/Cake/Console/Templates/skel/View/Errors/error400.ctp
  63. +0 −2 lib/Cake/Console/Templates/skel/View/Errors/error500.ctp
  64. +0 −2 lib/Cake/Console/Templates/skel/View/Layouts/Emails/html/default.ctp
  65. +0 −2 lib/Cake/Console/Templates/skel/View/Layouts/Emails/text/default.ctp
  66. +0 −2 lib/Cake/Console/Templates/skel/View/Layouts/ajax.ctp
  67. +0 −2 lib/Cake/Console/Templates/skel/View/Layouts/default.ctp
  68. +0 −2 lib/Cake/Console/Templates/skel/View/Layouts/error.ctp
  69. +0 −2 lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp
  70. +0 −2 lib/Cake/Console/Templates/skel/View/Pages/home.ctp
  71. +0 −2 lib/Cake/Console/Templates/skel/index.php
  72. +2 −4 lib/Cake/Controller/Component.php
  73. +4 −4 lib/Cake/Controller/Component/Acl/AclInterface.php
  74. +7 −7 lib/Cake/Controller/Component/Acl/DbAcl.php
  75. +4 −4 lib/Cake/Controller/Component/Acl/IniAcl.php
  76. +6 −6 lib/Cake/Controller/Component/Acl/PhpAcl.php
  77. +6 −6 lib/Cake/Controller/Component/AclComponent.php
  78. +1 −1 lib/Cake/Controller/Component/Auth/AbstractPasswordHasher.php
  79. +1 −3 lib/Cake/Controller/Component/Auth/ActionsAuthorize.php
  80. +1 −1 lib/Cake/Controller/Component/Auth/BaseAuthenticate.php
  81. +1 −1 lib/Cake/Controller/Component/Auth/BaseAuthorize.php
  82. +0 −2 lib/Cake/Controller/Component/Auth/BlowfishAuthenticate.php
  83. +1 −1 lib/Cake/Controller/Component/Auth/BlowfishPasswordHasher.php
  84. +1 −1 lib/Cake/Controller/Component/Auth/ControllerAuthorize.php
  85. +1 −3 lib/Cake/Controller/Component/Auth/CrudAuthorize.php
  86. +1 −1 lib/Cake/Controller/Component/Auth/FormAuthenticate.php
  87. +1 −1 lib/Cake/Controller/Component/Auth/SimplePasswordHasher.php
  88. +11 −11 lib/Cake/Controller/Component/AuthComponent.php
  89. +7 −7 lib/Cake/Controller/Component/CookieComponent.php
  90. +2 −2 lib/Cake/Controller/Component/EmailComponent.php
  91. +19 −19 lib/Cake/Controller/Component/RequestHandlerComponent.php
  92. +10 −10 lib/Cake/Controller/Component/SecurityComponent.php
  93. +5 −5 lib/Cake/Controller/Component/SessionComponent.php
  94. +28 −28 lib/Cake/Controller/Controller.php
  95. +1 −1 lib/Cake/Controller/Scaffold.php
  96. +15 −15 lib/Cake/Core/App.php
  97. +2 −2 lib/Cake/Core/CakePlugin.php
  98. +10 −10 lib/Cake/Core/Configure.php
  99. +4 −4 lib/Cake/Core/Object.php
  100. +8 −9 lib/Cake/Error/ErrorHandler.php
  101. +9 −9 lib/Cake/Error/exceptions.php
  102. +5 −5 lib/Cake/Event/CakeEvent.php
  103. +0 −2 lib/Cake/Event/CakeEventListener.php
  104. +3 −3 lib/Cake/Event/CakeEventManager.php
  105. +4 −4 lib/Cake/I18n/I18n.php
  106. +3 −3 lib/Cake/I18n/L10n.php
  107. +23 −23 lib/Cake/I18n/Multibyte.php
  108. +13 −14 lib/Cake/Log/CakeLog.php
  109. +1 −1 lib/Cake/Log/Engine/ConsoleLog.php
  110. +2 −2 lib/Cake/Log/Engine/FileLog.php
  111. +6 −8 lib/Cake/Log/Engine/SyslogLog.php
  112. +1 −3 lib/Cake/Model/AclNode.php
  113. +0 −2 lib/Cake/Model/Aco.php
  114. +0 −2 lib/Cake/Model/AcoAction.php
  115. +0 −2 lib/Cake/Model/Aro.php
  116. +1 −1 lib/Cake/Model/Behavior/AclBehavior.php
  117. +2 −2 lib/Cake/Model/Behavior/ContainableBehavior.php
  118. +7 −7 lib/Cake/Model/Behavior/TranslateBehavior.php
  119. +44 −44 lib/Cake/Model/Behavior/TreeBehavior.php
  120. +3 −3 lib/Cake/Model/BehaviorCollection.php
  121. +1 −1 lib/Cake/Model/CakeSchema.php
  122. +3 −3 lib/Cake/Model/ConnectionManager.php
  123. +20 −20 lib/Cake/Model/Datasource/CakeSession.php
  124. +14 −14 lib/Cake/Model/Datasource/DataSource.php
  125. +7 −7 lib/Cake/Model/Datasource/Database/Mysql.php
  126. +14 −14 lib/Cake/Model/Datasource/Database/Postgres.php
  127. +8 −8 lib/Cake/Model/Datasource/Database/Sqlite.php
  128. +7 −7 lib/Cake/Model/Datasource/Database/Sqlserver.php
  129. +59 −59 lib/Cake/Model/Datasource/DboSource.php
  130. +8 −8 lib/Cake/Model/Datasource/Session/CacheSession.php
  131. +8 −8 lib/Cake/Model/Datasource/Session/CakeSessionHandlerInterface.php
  132. +10 −10 lib/Cake/Model/Datasource/Session/DatabaseSession.php
  133. +56 −56 lib/Cake/Model/Model.php
  134. +5 −5 lib/Cake/Model/ModelBehavior.php
  135. +7 −7 lib/Cake/Model/ModelValidator.php
  136. +4 −6 lib/Cake/Model/Permission.php
  137. +14 −14 lib/Cake/Model/Validator/CakeValidationRule.php
  138. +5 −5 lib/Cake/Model/Validator/CakeValidationSet.php
  139. +13 −13 lib/Cake/Network/CakeRequest.php
  140. +24 −24 lib/Cake/Network/CakeResponse.php
  141. +11 −11 lib/Cake/Network/CakeSocket.php
  142. +11 −11 lib/Cake/Network/Email/CakeEmail.php
  143. +1 −1 lib/Cake/Network/Email/SmtpTransport.php
  144. +1 −1 lib/Cake/Network/Http/DigestAuthentication.php
  145. +8 −8 lib/Cake/Network/Http/HttpSocket.php
  146. +6 −6 lib/Cake/Network/Http/HttpSocketResponse.php
  147. +1 −1 lib/Cake/Routing/Dispatcher.php
  148. +2 −2 lib/Cake/Routing/DispatcherFilter.php
  149. +1 −1 lib/Cake/Routing/Filter/AssetDispatcher.php
  150. +1 −1 lib/Cake/Routing/Filter/CacheDispatcher.php
  151. +2 −2 lib/Cake/Routing/Route/CakeRoute.php
  152. +3 −3 lib/Cake/Routing/Route/RedirectRoute.php
  153. +12 −12 lib/Cake/Routing/Router.php
  154. +1 −2 lib/Cake/Test/Case/Console/Command/Task/FixtureTaskTest.php
  155. +2 −2 lib/Cake/Test/Case/Console/ShellTest.php
  156. +5 −5 lib/Cake/Test/Case/Controller/Component/Acl/DbAclTest.php
  157. +6 −6 lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php
  158. +2 −2 lib/Cake/Test/Case/Controller/Component/EmailComponentTest.php
  159. +1 −2 lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php
  160. +1 −1 lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php
  161. +2 −2 lib/Cake/Test/Case/Controller/Component/SecurityComponentTest.php
  162. +1 −1 lib/Cake/Test/Case/Controller/ComponentTest.php
  163. +1 −1 lib/Cake/Test/Case/Controller/ControllerTest.php
  164. +1 −1 lib/Cake/Test/Case/Controller/ScaffoldTest.php
  165. +0 −2 lib/Cake/Test/Case/Log/Engine/SyslogLogTest.php
  166. +2 −2 lib/Cake/Test/Case/Model/AclNodeTest.php
  167. +1 −1 lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php
  168. +1 −1 lib/Cake/Test/Case/Model/Behavior/TreeBehaviorAfterTest.php
  169. +1 −1 lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php
  170. +1 −1 lib/Cake/Test/Case/Model/Behavior/TreeBehaviorScopedTest.php
  171. +1 −1 lib/Cake/Test/Case/Model/Behavior/TreeBehaviorUuidTest.php
  172. +6 −6 lib/Cake/Test/Case/Model/BehaviorCollectionTest.php
  173. +1 −1 lib/Cake/Test/Case/Model/Datasource/DataSourceTest.php
  174. +1 −3 lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
  175. +3 −3 lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
  176. +1 −1 lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php
  177. +3 −3 lib/Cake/Test/Case/Model/Datasource/Database/SqlserverTest.php
  178. +1 −2 lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
  179. +2 −4 lib/Cake/Test/Case/Model/ModelCrossSchemaHabtmTest.php
  180. +1 −1 lib/Cake/Test/Case/Model/ModelIntegrationTest.php
  181. +2 −2 lib/Cake/Test/Case/Model/ModelTestBase.php
  182. +2 −2 lib/Cake/Test/Case/Model/Validator/CakeValidationRuleTest.php
  183. +47 −47 lib/Cake/Test/Case/Model/models.php
  184. +2 −2 lib/Cake/Test/Case/Network/CakeRequestTest.php
  185. +3 −3 lib/Cake/Test/Case/Network/CakeResponseTest.php
  186. +1 −1 lib/Cake/Test/Case/Network/Http/DigestAuthenticationTest.php
  187. +2 −2 lib/Cake/Test/Case/Network/Http/HttpResponseTest.php
  188. +4 −4 lib/Cake/Test/Case/Network/Http/HttpSocketTest.php
  189. +2 −2 lib/Cake/Test/Case/Routing/DispatcherTest.php
  190. +1 −1 lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
  191. +1 −1 lib/Cake/Test/Case/Utility/ClassRegistryTest.php
  192. +2 −2 lib/Cake/Test/Case/Utility/FileTest.php
  193. +1 −1 lib/Cake/Test/Case/Utility/SanitizeTest.php
  194. +1 −1 lib/Cake/Test/Case/Utility/SecurityTest.php
  195. +1 −1 lib/Cake/Test/Case/Utility/ValidationTest.php
  196. +1 −1 lib/Cake/Test/Case/Utility/XmlTest.php
  197. +11 −12 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
  198. +1 −1 lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
  199. +4 −4 lib/Cake/Test/Case/View/HelperTest.php
  200. +2 −2 lib/Cake/Test/Case/View/ViewTest.php
  201. +1 −1 lib/Cake/Test/Fixture/ArmorFixture.php
  202. +1 −1 lib/Cake/Test/Fixture/ArmorsPlayerFixture.php
  203. +1 −1 lib/Cake/Test/Fixture/JoinABFixture.php
  204. +1 −1 lib/Cake/Test/Fixture/JoinACFixture.php
  205. +1 −1 lib/Cake/Test/Fixture/TranslateArticleFixture.php
  206. +1 −1 lib/Cake/Test/Fixture/TranslateFixture.php
  207. +1 −1 lib/Cake/Test/Fixture/TranslateTableFixture.php
  208. +1 −1 lib/Cake/Test/Fixture/TranslateWithPrefixFixture.php
  209. +0 −2 lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Routing/Filter/Test2DispatcherFilter.php
  210. +0 −2 lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Routing/Filter/TestDispatcherFilter.php
  211. +1 −1 lib/Cake/Test/test_app/Plugin/TestPlugin/Model/TestPluginAuthUser.php
  212. +16 −17 lib/Cake/TestSuite/CakeTestCase.php
  213. +1 −1 lib/Cake/TestSuite/CakeTestSuiteCommand.php
  214. +4 −4 lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
  215. +4 −4 lib/Cake/TestSuite/ControllerTestCase.php
  216. +3 −3 lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php
  217. +3 −3 lib/Cake/TestSuite/Fixture/CakeFixtureManager.php
  218. +5 −5 lib/Cake/TestSuite/Fixture/CakeTestFixture.php
  219. +2 −2 lib/Cake/TestSuite/Fixture/CakeTestModel.php
  220. +1 −1 lib/Cake/TestSuite/Reporter/CakeBaseReporter.php
  221. +6 −6 lib/Cake/Utility/CakeNumber.php
  222. +48 −48 lib/Cake/Utility/CakeTime.php
  223. +4 −4 lib/Cake/Utility/ClassRegistry.php
  224. +13 −13 lib/Cake/Utility/Debugger.php
  225. +30 −30 lib/Cake/Utility/File.php
  226. +28 −28 lib/Cake/Utility/Folder.php
  227. +10 −10 lib/Cake/Utility/Hash.php
  228. +1 −1 lib/Cake/Utility/Inflector.php
  229. +4 −4 lib/Cake/Utility/ObjectCollection.php
  230. +4 −4 lib/Cake/Utility/Security.php
  231. +12 −12 lib/Cake/Utility/Set.php
  232. +6 −7 lib/Cake/Utility/String.php
  233. +48 −50 lib/Cake/Utility/Validation.php
  234. +0 −2 lib/Cake/View/Errors/fatal_error.ctp
  235. +0 −2 lib/Cake/View/Errors/missing_action.ctp
  236. +0 −2 lib/Cake/View/Errors/missing_behavior.ctp
  237. +0 −2 lib/Cake/View/Errors/missing_component.ctp
  238. +0 −2 lib/Cake/View/Errors/missing_connection.ctp
  239. +0 −2 lib/Cake/View/Errors/missing_controller.ctp
  240. +0 −2 lib/Cake/View/Errors/missing_database.ctp
  241. +0 −2 lib/Cake/View/Errors/missing_datasource.ctp
  242. +0 −2 lib/Cake/View/Errors/missing_datasource_config.ctp
  243. +0 −2 lib/Cake/View/Errors/missing_helper.ctp
  244. +0 −2 lib/Cake/View/Errors/missing_layout.ctp
  245. +0 −2 lib/Cake/View/Errors/missing_plugin.ctp
  246. +0 −2 lib/Cake/View/Errors/missing_table.ctp
  247. +0 −2 lib/Cake/View/Errors/missing_view.ctp
  248. +0 −2 lib/Cake/View/Errors/pdo_error.ctp
  249. +0 −2 lib/Cake/View/Errors/private_action.ctp
  250. +0 −2 lib/Cake/View/Errors/scaffold_error.ctp
  251. +3 −3 lib/Cake/View/Helper.php
  252. +4 −4 lib/Cake/View/Helper/CacheHelper.php
  253. +11 −11 lib/Cake/View/Helper/FormHelper.php
  254. +7 −8 lib/Cake/View/Helper/HtmlHelper.php
  255. +1 −1 lib/Cake/View/Helper/JsBaseEngineHelper.php
  256. +4 −4 lib/Cake/View/Helper/JsHelper.php
  257. +4 −4 lib/Cake/View/Helper/NumberHelper.php
  258. +9 −9 lib/Cake/View/Helper/PaginatorHelper.php
  259. +1 −1 lib/Cake/View/Helper/PrototypeEngineHelper.php
  260. +2 −2 lib/Cake/View/Helper/RssHelper.php
  261. +2 −2 lib/Cake/View/Helper/SessionHelper.php
  262. +3 −3 lib/Cake/View/Helper/TextHelper.php
  263. +41 −41 lib/Cake/View/Helper/TimeHelper.php
  264. +1 −1 lib/Cake/View/HelperCollection.php
  265. +0 −2 lib/Cake/View/Scaffolds/form.ctp
  266. +0 −2 lib/Cake/View/Scaffolds/index.ctp
  267. +0 −2 lib/Cake/View/Scaffolds/view.ctp
  268. +13 −13 lib/Cake/View/View.php
  269. +1 −3 lib/Cake/View/ViewBlock.php
  270. +12 −12 lib/Cake/basics.php
  271. +21 −21 lib/Cake/bootstrap.php
@@ -19,7 +19,6 @@
*/
/**
*
* Using the Schema command line utility
* cake schema run create DbAcl
*
@@ -30,7 +29,7 @@ class DbAclSchema extends CakeSchema {
* Before event.
*
* @param array $event The event data.
* @return boolean success
* @return bool success
*/
public function before($event = array()) {
return true;
@@ -19,7 +19,6 @@
*/
/**
*
* Using the Schema command line utility
*
* Use it to configure database for i18n
@@ -278,7 +278,6 @@
//Configure::write('Config.timezone', 'Europe/Paris');
/**
*
* Cache Engine Configuration
* Default settings provided below
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -1,7 +1,5 @@
<?php
/**
*
*
* @link http://cakephp.org CakePHP(tm) Project
* @package app.View.Pages
* @since CakePHP(tm) v 0.10.0.1076
@@ -1,7 +1,5 @@
<?php
/**
*
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -160,7 +160,7 @@ public static function config($name = null, $settings = array()) {
* Finds and builds the instance of the required engine class.
*
* @param string $name Name of the config array that needs an engine instance built
* @return boolean
* @return bool
* @throws CacheException
*/
protected static function _buildEngine($name) {
@@ -201,7 +201,7 @@ public static function configured() {
* the Engine instance is also unset.
*
* @param string $name A currently configured cache config you wish to remove.
* @return boolean success of the removal, returns false when the config does not exist.
* @return bool success of the removal, returns false when the config does not exist.
*/
public static function drop($name) {
if (!isset(self::$_config[$name])) {
@@ -269,7 +269,7 @@ public static function set($settings = array(), $value = null, $config = 'defaul
* Permanently remove all expired and deleted data
*
* @param string $config [optional] The config name you wish to have garbage collected. Defaults to 'default'
* @param integer $expires [optional] An expires timestamp. Defaults to NULL
* @param int $expires [optional] An expires timestamp. Defaults to NULL
* @return void
*/
public static function gc($config = 'default', $expires = null) {
@@ -292,7 +292,7 @@ public static function gc($config = 'default', $expires = null) {
* @param string $key Identifier for the data
* @param mixed $value Data to be cached - anything except a resource
* @param string $config Optional string configuration name to write to. Defaults to 'default'
* @return boolean True if the data was successfully cached, false on failure
* @return bool True if the data was successfully cached, false on failure
*/
public static function write($key, $value, $config = 'default') {
$settings = self::settings($config);
@@ -362,7 +362,7 @@ public static function read($key, $config = 'default') {
* Increment a number under the key and return incremented value.
*
* @param string $key Identifier for the data
* @param integer $offset How much to add
* @param int $offset How much to add
* @param string $config Optional string configuration name. Defaults to 'default'
* @return mixed new value, or false if the data doesn't exist, is not integer,
* or if there was an error fetching it.
@@ -390,7 +390,7 @@ public static function increment($key, $offset = 1, $config = 'default') {
* Decrement a number under the key and return decremented value.
*
* @param string $key Identifier for the data
* @param integer $offset How much to subtract
* @param int $offset How much to subtract
* @param string $config Optional string configuration name. Defaults to 'default'
* @return mixed new value, or false if the data doesn't exist, is not integer,
* or if there was an error fetching it
@@ -429,7 +429,7 @@ public static function decrement($key, $offset = 1, $config = 'default') {
*
* @param string $key Identifier for the data
* @param string $config name of the configuration to use. Defaults to 'default'
* @return boolean True if the value was successfully deleted, false if it didn't exist or couldn't be removed
* @return bool True if the value was successfully deleted, false if it didn't exist or couldn't be removed
*/
public static function delete($key, $config = 'default') {
$settings = self::settings($config);
@@ -453,9 +453,9 @@ public static function delete($key, $config = 'default') {
/**
* Delete all keys from the cache.
*
* @param boolean $check if true will check expiration, otherwise delete all
* @param bool $check if true will check expiration, otherwise delete all
* @param string $config name of the configuration to use. Defaults to 'default'
* @return boolean True if the cache was successfully cleared, false otherwise
* @return bool True if the cache was successfully cleared, false otherwise
*/
public static function clear($check = false, $config = 'default') {
if (!self::isInitialized($config)) {
@@ -471,7 +471,7 @@ public static function clear($check = false, $config = 'default') {
*
* @param string $group name of the group to be cleared
* @param string $config name of the configuration to use. Defaults to 'default'
* @return boolean True if the cache group was successfully cleared, false otherwise
* @return bool True if the cache group was successfully cleared, false otherwise
*/
public static function clearGroup($group, $config = 'default') {
if (!self::isInitialized($config)) {
@@ -486,7 +486,7 @@ public static function clearGroup($group, $config = 'default') {
* Check if Cache has initialized a working config for the given name.
*
* @param string $config name of the configuration to use. Defaults to 'default'
* @return boolean Whether or not the config name has been initialized.
* @return bool Whether or not the config name has been initialized.
*/
public static function isInitialized($config = 'default') {
if (Configure::read('Cache.disable')) {
@@ -42,7 +42,7 @@ abstract class CacheEngine {
* Called automatically by the cache frontend
*
* @param array $settings Associative array of parameters for the engine
* @return boolean True if the engine has been successfully initialized, false if not
* @return bool True if the engine has been successfully initialized, false if not
*/
public function init($settings = array()) {
$settings += $this->settings + array(
@@ -67,7 +67,7 @@ public function init($settings = array()) {
*
* Permanently remove all expired and deleted data
*
* @param integer $expires [optional] An expires timestamp, invalidating all data before.
* @param int $expires [optional] An expires timestamp, invalidating all data before.
* @return void
*/
public function gc($expires = null) {
@@ -78,8 +78,8 @@ public function gc($expires = null) {
*
* @param string $key Identifier for the data
* @param mixed $value Data to be cached
* @param integer $duration How long to cache for.
* @return boolean True if the data was successfully cached, false on failure
* @param int $duration How long to cache for.
* @return bool True if the data was successfully cached, false on failure
*/
abstract public function write($key, $value, $duration);
@@ -95,7 +95,7 @@ public function gc($expires = null) {
* Increment a number under the key and return incremented value
*
* @param string $key Identifier for the data
* @param integer $offset How much to add
* @param int $offset How much to add
* @return New incremented value, false otherwise
*/
abstract public function increment($key, $offset = 1);
@@ -104,7 +104,7 @@ public function gc($expires = null) {
* Decrement a number under the key and return decremented value
*
* @param string $key Identifier for the data
* @param integer $offset How much to subtract
* @param int $offset How much to subtract
* @return New incremented value, false otherwise
*/
abstract public function decrement($key, $offset = 1);
@@ -113,15 +113,15 @@ public function gc($expires = null) {
* Delete a key from the cache
*
* @param string $key Identifier for the data
* @return boolean True if the value was successfully deleted, false if it didn't exist or couldn't be removed
* @return bool True if the value was successfully deleted, false if it didn't exist or couldn't be removed
*/
abstract public function delete($key);
/**
* Delete all keys from the cache
*
* @param boolean $check if true will check expiration, otherwise delete all
* @return boolean True if the cache was successfully cleared, false otherwise
* @param bool $check if true will check expiration, otherwise delete all
* @return bool True if the cache was successfully cleared, false otherwise
*/
abstract public function clear($check);
@@ -131,7 +131,7 @@ public function gc($expires = null) {
* the same result.
*
* @param string $group name of the group to be cleared
* @return boolean
* @return bool
*/
public function clearGroup($group) {
return false;
@@ -38,7 +38,7 @@ class ApcEngine extends CacheEngine {
* To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
*
* @param array $settings array of setting for the engine
* @return boolean True if the engine has been successfully initialized, false if not
* @return bool True if the engine has been successfully initialized, false if not
* @see CacheEngine::__defaults
*/
public function init($settings = array()) {
@@ -55,8 +55,8 @@ public function init($settings = array()) {
*
* @param string $key Identifier for the data
* @param mixed $value Data to be cached
* @param integer $duration How long to cache the data, in seconds
* @return boolean True if the data was successfully cached, false on failure
* @param int $duration How long to cache the data, in seconds
* @return bool True if the data was successfully cached, false on failure
*/
public function write($key, $value, $duration) {
$expires = 0;
@@ -86,7 +86,7 @@ public function read($key) {
* Increments the value of an integer cached key
*
* @param string $key Identifier for the data
* @param integer $offset How much to increment
* @param int $offset How much to increment
* @return New incremented value, false otherwise
*/
public function increment($key, $offset = 1) {
@@ -97,7 +97,7 @@ public function increment($key, $offset = 1) {
* Decrements the value of an integer cached key
*
* @param string $key Identifier for the data
* @param integer $offset How much to subtract
* @param int $offset How much to subtract
* @return New decremented value, false otherwise
*/
public function decrement($key, $offset = 1) {
@@ -108,7 +108,7 @@ public function decrement($key, $offset = 1) {
* Delete a key from the cache
*
* @param string $key Identifier for the data
* @return boolean True if the value was successfully deleted, false if it didn't exist or couldn't be removed
* @return bool True if the value was successfully deleted, false if it didn't exist or couldn't be removed
*/
public function delete($key) {
return apc_delete($key);
@@ -117,9 +117,9 @@ public function delete($key) {
/**
* Delete all keys from the cache. This will clear every cache config using APC.
*
* @param boolean $check If true, nothing will be cleared, as entries are removed
* @param bool $check If true, nothing will be cleared, as entries are removed
* from APC as they expired. This flag is really only used by FileEngine.
* @return boolean True Returns true.
* @return bool True Returns true.
*/
public function clear($check) {
if ($check) {
@@ -181,7 +181,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @param string $group The group to clear.
* @return boolean success
* @return bool success
*/
public function clearGroup($group) {
apc_inc($this->settings['prefix'] . $group, 1, $success);
Oops, something went wrong.

0 comments on commit 974ca85

Please sign in to comment.
You can’t perform that action at this time.