_urlVariables[] = 'lastNameStart'; $this->addColumn('no', 'no'); $this->addColumn( 'link_advanced', 'fullestName', [ 'title' => 'Name', 'orderBy' => 'lastName', 'url' => $this->_getViewUrl() . '/%s', 'urlParams' => ['alias'], 'text' => '%s', 'params' => ['fullestName'], ] ); $this->addColumn( 'text', 'companyName', [ 'title' => 'Institution/Employer', 'orderBy' => 'companyName', 'defaultText' => '-', ] ); $this->addColumn('email', 'email', ['title' => 'Email', 'defaultText' => '-']); $this->addColumn('text', 'workPhone', ['title' => 'Phone', 'defaultText' => '-']); return $this; } protected function _getViewUrl() { return Qs_SiteMap::findFirst(null, ['type' => 'User\\MemberDirectory\\'], null, 'url'); } }