Permalink
Browse files

fix doc block endings

  • Loading branch information...
dereuromark committed Jan 11, 2013
1 parent 92d9b11 commit 11a88042bd8bfabe0176b45fc518e6c1bc1d5b54
Showing with 82 additions and 82 deletions.
  1. +1 −1 lib/Cake/Cache/CacheEngine.php
  2. +3 −3 lib/Cake/Cache/Engine/ApcEngine.php
  3. +1 −1 lib/Cake/Cache/Engine/FileEngine.php
  4. +3 −3 lib/Cake/Cache/Engine/MemcacheEngine.php
  5. +3 −3 lib/Cake/Cache/Engine/RedisEngine.php
  6. +3 −3 lib/Cake/Cache/Engine/WincacheEngine.php
  7. +2 −2 lib/Cake/Cache/Engine/XcacheEngine.php
  8. +1 −1 lib/Cake/Console/Shell.php
  9. +1 −1 lib/Cake/Controller/Component/RequestHandlerComponent.php
  10. +8 −8 lib/Cake/Model/ModelValidator.php
  11. +10 −10 lib/Cake/Model/Validator/CakeValidationSet.php
  12. +3 −3 lib/Cake/Network/CakeResponse.php
  13. +4 −4 lib/Cake/Routing/DispatcherFilter.php
  14. +1 −1 lib/Cake/Routing/Filter/AssetDispatcher.php
  15. +1 −1 lib/Cake/Test/Case/Cache/Engine/ApcEngineTest.php
  16. +1 −1 lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
  17. +1 −1 lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php
  18. +1 −1 lib/Cake/Test/Case/Cache/Engine/RedisEngineTest.php
  19. +1 −1 lib/Cake/Test/Case/Cache/Engine/WincacheEngineTest.php
  20. +1 −1 lib/Cake/Test/Case/Cache/Engine/XcacheEngineTest.php
  21. +1 −1 lib/Cake/Test/Case/Console/ShellTest.php
  22. +4 −4 lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php
  23. +1 −1 lib/Cake/Test/Case/Log/CakeLogTest.php
  24. +1 −1 lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
  25. +1 −1 lib/Cake/Test/Case/Model/ModelIntegrationTest.php
  26. +1 −1 lib/Cake/Test/Case/Model/ModelValidationTest.php
  27. +3 −3 lib/Cake/Test/Case/Model/Validator/CakeValidationRuleTest.php
  28. +1 −1 lib/Cake/Test/Case/Model/models.php
  29. +7 −7 lib/Cake/Test/Case/Network/CakeResponseTest.php
  30. +5 −5 lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
  31. +2 −2 lib/Cake/Test/Case/Routing/RouterTest.php
  32. +1 −1 lib/Cake/Test/Case/Utility/CakeTimeTest.php
  33. +1 −1 lib/Cake/Test/Case/Utility/ValidationTest.php
  34. +1 −1 lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
  35. +1 −1 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
  36. +1 −1 lib/Cake/View/Helper/JsHelper.php
@@ -32,7 +32,7 @@
* prefixes to be prepeded to every key in this cache engine
*
* @var string
**/
*/
protected $_groupPrefix = null;
/**
@@ -30,7 +30,7 @@ class ApcEngine extends CacheEngine {
* (prefixed witht the global configuration prefix)
*
* @var array
**/
*/
protected $_compiledGroupNames = array();
/**
@@ -144,7 +144,7 @@ public function clear($check) {
* the group accordingly.
*
* @return array
**/
*/
public function groups() {
if (empty($this->_compiledGroupNames)) {
foreach ($this->settings['groups'] as $group) {
@@ -176,7 +176,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
**/
*/
public function clearGroup($group) {
apc_inc($this->settings['prefix'] . $group, 1, $success);
return $success;
@@ -358,7 +358,7 @@ public function key($key) {
* Recursively deletes all files under any directory named as $group
*
* @return boolean success
**/
*/
public function clearGroup($group) {
$directoryIterator = new RecursiveDirectoryIterator($this->settings['path']);
$contents = new RecursiveIteratorIterator($directoryIterator, RecursiveIteratorIterator::CHILD_FIRST);
@@ -32,7 +32,7 @@ class MemcacheEngine extends CacheEngine {
* (prefixed witht the global configuration prefix)
*
* @var array
**/
*/
protected $_compiledGroupNames = array();
/**
@@ -251,7 +251,7 @@ public function connect($host, $port = 11211) {
* the group accordingly.
*
* @return array
**/
*/
public function groups() {
if (empty($this->_compiledGroupNames)) {
foreach ($this->settings['groups'] as $group) {
@@ -284,7 +284,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
**/
*/
public function clearGroup($group) {
return (bool)$this->_Memcache->increment($this->settings['prefix'] . $group);
}
@@ -186,7 +186,7 @@ public function clear($check) {
* the group accordingly.
*
* @return array
**/
*/
public function groups() {
$result = array();
foreach ($this->settings['groups'] as $group) {
@@ -205,7 +205,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
**/
*/
public function clearGroup($group) {
return (bool)$this->_Redis->incr($this->settings['prefix'] . $group);
}
@@ -214,7 +214,7 @@ public function clearGroup($group) {
* Disconnects from the redis server
*
* @return void
**/
*/
public function __destruct() {
if (!$this->settings['persistent']) {
$this->_Redis->close();
@@ -31,7 +31,7 @@ class WincacheEngine extends CacheEngine {
* (prefixed witht the global configuration prefix)
*
* @var array
**/
*/
protected $_compiledGroupNames = array();
/**
@@ -149,7 +149,7 @@ public function clear($check) {
* the group accordingly.
*
* @return array
**/
*/
public function groups() {
if (empty($this->_compiledGroupNames)) {
foreach ($this->settings['groups'] as $group) {
@@ -181,7 +181,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
**/
*/
public function clearGroup($group) {
$success = null;
wincache_ucache_inc($this->settings['prefix'] . $group, 1, $success);
@@ -146,7 +146,7 @@ public function clear($check) {
* the group accordingly.
*
* @return array
**/
*/
public function groups() {
$result = array();
foreach ($this->settings['groups'] as $group) {
@@ -165,7 +165,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
**/
*/
public function clearGroup($group) {
return (bool)xcache_inc($this->settings['prefix'] . $group, 1);
}
@@ -826,7 +826,7 @@ protected function _pluginPath($pluginName) {
*
* @param boolean $enable wheter to enable CakeLog output or not
* @return void
**/
*/
protected function _useLogger($enable = true) {
if (!$enable) {
CakeLog::drop('stdout');
@@ -268,7 +268,7 @@ public function beforeRedirect(Controller $controller, $url, $status = null, $ex
*
* @params Controller $controller
* @return boolean false if the render process should be aborted
**/
*/
public function beforeRender(Controller $controller) {
if ($this->settings['checkHttpCache'] && $this->response->checkNotModified($this->request)) {
return false;
@@ -466,7 +466,7 @@ protected function _triggerBeforeValidate($options = array()) {
*
* @param string $field name of the field to check
* @return boolean
**/
*/
public function offsetExists($field) {
$this->_parseRules();
return isset($this->_fields[$field]);
@@ -477,7 +477,7 @@ public function offsetExists($field) {
*
* @param string $field name of the field to check
* @return CakeValidationSet
**/
*/
public function offsetGet($field) {
$this->_parseRules();
return $this->_fields[$field];
@@ -489,7 +489,7 @@ public function offsetGet($field) {
* @param string $field name of the field to set
* @param array|CakeValidationSet $rules set of rules to apply to field
* @return void
**/
*/
public function offsetSet($field, $rules) {
$this->_parseRules();
if (!$rules instanceof CakeValidationSet) {
@@ -505,7 +505,7 @@ public function offsetSet($field, $rules) {
*
* @param string $field name of the field to unset
* @return void
**/
*/
public function offsetUnset($field) {
$this->_parseRules();
unset($this->_fields[$field]);
@@ -515,7 +515,7 @@ public function offsetUnset($field) {
* Returns an iterator for each of the fields to be validated
*
* @return ArrayIterator
**/
*/
public function getIterator() {
$this->_parseRules();
return new ArrayIterator($this->_fields);
@@ -525,7 +525,7 @@ public function getIterator() {
* Returns the number of fields having validation rules
*
* @return int
**/
*/
public function count() {
$this->_parseRules();
return count($this->_fields);
@@ -553,7 +553,7 @@ public function count() {
* @param string|array|CakeValidationSet $name name of the rule to be added or list of rules for the field
* @param array|CakeValidationRule $rule or list of rules to be added to the field's rule set
* @return ModelValidator this instance
**/
*/
public function add($field, $name, $rule = null) {
$this->_parseRules();
if ($name instanceof CakeValidationSet) {
@@ -592,7 +592,7 @@ public function add($field, $name, $rule = null) {
* @param string $field The name of the field from wich the rule will be removed
* @param string $rule the name of the rule to be removed
* @return ModelValidator this instance
**/
*/
public function remove($field, $rule = null) {
$this->_parseRules();
if ($rule === null) {
@@ -41,14 +41,14 @@ class CakeValidationSet implements ArrayAccess, IteratorAggregate, Countable {
* List of methods available for validation
*
* @var array
**/
*/
protected $_methods = array();
/**
* I18n domain for validation messages.
*
* @var string
**/
*/
protected $_validationDomain = null;
/**
@@ -96,7 +96,7 @@ public function __construct($fieldName, $ruleSet) {
*
* @param array $methods Methods list
* @return void
**/
*/
public function setMethods(&$methods) {
$this->_methods =& $methods;
}
@@ -151,7 +151,7 @@ public function validate($data, $isUpdate = false) {
* Resets interal state for all validation rules in this set
*
* @return void
**/
*/
public function reset() {
foreach ($this->getRules() as $rule) {
$rule->reset();
@@ -310,7 +310,7 @@ protected function _translateArgs($args) {
*
* @param string $index name of the rule
* @return boolean
**/
*/
public function offsetExists($index) {
return isset($this->_rules[$index]);
}
@@ -320,7 +320,7 @@ public function offsetExists($index) {
*
* @param string $index name of the rule
* @return CakeValidationRule
**/
*/
public function offsetGet($index) {
return $this->_rules[$index];
}
@@ -330,7 +330,7 @@ public function offsetGet($index) {
*
* @param string $index name of the rule
* @param CakeValidationRule|array rule to add to $index
**/
*/
public function offsetSet($index, $rule) {
$this->setRule($index, $rule);
}
@@ -340,7 +340,7 @@ public function offsetSet($index, $rule) {
*
* @param string $index name of the rule
* @return void
**/
*/
public function offsetUnset($index) {
unset($this->_rules[$index]);
}
@@ -349,7 +349,7 @@ public function offsetUnset($index) {
* Returns an iterator for each of the rules to be applied
*
* @return ArrayIterator
**/
*/
public function getIterator() {
return new ArrayIterator($this->_rules);
}
@@ -358,7 +358,7 @@ public function getIterator() {
* Returns the number of rules in this set
*
* @return int
**/
*/
public function count() {
return count($this->_rules);
}
@@ -941,7 +941,7 @@ public function modified($time = null) {
* conflicting headers
*
* @return void
**/
*/
public function notModified() {
$this->statusCode(304);
$this->body('');
@@ -968,7 +968,7 @@ public function notModified() {
* @param string|array $cacheVariances a single Vary string or a array
* containig the list for variances.
* @return array
**/
*/
public function vary($cacheVariances = null) {
if ($cacheVariances !== null) {
$cacheVariances = (array)$cacheVariances;
@@ -1000,7 +1000,7 @@ public function vary($cacheVariances = null) {
* @param boolean $weak whether the response is semantically the same as
* other with th same hash or not
* @return string
**/
*/
public function etag($tag = null, $weak = false) {
if ($tag !== null) {
$this->_headers['Etag'] = sprintf('%s"%s"', ($weak) ? 'W/' : null, $tag);
@@ -31,7 +31,7 @@
* Default priority for all methods in this filter
*
* @var int
**/
*/
public $priority = 10;
/**
@@ -42,7 +42,7 @@
* Override this method at will to only listen to the events you are interested in.
*
* @return array
**/
*/
public function implementedEvents() {
return array(
'Dispatcher.beforeDispatch' => array('callable' => 'beforeDispatch', 'priority' => $this->priority),
@@ -65,7 +65,7 @@ public function implementedEvents() {
* @param CakeEvent $event container object having the `request`, `response` and `additionalParams`
* keys in the data property.
* @return CakeResponse|boolean
**/
*/
public function beforeDispatch(CakeEvent $event) {
}
@@ -80,7 +80,7 @@ public function beforeDispatch(CakeEvent $event) {
* @param CakeEvent $event container object having the `request` and `response`
* keys in the data property.
* @return mixed boolean to stop the event dispatching or null to continue
**/
*/
public function afterDispatch(CakeEvent $event) {
}
}
@@ -31,7 +31,7 @@ class AssetDispatcher extends DispatcherFilter {
* This filter should run before the request gets parsed by router
*
* @var int
**/
*/
public $priority = 9;
/**
Oops, something went wrong.

0 comments on commit 11a8804

Please sign in to comment.