You are here

public function PreUpdateEventArgs::hasChangedField in Plug 7

Checks if field has a changeset.

Parameters

string $field:

Return value

boolean

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php, line 70

Class

PreUpdateEventArgs
Class that holds event arguments for a preUpdate event.

Namespace

Doctrine\Common\Persistence\Event

Code

public function hasChangedField($field) {
  return isset($this->entityChangeSet[$field]);
}