Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
013fa0bb
Commit
013fa0bb
authored
Nov 13, 2011
by
mdomba (mdlap)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grammar fix
parent
5c01e23e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Object.php
framework/base/Object.php
+5
-5
No files found.
framework/base/Object.php
View file @
013fa0bb
...
@@ -41,7 +41,7 @@ namespace yii\base;
...
@@ -41,7 +41,7 @@ namespace yii\base;
* $object->label = 'abc';
* $object->label = 'abc';
* ~~~
* ~~~
*
*
* If a property
only has
a getter method and has no setter method, it is
* If a property
has only
a getter method and has no setter method, it is
* considered as *read-only*. In this case, trying to modify the property value
* considered as *read-only*. In this case, trying to modify the property value
* will cause an exception.
* will cause an exception.
*
*
...
@@ -70,7 +70,7 @@ class Object
...
@@ -70,7 +70,7 @@ class Object
}
}
/**
/**
* Returns the value of a object property.
* Returns the value of a
n
object property.
*
*
* Do not call this method directly as it is a PHP magic method that
* Do not call this method directly as it is a PHP magic method that
* will be implicitly called when executing `$value = $object->property;`.
* will be implicitly called when executing `$value = $object->property;`.
...
@@ -91,7 +91,7 @@ class Object
...
@@ -91,7 +91,7 @@ class Object
}
}
/**
/**
* Sets value of a object property.
* Sets value of a
n
object property.
*
*
* Do not call this method directly as it is a PHP magic method that
* Do not call this method directly as it is a PHP magic method that
* will be implicitly called when executing `$object->property = $value;`.
* will be implicitly called when executing `$object->property = $value;`.
...
@@ -133,7 +133,7 @@ class Object
...
@@ -133,7 +133,7 @@ class Object
}
}
/**
/**
* Sets a
object property to be
null.
* Sets a
n object property to
null.
*
*
* Do not call this method directly as it is a PHP magic method that
* Do not call this method directly as it is a PHP magic method that
* will be implicitly called when executing `unset($object->property)`.
* will be implicitly called when executing `unset($object->property)`.
...
@@ -263,7 +263,7 @@ class Object
...
@@ -263,7 +263,7 @@ class Object
* This method differs from the PHP `new` operator in that it does the following
* This method differs from the PHP `new` operator in that it does the following
* steps to create a new object instance:
* steps to create a new object instance:
*
*
* - Call class constructor (same the `new` operator);
* - Call class constructor (same
as
the `new` operator);
* - Initialize the object properties using the name-value pairs given as the
* - Initialize the object properties using the name-value pairs given as the
* last parameter to this method;
* last parameter to this method;
* - Call [[Initable::init|init]] if the class implements [[Initable]].
* - Call [[Initable::init|init]] if the class implements [[Initable]].
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment