mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
doublespace to single space
This commit is contained in:
parent
c989624f80
commit
e7f380d2b7
21 changed files with 28 additions and 28 deletions
|
@ -542,7 +542,7 @@ class Shell extends Object {
|
||||||
*
|
*
|
||||||
* There are 3 built-in output level. Shell::QUIET, Shell::NORMAL, Shell::VERBOSE.
|
* There are 3 built-in output level. Shell::QUIET, Shell::NORMAL, Shell::VERBOSE.
|
||||||
* The verbose and quiet output levels, map to the `verbose` and `quiet` output switches
|
* The verbose and quiet output levels, map to the `verbose` and `quiet` output switches
|
||||||
* present in most shells. Using Shell::QUIET for a message means it will always display.
|
* present in most shells. Using Shell::QUIET for a message means it will always display.
|
||||||
* While using Shell::VERBOSE means it will only display when verbose output is toggled.
|
* While using Shell::VERBOSE means it will only display when verbose output is toggled.
|
||||||
*
|
*
|
||||||
* @param string|array $message A string or a an array of strings to output
|
* @param string|array $message A string or a an array of strings to output
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<div class="<?php echo $pluralVar; ?> view">
|
<div class="<?php echo $pluralVar; ?> view">
|
||||||
<h2><?php echo "<?php echo __('{$singularHumanName}'); ?>"; ?></h2>
|
<h2><?php echo "<?php echo __('{$singularHumanName}'); ?>"; ?></h2>
|
||||||
<dl>
|
<dl>
|
||||||
<?php
|
<?php
|
||||||
foreach ($fields as $field) {
|
foreach ($fields as $field) {
|
||||||
|
|
|
@ -28,7 +28,7 @@ App::uses('FormAuthenticate', 'Controller/Component/Auth');
|
||||||
* )
|
* )
|
||||||
* }}}
|
* }}}
|
||||||
*
|
*
|
||||||
* When configuring BlowfishAuthenticate you can pass in settings to which fields, model and additional conditions
|
* When configuring BlowfishAuthenticate you can pass in settings to which fields, model and additional conditions
|
||||||
* are used. See FormAuthenticate::$settings for more information.
|
* are used. See FormAuthenticate::$settings for more information.
|
||||||
*
|
*
|
||||||
* For initial password hashing/creation see Security::hash(). Other than how the password is initially hashed,
|
* For initial password hashing/creation see Security::hash(). Other than how the password is initially hashed,
|
||||||
|
|
|
@ -24,7 +24,7 @@ App::uses('BaseAuthenticate', 'Controller/Component/Auth');
|
||||||
* password using `DigestAuthenticate::password()`. If you wish to use digest authentication alongside other
|
* password using `DigestAuthenticate::password()`. If you wish to use digest authentication alongside other
|
||||||
* authentication methods, its recommended that you store the digest authentication separately.
|
* authentication methods, its recommended that you store the digest authentication separately.
|
||||||
*
|
*
|
||||||
* Clients using Digest Authentication must support cookies. Since AuthComponent identifies users based
|
* Clients using Digest Authentication must support cookies. Since AuthComponent identifies users based
|
||||||
* on Session contents, clients without support for cookies will not function properly.
|
* on Session contents, clients without support for cookies will not function properly.
|
||||||
*
|
*
|
||||||
* ### Using Digest auth
|
* ### Using Digest auth
|
||||||
|
|
|
@ -62,7 +62,7 @@ class CookieComponent extends Component {
|
||||||
* $this->Cookie->path = '/';
|
* $this->Cookie->path = '/';
|
||||||
*
|
*
|
||||||
* The path on the server in which the cookie will be available on.
|
* The path on the server in which the cookie will be available on.
|
||||||
* If public $cookiePath is set to '/foo/', the cookie will only be available
|
* If public $cookiePath is set to '/foo/', the cookie will only be available
|
||||||
* within the /foo/ directory and all sub-directories such as /foo/bar/ of domain.
|
* within the /foo/ directory and all sub-directories such as /foo/bar/ of domain.
|
||||||
* The default value is the entire domain.
|
* The default value is the entire domain.
|
||||||
*
|
*
|
||||||
|
|
|
@ -110,8 +110,8 @@ class Object {
|
||||||
* Calls a method on this object with the given parameters. Provides an OO wrapper
|
* Calls a method on this object with the given parameters. Provides an OO wrapper
|
||||||
* for `call_user_func_array`
|
* for `call_user_func_array`
|
||||||
*
|
*
|
||||||
* @param string $method Name of the method to call
|
* @param string $method Name of the method to call
|
||||||
* @param array $params Parameter list to use when calling $method
|
* @param array $params Parameter list to use when calling $method
|
||||||
* @return mixed Returns the result of the method call
|
* @return mixed Returns the result of the method call
|
||||||
*/
|
*/
|
||||||
public function dispatchMethod($method, $params = array()) {
|
public function dispatchMethod($method, $params = array()) {
|
||||||
|
|
|
@ -32,7 +32,7 @@ App::uses('Router', 'Routing');
|
||||||
*
|
*
|
||||||
* ### Uncaught exceptions
|
* ### Uncaught exceptions
|
||||||
*
|
*
|
||||||
* When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
|
* When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
|
||||||
* and it is a type that ErrorHandler does not know about it will be treated as a 500 error.
|
* and it is a type that ErrorHandler does not know about it will be treated as a 500 error.
|
||||||
*
|
*
|
||||||
* ### Implementing application specific exception handling
|
* ### Implementing application specific exception handling
|
||||||
|
|
|
@ -30,7 +30,7 @@ App::uses('Controller', 'Controller');
|
||||||
* Exception Renderer.
|
* Exception Renderer.
|
||||||
*
|
*
|
||||||
* Captures and handles all unhandled exceptions. Displays helpful framework errors when debug > 1.
|
* Captures and handles all unhandled exceptions. Displays helpful framework errors when debug > 1.
|
||||||
* When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
|
* When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
|
||||||
* and it is a type that ExceptionHandler does not know about it will be treated as a 500 error.
|
* and it is a type that ExceptionHandler does not know about it will be treated as a 500 error.
|
||||||
*
|
*
|
||||||
* ### Implementing application specific exception rendering
|
* ### Implementing application specific exception rendering
|
||||||
|
|
|
@ -173,7 +173,7 @@ class DataSource extends Object {
|
||||||
/**
|
/**
|
||||||
* Converts column types to basic types
|
* Converts column types to basic types
|
||||||
*
|
*
|
||||||
* @param string $real Real column type (i.e. "varchar(255)")
|
* @param string $real Real column type (i.e. "varchar(255)")
|
||||||
* @return string Abstract column type (i.e. "string")
|
* @return string Abstract column type (i.e. "string")
|
||||||
*/
|
*/
|
||||||
public function column($real) {
|
public function column($real) {
|
||||||
|
|
|
@ -948,7 +948,7 @@ class Model extends Object implements CakeEventListener {
|
||||||
* unbound models that are not made permanent will reset with the next call to Model::find()
|
* unbound models that are not made permanent will reset with the next call to Model::find()
|
||||||
*
|
*
|
||||||
* @param array $params Set of bindings to unbind (indexed by binding type)
|
* @param array $params Set of bindings to unbind (indexed by binding type)
|
||||||
* @param boolean $reset Set to false to make the unbinding permanent
|
* @param boolean $reset Set to false to make the unbinding permanent
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @link http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#creating-and-destroying-associations-on-the-fly
|
* @link http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#creating-and-destroying-associations-on-the-fly
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -559,7 +559,7 @@ class CakeRequest implements ArrayAccess {
|
||||||
* e.g `addDetector('post', array('param' => 'requested', 'value' => 1)`
|
* e.g `addDetector('post', array('param' => 'requested', 'value' => 1)`
|
||||||
*
|
*
|
||||||
* @param string $name The name of the detector.
|
* @param string $name The name of the detector.
|
||||||
* @param array $options The options for the detector definition. See above.
|
* @param array $options The options for the detector definition. See above.
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function addDetector($name, $options) {
|
public function addDetector($name, $options) {
|
||||||
|
|
|
@ -778,9 +778,9 @@ class CakeResponse {
|
||||||
* This method controls the `public` or `private` directive in the Cache-Control
|
* This method controls the `public` or `private` directive in the Cache-Control
|
||||||
* header
|
* header
|
||||||
*
|
*
|
||||||
* @param boolean $public if set to true, the Cache-Control header will be set as public
|
* @param boolean $public If set to true, the Cache-Control header will be set as public
|
||||||
* if set to false, the response will be set to private
|
* if set to false, the response will be set to private
|
||||||
* if no value is provided, it will return whether the response is sharable or not
|
* if no value is provided, it will return whether the response is sharable or not
|
||||||
* @param integer $time time in seconds after which the response should no longer be considered fresh
|
* @param integer $time time in seconds after which the response should no longer be considered fresh
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
|
@ -858,7 +858,7 @@ class CakeResponse {
|
||||||
* If called with no parameters, this function will return whether must-revalidate is present.
|
* If called with no parameters, this function will return whether must-revalidate is present.
|
||||||
*
|
*
|
||||||
* @param integer $seconds if null, the method will return the current
|
* @param integer $seconds if null, the method will return the current
|
||||||
* must-revalidate value
|
* must-revalidate value
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function mustRevalidate($enable = null) {
|
public function mustRevalidate($enable = null) {
|
||||||
|
@ -968,7 +968,7 @@ class CakeResponse {
|
||||||
* value is returned
|
* value is returned
|
||||||
*
|
*
|
||||||
* @param string|array $cacheVariances a single Vary string or a array
|
* @param string|array $cacheVariances a single Vary string or a array
|
||||||
* containing the list for variances.
|
* containing the list for variances.
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function vary($cacheVariances = null) {
|
public function vary($cacheVariances = null) {
|
||||||
|
@ -1000,7 +1000,7 @@ class CakeResponse {
|
||||||
*
|
*
|
||||||
* @param string $hash the unique has that identifies this response
|
* @param string $hash the unique has that identifies this response
|
||||||
* @param boolean $weak whether the response is semantically the same as
|
* @param boolean $weak whether the response is semantically the same as
|
||||||
* other with the same hash or not
|
* other with the same hash or not
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function etag($tag = null, $weak = false) {
|
public function etag($tag = null, $weak = false) {
|
||||||
|
|
|
@ -578,7 +578,7 @@ class PaginatorComponentTest extends CakeTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* test paginate() and model default order
|
* test paginate() and model default order
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -813,7 +813,7 @@ class AppTest extends CakeTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests that App::location() returns the defined path for a class
|
* Tests that App::location() returns the defined path for a class
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -738,7 +738,7 @@ class PostgresTest extends CakeTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test the alterSchema RENAME statements
|
* Test the alterSchema RENAME statements
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -861,7 +861,7 @@ class DboSourceTest extends CakeTestCase {
|
||||||
$Comment->find('all', array('recursive' => 2)); // ensure Model descriptions are saved
|
$Comment->find('all', array('recursive' => 2)); // ensure Model descriptions are saved
|
||||||
$this->db->getLog();
|
$this->db->getLog();
|
||||||
|
|
||||||
// case: Comment belongsTo User and Article
|
// case: Comment belongsTo User and Article
|
||||||
$Comment->unbindModel(array(
|
$Comment->unbindModel(array(
|
||||||
'hasOne' => array('Attachment')
|
'hasOne' => array('Attachment')
|
||||||
));
|
));
|
||||||
|
|
|
@ -4573,7 +4573,7 @@ class ModelWriteTest extends BaseModelTest {
|
||||||
$result = $model->saveAll(array(
|
$result = $model->saveAll(array(
|
||||||
'Article' => array(
|
'Article' => array(
|
||||||
'title' => 'Post with Author',
|
'title' => 'Post with Author',
|
||||||
'body' => 'This post will be saved author'
|
'body' => 'This post will be saved author'
|
||||||
),
|
),
|
||||||
'Comment' => array(
|
'Comment' => array(
|
||||||
array('comment' => 'First new comment'),
|
array('comment' => 'First new comment'),
|
||||||
|
@ -5977,7 +5977,7 @@ class ModelWriteTest extends BaseModelTest {
|
||||||
$result = $model->saveAssociated(array(
|
$result = $model->saveAssociated(array(
|
||||||
'Article' => array(
|
'Article' => array(
|
||||||
'title' => 'Post with Author',
|
'title' => 'Post with Author',
|
||||||
'body' => 'This post will be saved author'
|
'body' => 'This post will be saved author'
|
||||||
),
|
),
|
||||||
'Comment' => array(
|
'Comment' => array(
|
||||||
array('comment' => 'First new comment'),
|
array('comment' => 'First new comment'),
|
||||||
|
|
|
@ -701,7 +701,7 @@ class Debugger {
|
||||||
* straight HTML output, or 'txt' for unformatted text.
|
* straight HTML output, or 'txt' for unformatted text.
|
||||||
* @param array $strings Template strings to be used for the output format.
|
* @param array $strings Template strings to be used for the output format.
|
||||||
* @return string
|
* @return string
|
||||||
* @deprecated Use Debugger::outputAs() and Debugger::addFormat(). Will be removed
|
* @deprecated Use Debugger::outputAs() and Debugger::addFormat(). Will be removed
|
||||||
* in 3.0
|
* in 3.0
|
||||||
*/
|
*/
|
||||||
public function output($format = null, $strings = array()) {
|
public function output($format = null, $strings = array()) {
|
||||||
|
|
|
@ -457,7 +457,7 @@ class Set {
|
||||||
* This function can be used to see if a single item or a given xpath match certain conditions.
|
* This function can be used to see if a single item or a given xpath match certain conditions.
|
||||||
*
|
*
|
||||||
* @param string|array $conditions An array of condition strings or an XPath expression
|
* @param string|array $conditions An array of condition strings or an XPath expression
|
||||||
* @param array $data An array of data to execute the match on
|
* @param array $data An array of data to execute the match on
|
||||||
* @param integer $i Optional: The 'nth'-number of the item being matched.
|
* @param integer $i Optional: The 'nth'-number of the item being matched.
|
||||||
* @param integer $length
|
* @param integer $length
|
||||||
* @return boolean
|
* @return boolean
|
||||||
|
|
|
@ -583,7 +583,7 @@ class View extends Object {
|
||||||
*
|
*
|
||||||
* @param string $var The view var you want the contents of.
|
* @param string $var The view var you want the contents of.
|
||||||
* @return mixed The content of the named var if its set, otherwise null.
|
* @return mixed The content of the named var if its set, otherwise null.
|
||||||
* @deprecated Will be removed in 3.0 Use View::get() instead.
|
* @deprecated Will be removed in 3.0. Use View::get() instead.
|
||||||
*/
|
*/
|
||||||
public function getVar($var) {
|
public function getVar($var) {
|
||||||
return $this->get($var);
|
return $this->get($var);
|
||||||
|
|
|
@ -127,7 +127,7 @@ if (!function_exists('sortByKey')) {
|
||||||
*
|
*
|
||||||
* @param array $array Array to sort
|
* @param array $array Array to sort
|
||||||
* @param string $sortby Sort by this key
|
* @param string $sortby Sort by this key
|
||||||
* @param string $order Sort order asc/desc (ascending or descending).
|
* @param string $order Sort order asc/desc (ascending or descending).
|
||||||
* @param integer $type Type of sorting to perform
|
* @param integer $type Type of sorting to perform
|
||||||
* @return mixed Sorted array
|
* @return mixed Sorted array
|
||||||
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#sortByKey
|
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#sortByKey
|
||||||
|
|
Loading…
Reference in a new issue