set() 공개 정적인 메소드

__set() implementation.
public static set ( $_this, $name, $value ) : void
리턴 void
예제 #1
0
 /**
  * Sets value of a property. Do not call directly.
  *
  * @param string $name
  * @param mixed $value
  *
  * @throws \Nette\MemberAccessException
  * @return void
  */
 public function __set($name, $value)
 {
     if ($name === '_conn') {
         $this->_conn = $value;
         return;
     }
     ObjectMixin::set($this, $name, $value);
 }
예제 #2
0
 /**
  * Sets value of a property. Do not call directly.
  *
  * @param string $name
  * @param mixed $value
  *
  * @throws \Nette\MemberAccessException
  * @return void
  */
 public function __set($name, $value)
 {
     ObjectMixin::set($this, $name, $value);
 }
예제 #3
0
파일: Object.php 프로젝트: manGoweb/mnamGo
 /**
  * Sets value of a property. Do not call directly.
  * @param  string  property name
  * @param  mixed   property value
  * @return void
  * @throws MemberAccessException if the property is not defined or is read-only
  */
 public function __set($name, $value)
 {
     Nette\Utils\ObjectMixin::set($this, $name, $value);
 }