当前位置: 首页>>代码示例>>PHP>>正文


PHP qa_html_theme_base::html方法代码示例

本文整理汇总了PHP中qa_html_theme_base::html方法的典型用法代码示例。如果您正苦于以下问题:PHP qa_html_theme_base::html方法的具体用法?PHP qa_html_theme_base::html怎么用?PHP qa_html_theme_base::html使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在qa_html_theme_base的用法示例。


在下文中一共展示了qa_html_theme_base::html方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: html

 function html()
 {
     if (isset($_POST['ajax_comment_content']) && $this->can_comment) {
         $this->ajaxPostComment(qa_post_text('ajax_comment_content'), isset($_POST['ajax_comment_id']) ? qa_post_text('ajax_comment_id') : null);
     } else {
         qa_html_theme_base::html();
     }
 }
开发者ID:microbye,项目名称:q2a-comment-ajax,代码行数:8,代码来源:qa-comment-layer.php

示例2: html

 function html()
 {
     if (isset($_POST['ajax_bookmark_qid'])) {
         $this->ajaxBookmark(qa_post_text('ajax_bookmark_qid'), qa_post_text('ajax_bookmark_uid'), qa_post_text('ajax_bookmarked'));
     } else {
         qa_html_theme_base::html();
     }
 }
开发者ID:NoahY,项目名称:q2a-bookmarks,代码行数:8,代码来源:qa-bookmarks-layer.php

示例3: html

 function html()
 {
     if (qa_post_text('ajax_merge_get_from')) {
         $posts = qa_db_read_all_assoc(qa_db_query_sub("SELECT postid,title FROM ^posts WHERE postid IN (#,#)", qa_post_text('ajax_merge_get_from'), qa_post_text('ajax_merge_get_to')));
         if ($posts[0]['postid'] == (int) qa_post_text('ajax_merge_get_from')) {
             echo '{"from":"' . $posts[0]['title'] . '","to":"' . $posts[1]['title'] . '","from_url":"' . qa_path_html(qa_q_request((int) qa_post_text('ajax_merge_get_from'), $posts[0]['title']), null, qa_opt('site_url')) . '","to_url":"' . qa_path_html(qa_q_request((int) qa_post_text('ajax_merge_get_to'), $posts[1]['title']), null, qa_opt('site_url')) . '"}';
         } else {
             echo '{"from":"' . $posts[1]['title'] . '","to":"' . $posts[0]['title'] . '","from_url":"' . qa_path_html(qa_q_request((int) qa_post_text('ajax_merge_get_from'), $posts[1]['title']), null, qa_opt('site_url')) . '","to_url":"' . qa_path_html(qa_q_request((int) qa_post_text('ajax_merge_get_to'), $posts[0]['title']), null, qa_opt('site_url')) . '"}';
         }
         return;
     }
     qa_html_theme_base::html();
 }
开发者ID:NoahY,项目名称:q2a-post-merge,代码行数:13,代码来源:qa-merge-layer.php

示例4: html

 function html()
 {
     $this->logged_in_userid = qa_get_logged_in_userid();
     if (qa_opt('voting_on_cs')) {
         if (isset($_POST['ajax_comment_vote'])) {
             $this->ajaxCommentVote($_POST['ajax_comment_vote'], $_POST['ajax_comment_vote_id']);
         } else {
             qa_html_theme_base::html();
         }
     } else {
         qa_html_theme_base::html();
     }
 }
开发者ID:neil-zeng,项目名称:q2a-comment-voting,代码行数:13,代码来源:qa-comment-voting-layer.php

示例5: html

 function html()
 {
     if (qa_post_text('ajax_poll_id')) {
         $this->output_raw($this->getPollDiv((int) qa_post_text('ajax_poll_id'), (int) qa_post_text('ajax_poll_voter'), qa_post_text('ajax_poll_vote'), qa_post_text('ajax_poll_cancel')));
         return;
     }
     qa_html_theme_base::html();
 }
开发者ID:amiyasahu,项目名称:q2a-poll,代码行数:8,代码来源:qa-poll-layer.php

示例6: html

 function html()
 {
     qa_html_theme_base::html();
 }
开发者ID:swuit,项目名称:swuit-q2a,代码行数:4,代码来源:qa-rpc-layer.php


注:本文中的qa_html_theme_base::html方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。