set_expr() public method

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;
 }