set_expr() 공개 메소드

To set multiple properties at once, pass an associative array as the first parameter and leave out the second parameter. Flags the properties as 'dirty' so they will be saved to the database when save() is called.
public set_expr ( string | array $key, string | null $value = null )
$key string | array
$value string | null
예제 #1
0
파일: paris.php 프로젝트: florinp/dexonline
 /**
  * Setter method, allows $model->set_expr('property', 'value') access to data.
  *
  * @param  string|array $property
  * @param  string|null  $value
  * @return void
  */
 public function set_expr($property, $value = null)
 {
     $this->orm->set_expr($property, $value);
     return $this;
 }