📄 adminuserprofileview.class.php
字号:
<?php lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" ); /** * \ingroup View * @private */ class AdminUserProfileView extends AdminTemplatedView { var $_userInfo; function AdminUserProfileView( $blogInfo, $userInfo ) { $this->AdminTemplatedView( $blogInfo, "usersettings" ); $this->_userInfo = $userInfo; $this->setValue( "userFullName", $userInfo->getFullName()); $this->setValue( "userEmail", $userInfo->getEmail()); // we use 'false' here because we don't want to get the formatting $this->setValue( "userAbout", $userInfo->getAboutMyself( false )); } function render() { $this->setValue( "user", $this->_userInfo ); parent::render(); } }?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -