當前位置: 首頁>>代碼示例>>PHP>>正文


PHP base::base方法代碼示例

本文整理匯總了PHP中base::base方法的典型用法代碼示例。如果您正苦於以下問題:PHP base::base方法的具體用法?PHP base::base怎麽用?PHP base::base使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在base的用法示例。


在下文中一共展示了base::base方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: send

 function send()
 {
     parent::base();
     global $embed;
     $this->embed = $embed;
     $this->to_name = isset($_GET['to_name']) ? $_GET['to_name'] : '';
     $this->to_email = isset($_GET['to_email']) ? $_GET['to_email'] : '';
     if (isset($_GET['email_prefix']) && isset($_GET['email_suffix'])) {
         $this->to_email = $_GET['email_prefix'] . "@" . $_GET['email_suffix'];
     }
     $this->use_from = isset($_GET['use_from']) ? $_GET['use_from'] : '';
     if ($this->embed) {
         $this->title = "- Email will be sent to: " . $this->encode($this->to_name);
     }
 }
開發者ID:joshritter,項目名稱:anonymousfeedback,代碼行數:15,代碼來源:send.class.php

示例2: admin

 function admin(){
     parent::base();
     $this->title = "*Admin* How to send anonymous email - ";
 }
開發者ID:joshritter,項目名稱:anonymousfeedback,代碼行數:4,代碼來源:admin.class.php

示例3: convoFinder

 function convoFinder (){
     parent::base();
 }
開發者ID:joshritter,項目名稱:anonymousfeedback,代碼行數:3,代碼來源:convoFinder.class.php

示例4: main

 function main()
 {
     parent::base();
     $this->title = "Block your email address - ";
 }
開發者ID:joshritter,項目名稱:anonymousfeedback,代碼行數:5,代碼來源:block.class.php

示例5: snailmail

 function snailmail (){
     parent::base();
     $this->title = "How to send anonymous letters in the mail - ";
     $this->description = "Send an anonymous letter in the mail.  Need to send an anonymous love letter?";
     $this->paypal_token = 'quqkE9ERvtQ0BZCDjlXMFUKOFRaYB_oQZPkCU_8SxkisjEADdZsCifSoeqC';
 }
開發者ID:joshritter,項目名稱:anonymousfeedback,代碼行數:6,代碼來源:snailmail.class.php

示例6: convo

 function convo (){
     parent::base();
     $this->id = isset($_GET["convoID"]) ? $_GET["convoID"] : (isset($_POST['convoID']) ? $_POST['convoID'] : '');
     global $embed;
     $this->embed = $embed;
 }
開發者ID:joshritter,項目名稱:anonymousfeedback,代碼行數:6,代碼來源:convo.class.php

示例7: page

 function page (){
     parent::base();
     $this->current_page = $_GET["page"];
 }
開發者ID:joshritter,項目名稱:anonymousfeedback,代碼行數:4,代碼來源:page.class.php

示例8: report

 function report (){
     parent::base();
     $this->title = "Report an abusive anonymous email - ";
     $this->description = "How to report an abusive anonymous email - ";
 }
開發者ID:joshritter,項目名稱:anonymousfeedback,代碼行數:5,代碼來源:report.class.php

示例9: embed

 function embed(){
     parent::base();
     $this->title = "How to add anonymous email to your site - ";
     $this->description = "How to add anonymous email to your site - ";
 }
開發者ID:joshritter,項目名稱:anonymousfeedback,代碼行數:5,代碼來源:embed.class.php


注:本文中的base::base方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。