mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Changing Object::set() to non-conflicting _set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4486 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
1c07701223
commit
ce71e04618
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ class Object{
|
||||||
* properties and corresponding values.
|
* properties and corresponding values.
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function set($properties = array()) {
|
function _set($properties = array()) {
|
||||||
if (is_array($properties) && !empty($properties)) {
|
if (is_array($properties) && !empty($properties)) {
|
||||||
$vars = get_object_vars($this);
|
$vars = get_object_vars($this);
|
||||||
foreach ($properties as $key => $val) {
|
foreach ($properties as $key => $val) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue