src/View/Cell/ResultCell.php
private function getViewOptions(): array
    {
        // search url if is a saved one
        list($plugin, $controller) = pluginSplit($this->entity->get('model'));

        $title = $this->entity->has('name') ? $this->entity->get('name') : $controller;
        $url = ['plugin' => $plugin, 'controller' => $controller, 'action' => 'search', $this->entity->get('id')];

        $result = ['title' => $title, 'url' => $url];

        if ($this->getExport()) {
            $result['exportUrl'] = Router::url([
                'plugin' => $plugin,
                'controller' => $controller,
                'action' => 'export-search',
                $this->entity->get('id'),
                $this->entity->get('name')
            ]);
        }

        return $result;
    }
private function getViewOptions(): array
    {
        // search url if is a saved one
        list($plugin, $controller) = pluginSplit($this->entity->get('model'));

        $title = $this->entity->has('name') ? $this->entity->get('name') : $controller;
        $url = ['plugin' => $plugin, 'controller' => $controller, 'action' => 'search', $this->entity->get('id')];

        $result = ['title' => $title, 'url' => $url];

        if ($this->getExport()) {
            $result['exportUrl'] = Router::url([
                'plugin' => $plugin,
                'controller' => $controller,
                'action' => 'export-search',
                $this->entity->get('id'),
                $this->entity->get('name')
            ]);
        }

        return $result;
    }
private function getViewOptions ( ) : array { // search url if is a saved one list ( $ plugin , $ controller ) = pluginSplit ( $ this -> entity -> get ( 'model' ) ) ; $ title = $ this -> entity -> has ( 'name' ) ? $ this -> entity -> get ( 'name' ) : $ controller ; $ url = [ 'plugin' => $ plugin , 'controller' => $ controller , 'action' => 'search' , $ this -> entity -> get ( 'id' ) ] ; $ result = [ 'title' => $ title , 'url' => $ url ] ; if ( $ this -> getExport ( ) ) { $ result [ 'exportUrl' ] = Router :: url ( [ 'plugin' => $ plugin , 'controller' => $ controller , 'action' => 'export-search' , $ this -> entity -> get ( 'id' ) , $ this -> entity -> get ( 'name' ) ] ) ; } return $ result ; }
View options getter.

@return mixed[]
View options getter .