ORM::is_dirty PHP 메소드

is_dirty() 공개 메소드

Check whether the given field has been changed since this object was saved.
public is_dirty ( $key )
    public function is_dirty($key)
    {
        return array_key_exists($key, $this->_dirty_fields);
    }

Usage Example

예제 #1
0
파일: paris.php 프로젝트: florinp/dexonline
 /**
  * Check whether the given field has changed since the object was created or saved
  *
  * @param  string $property
  * @return bool
  */
 public function is_dirty($property)
 {
     return $this->orm->is_dirty($property);
 }
ORM