mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 13:02:40 +00:00
double spaces to single ones
This commit is contained in:
parent
a8bd7c6678
commit
b811afbc44
133 changed files with 654 additions and 654 deletions
|
@ -104,7 +104,7 @@ class Helper extends Object {
|
|||
|
||||
/**
|
||||
* A list of strings that should be treated as suffixes, or
|
||||
* sub inputs for a parent input. This is used for date/time
|
||||
* sub inputs for a parent input. This is used for date/time
|
||||
* inputs primarily.
|
||||
*
|
||||
* @var array
|
||||
|
@ -243,7 +243,7 @@ class Helper extends Object {
|
|||
* Returns a URL pointing at the provided parameters.
|
||||
*
|
||||
* @param string|array $url Either a relative string url like `/products/view/23` or
|
||||
* an array of url parameters. Using an array for urls will allow you to leverage
|
||||
* an array of url parameters. Using an array for urls will allow you to leverage
|
||||
* the reverse routing features of CakePHP.
|
||||
* @param boolean $full If true, the full base URL will be prepended to the result
|
||||
* @return string Full translated URL with base path.
|
||||
|
@ -354,7 +354,7 @@ class Helper extends Object {
|
|||
|
||||
/**
|
||||
* Adds a timestamp to a file based resource based on the value of `Asset.timestamp` in
|
||||
* Configure. If Asset.timestamp is true and debug > 0, or Asset.timestamp == 'force'
|
||||
* Configure. If Asset.timestamp is true and debug > 0, or Asset.timestamp == 'force'
|
||||
* a timestamp will be added.
|
||||
*
|
||||
* @param string $path The file path to timestamp, the path must be inside WWW_ROOT
|
||||
|
@ -394,8 +394,8 @@ class Helper extends Object {
|
|||
}
|
||||
|
||||
/**
|
||||
* Used to remove harmful tags from content. Removes a number of well known XSS attacks
|
||||
* from content. However, is not guaranteed to remove all possibilities. Escaping
|
||||
* Used to remove harmful tags from content. Removes a number of well known XSS attacks
|
||||
* from content. However, is not guaranteed to remove all possibilities. Escaping
|
||||
* content is the best way to prevent all possible attacks.
|
||||
*
|
||||
* @param string|array $output Either an array of strings to clean or a single string to clean.
|
||||
|
@ -432,7 +432,7 @@ class Helper extends Object {
|
|||
* If the value is not one of these 3, the parameter is not output.
|
||||
*
|
||||
* 'escape' is a special option in that it controls the conversion of
|
||||
* attributes to their html-entity encoded equivalents. Set to false to disable html-encoding.
|
||||
* attributes to their html-entity encoded equivalents. Set to false to disable html-encoding.
|
||||
*
|
||||
* If value for any option key is set to `null` or `false`, that option will be excluded from output.
|
||||
*
|
||||
|
@ -529,7 +529,7 @@ class Helper extends Object {
|
|||
$entity = $this->_modelScope . '.' . $entity;
|
||||
}
|
||||
|
||||
// 0.name, 0.created.month style inputs. Excludes inputs with the modelScope in them.
|
||||
// 0.name, 0.created.month style inputs. Excludes inputs with the modelScope in them.
|
||||
if (
|
||||
$count >= 2 &&
|
||||
is_numeric($parts[0]) &&
|
||||
|
@ -609,7 +609,7 @@ class Helper extends Object {
|
|||
* @param array|string $options Either an array of html attributes to add $id into, or a string
|
||||
* with a view entity path to get a domId for.
|
||||
* @param string $id The name of the 'id' attribute.
|
||||
* @return mixed If $options was an array, an array will be returned with $id set. If a string
|
||||
* @return mixed If $options was an array, an array will be returned with $id set. If a string
|
||||
* was supplied, a string will be returned.
|
||||
*/
|
||||
public function domId($options = null, $id = 'id') {
|
||||
|
@ -736,7 +736,7 @@ class Helper extends Object {
|
|||
}
|
||||
|
||||
/**
|
||||
* Sets the defaults for an input tag. Will set the
|
||||
* Sets the defaults for an input tag. Will set the
|
||||
* name, value, and id attributes for an array of html attributes.
|
||||
*
|
||||
* @param string $field The field name to initialize.
|
||||
|
@ -796,7 +796,7 @@ class Helper extends Object {
|
|||
}
|
||||
|
||||
/**
|
||||
* After render callback. afterRender is called after the view file is rendered
|
||||
* After render callback. afterRender is called after the view file is rendered
|
||||
* but before the layout has been rendered.
|
||||
*
|
||||
* Overridden in subclasses.
|
||||
|
@ -808,7 +808,7 @@ class Helper extends Object {
|
|||
}
|
||||
|
||||
/**
|
||||
* Before layout callback. beforeLayout is called before the layout is rendered.
|
||||
* Before layout callback. beforeLayout is called before the layout is rendered.
|
||||
*
|
||||
* Overridden in subclasses.
|
||||
*
|
||||
|
@ -819,7 +819,7 @@ class Helper extends Object {
|
|||
}
|
||||
|
||||
/**
|
||||
* After layout callback. afterLayout is called after the layout has rendered.
|
||||
* After layout callback. afterLayout is called after the layout has rendered.
|
||||
*
|
||||
* Overridden in subclasses.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue