adminadduserview.class.php
来自「一个用PHP编写的」· PHP 代码 · 共 31 行
PHP
31 行
<?php lt_include( PLOG_CLASS_PATH.'class/view/admin/admintemplatedview.class.php' ); lt_include( PLOG_CLASS_PATH.'class/dao/blogs.class.php' ); lt_include( PLOG_CLASS_PATH.'class/dao/userstatus.class.php' ); lt_include( PLOG_CLASS_PATH.'class/dao/permissions.class.php' ); /** * \ingroup View * @private * * shows a special view to add a user to the site */ class AdminAddUserView extends AdminTemplatedView { function AdminAddUserView( $blogInfo ) { $this->AdminTemplatedView( $blogInfo, 'createuser' ); } function render() { $this->setValue( 'userStatusList', UserStatus::getStatusList()); $perms = new Permissions(); $this->setValue( 'permissions', $perms->getAllPermissions()); parent::render(); } }?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?