library/Garp/Model/Behavior/Elasticsearchable.php
public function afterUpdate(&$args) {
        $model      = $args[0];
        $where      = $args[3];

        $primaryKey = $model->extractPrimaryKey($where);
        $id         = $primaryKey['id'];

        $this->afterSave($model, $id);
    }
public function afterUpdate(&$args) {
        $model      = $args[0];
        $where      = $args[3];

        $primaryKey = $model->extractPrimaryKey($where);
        $id         = $primaryKey['id'];

        $this->afterSave($model, $id);
    }
public function afterUpdate ( & $ args ) { $ model = $ args [ 0 ] ; $ where = $ args [ 3 ] ; $ primaryKey = $ model -> extractPrimaryKey ( $ where ) ; $ id = $ primaryKey [ 'id' ] ; $ this -> afterSave ( $ model , $ id ) ; }
AfterUpdate event listener.
@param Array $args Event listener parameters
@return Void
AfterUpdate event listener .