mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 04:52:42 +00:00
Adding missing accessors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5192 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d7e7437340
commit
6dd42ab406
2 changed files with 4 additions and 0 deletions
|
@ -143,6 +143,7 @@ class Overloadable2 extends Object {
|
||||||
* @param mixed $name What to get
|
* @param mixed $name What to get
|
||||||
* @param mixed $value Where to store returned value
|
* @param mixed $value Where to store returned value
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
|
* @access private
|
||||||
*/
|
*/
|
||||||
function __get($name, &$value) {
|
function __get($name, &$value) {
|
||||||
$value = $this->get__($name);
|
$value = $this->get__($name);
|
||||||
|
@ -155,6 +156,7 @@ class Overloadable2 extends Object {
|
||||||
* @param mixed $name What to set
|
* @param mixed $name What to set
|
||||||
* @param mixed $value Value to set
|
* @param mixed $value Value to set
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
|
* @access private
|
||||||
*/
|
*/
|
||||||
function __set($name, $value) {
|
function __set($name, $value) {
|
||||||
$this->set__($name, $value);
|
$this->set__($name, $value);
|
||||||
|
|
|
@ -90,6 +90,7 @@ class Overloadable2 extends Object {
|
||||||
* @param mixed $name What to get
|
* @param mixed $name What to get
|
||||||
* @param mixed $value Where to store returned value
|
* @param mixed $value Where to store returned value
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
|
* @access private
|
||||||
*/
|
*/
|
||||||
function __get($name) {
|
function __get($name) {
|
||||||
return $this->get__($name);
|
return $this->get__($name);
|
||||||
|
@ -101,6 +102,7 @@ class Overloadable2 extends Object {
|
||||||
* @param mixed $name What to set
|
* @param mixed $name What to set
|
||||||
* @param mixed $value Value to set
|
* @param mixed $value Value to set
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
|
* @access private
|
||||||
*/
|
*/
|
||||||
function __set($name, $value) {
|
function __set($name, $value) {
|
||||||
return $this->set__($name, $value);
|
return $this->set__($name, $value);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue