_getDataObj()->setReviewerId(App_Application_Reviewer_Auth::getInstance()->getData('id')); return parent::_initAction(); } /** * @param Qs_ViewController_List $list * * @return App_Application_User_View */ protected function _bindListColumns($list) { //$list->addColumn('no', 'no'); $list->addColumn('text', 'schoolName', array('orderBy' => 'schoolName')); $documentsUrl = Qs_SiteMap::findFirst( array(), array('type' => 'Application_Document_'), array('userType' => App_Application_Document_Obj::USER_TYPE_REVIEWER), 'url' ); $list->addColumn( 'link_advanced', 'documents', array( 'text' => 'View', 'linkAttribs' => array('class' => 'btn btn-primary'), 'urlParams' => array('id'), 'url' => $documentsUrl . '/%d', ) ); return parent::_bindListColumns($list); } }