本文整理汇总了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);
}
}
示例2: admin
function admin(){
parent::base();
$this->title = "*Admin* How to send anonymous email - ";
}
示例3: convoFinder
function convoFinder (){
parent::base();
}
示例4: main
function main()
{
parent::base();
$this->title = "Block your email address - ";
}
示例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';
}
示例6: convo
function convo (){
parent::base();
$this->id = isset($_GET["convoID"]) ? $_GET["convoID"] : (isset($_POST['convoID']) ? $_POST['convoID'] : '');
global $embed;
$this->embed = $embed;
}
示例7: page
function page (){
parent::base();
$this->current_page = $_GET["page"];
}
示例8: report
function report (){
parent::base();
$this->title = "Report an abusive anonymous email - ";
$this->description = "How to report an abusive anonymous email - ";
}
示例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 - ";
}