adminuserprofileview.class.php
来自「一个用PHP编写的」· PHP 代码 · 共 31 行
PHP
31 行
<?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 + =
减小字号Ctrl + -
显示快捷键?