📄 adminbloguserslistview.class.php
字号:
<?php lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" ); lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" ); /** * \ingroup View * @private * * shows a list with the users in the blog */ class AdminBlogUsersListView extends AdminTemplatedView { function AdminBlogUsersListView( $blogInfo ) { $this->AdminTemplatedView( $blogInfo, "blogusers" ); } function render() { // get the users of the blog $users = new Users(); $blogUsers = $users->getBlogUsers( $this->_blogInfo->getId(), false ); $this->setValue( "blogusers", $blogUsers ); // no need to do anything else, so... transfer control to the parent view! parent::render(); } } ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -