本文整理汇总了PHP中ModuleUser_EntityUser::getSettingsNoticeNewCommentBlogsSubscribe方法的典型用法代码示例。如果您正苦于以下问题:PHP ModuleUser_EntityUser::getSettingsNoticeNewCommentBlogsSubscribe方法的具体用法?PHP ModuleUser_EntityUser::getSettingsNoticeNewCommentBlogsSubscribe怎么用?PHP ModuleUser_EntityUser::getSettingsNoticeNewCommentBlogsSubscribe使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ModuleUser_EntityUser
的用法示例。
在下文中一共展示了ModuleUser_EntityUser::getSettingsNoticeNewCommentBlogsSubscribe方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Update
public function Update(ModuleUser_EntityUser $oUser)
{
$sql = 'UPDATE ' . Config::Get('db.table.user') . '
SET
user_settings_notice_new_topic = ?,
user_settings_notice_new_comment = ?,
user_settings_notice_new_talk = ?,
user_settings_notice_reply_comment = ?,
user_settings_notice_new_friend = ?,
user_settings_notice_new_topic_commented = ?,
user_settings_notice_friend_news = ?,
user_settings_notice_request = ?,
user_settings_notice_new_comment_blogs_subscribe = ?,
user_settings_notice_new_gift = ?,
user_settings_notice_frequency = ?,
user_settings_notice_new_user_blogs_subscribe = ?
WHERE user_id = ?
';
if ($this->oDb->query($sql, $oUser->getSettingsNoticeNewTopic(), $oUser->getSettingsNoticeNewComment(), $oUser->getSettingsNoticeNewTalk(), $oUser->getSettingsNoticeReplyComment(), $oUser->getSettingsNoticeNewFriend(), $oUser->getSettingsNoticeNewTopicCommented(), $oUser->getSettingsNoticeFriendNews(), $oUser->getSettingsNoticeRequest(), $oUser->getSettingsNoticeNewCommentBlogsSubscribe(), $oUser->getSettingsNoticeNewGift(), $oUser->getSettingsNoticeFrequency(), $oUser->getSettingsNoticeNewUserBlogsSubscribe(), $oUser->getId()) !== null) {
return parent::Update($oUser);
}
return false;
}