當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。