当前位置: 首页>>代码示例>>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;未经允许,请勿转载。