protected function getOperationWithParams()
    {
        $params    = [];
        $operation = $this->initiate($params);
        if ($operation == 'JOBRESULTS_CREATED') {
            $operation = $this->job($params);
        } else {

            $found = false;
            $url   = $this->getUrlPattern();
            $map   = [];
            if (!is_null($this->model->new_value)) {
                $map    = $this->getReplacementKeys();
                $values = $this->getReplacementValues();
                $title  = $this->getTitle($this->model->new_value);
                $found  = $this->urlFillable($url, $map);
            } else {
                $title = $this->getTitle($this->model->old_value);
            }
            array_set($params, 'owner_id', ($found && strlen($url) > 0) ? $this->link($map, $values, $url, $title) : $title );

            $operation = $this->getRelationData($params, $map);
        }
        $this->fill($params);
        return [$operation, $params];
    }
protected function getOperationWithParams()
    {
        $params    = [];
        $operation = $this->initiate($params);
        if ($operation == 'JOBRESULTS_CREATED') {
            $operation = $this->job($params);
        } else {

            $found = false;
            $url   = $this->getUrlPattern();
            $map   = [];
            if (!is_null($this->model->new_value)) {
                $map    = $this->getReplacementKeys();
                $values = $this->getReplacementValues();
                $title  = $this->getTitle($this->model->new_value);
                $found  = $this->urlFillable($url, $map);
            } else {
                $title = $this->getTitle($this->model->old_value);
            }
            array_set($params, 'owner_id', ($found && strlen($url) > 0) ? $this->link($map, $values, $url, $title) : $title );

            $operation = $this->getRelationData($params, $map);
        }
        $this->fill($params);
        return [$operation, $params];
    }
protected function getOperationWithParams ( ) { $ params = [ ] ; $ operation = $ this -> initiate ( $ params ) ; if ( $ operation == 'JOBRESULTS_CREATED' ) { $ operation = $ this -> job ( $ params ) ; } else { $ found = false ; $ url = $ this -> getUrlPattern ( ) ; $ map = [ ] ; if ( ! is_null ( $ this -> model -> new_value ) ) { $ map = $ this -> getReplacementKeys ( ) ; $ values = $ this -> getReplacementValues ( ) ; $ title = $ this -> getTitle ( $ this -> model -> new_value ) ; $ found = $ this -> urlFillable ( $ url , $ map ) ; } else { $ title = $ this -> getTitle ( $ this -> model -> old_value ) ; } array_set ( $ params , 'owner_id' , ( $ found && strlen ( $ url ) > 0 ) ? $ this -> link ( $ map , $ values , $ url , $ title ) : $ title ) ; $ operation = $ this -> getRelationData ( $ params , $ map ) ; } $ this -> fill ( $ params ) ; return [ $ operation , $ params ] ; }
Gets operation name with params

@return array
Gets operation name with params