Файл: system/controllers/groups/actions/group_members.php
Строк: 20
<?php
class actionGroupsGroupMembers extends cmsAction {
public function run($group){
$user = cmsUser::getInstance();
$users_request = new cmsRequest($this->request->getData(), cmsRequest::CTX_INTERNAL);
$users_controller = cmsCore::getController('users', $users_request);
$this->model->filterUsersMembers( $group['id'], $users_controller->model );
$page_url = href_to($this->name, $group['id'], 'members');
$profiles_list_html = $users_controller->renderProfilesList($page_url);
return cmsTemplate::getInstance()->render('group_members', array(
'user' => $user,
'group' => $group,
'profiles_list_html' => $profiles_list_html
));
}
}