public function hasOnUpdate()
    {
        $database = $this->getTable()->getDatabase();
        if($database instanceof Database &&
               $this->onUpdate === $database->getPlatform()->getDefaultFKOnUpdateBehavior()) {
          return false;
        }

        return ($this->onUpdate !== self::NONE);
    }
public function hasOnUpdate()
    {
        $database = $this->getTable()->getDatabase();
        if($database instanceof Database &&
               $this->onUpdate === $database->getPlatform()->getDefaultFKOnUpdateBehavior()) {
          return false;
        }

        return ($this->onUpdate !== self::NONE);
    }
public function hasOnUpdate ( ) { $ database = $ this -> getTable ( ) -> getDatabase ( ) ; if ( $ database instanceof Database && $ this -> onUpdate === $ database -> getPlatform ( ) -> getDefaultFKOnUpdateBehavior ( ) ) { return false ; } return ( $ this -> onUpdate !== self :: NONE ) ; }
returns whether or not the onUpdate attribute is set
returns whether or not the onUpdate attribute is set