updateLog() updateLog(array $logData, integer $blogId) 更新文章内容 Parameters array $logData integer $blogId
getLogNum() getLogNum(string $hide = 'n', string $condition = '', string $type = 'blog', integer $spot) : integer 获取指定条件的文章条数 Parameters string $hide string $condition string $type integer $spot 0:前台 1:后台 Returns integer
getLogsForAdmin() getLogsForAdmin(string $condition = '', string $hide_state = '', integer $page = 1, string $type = 'blog') : array 后台获取文章列表 Parameters string $condition string $hide_state integer $page string $type Returns array
getLogsForHome() getLogsForHome(string $condition = '', integer $page = 1, integer $perPageNum) : array 前台获取文章列表 Parameters string $condition integer $page integer $perPageNum Returns array
hideSwitch() hideSwitch(integer $blogId, string $state) 隐藏/显示文章 Parameters integer $blogId string $state
checkSwitch() checkSwitch(integer $blogId, string $state) 审核/驳回作者文章 Parameters integer $blogId string $state
postDate() postDate(integer $timezone = 8, string $postDate = null, string $oldDate = null) : \date 获取文章发布时间 Parameters integer $timezone string $postDate string $oldDate Returns \date
neighborLog() neighborLog(integer $date) : array 获取相邻文章 Parameters integer $date unix时间戳 Returns array
checkAlias() checkAlias(string $alias, array $logalias_cache, integer $logid) 处理文章别名,防止别名重复 Parameters string $alias array $logalias_cache integer $logid
authPassword() authPassword( $postPwd, $cookiePwd, $logPwd, $logid) 加密文章访问验证 Parameters $postPwd $cookiePwd $logPwd $logid