⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 content.class.inc.php

📁 This is the script which used on 10minutemail.com for temporary email.
💻 PHP
字号:
<?php

/** 
 * GentleSource Temporary E-mail
 * 
 * (C) Ralf Stadtaus http://www.gentlesource.com/
 */






/**
 * News main class
 */
class t12l_content
{

    var $detail_template    = null;
    var $output             = null;



    /**
     * 
     */
    function t12l_content()
    {
        // Start output handling
        $this->output = new t12l_output();
    }

// -----------------------------------------------------------------------------




    /**
     * Assign values to the templates - wrapper of smarty->assign
     * 
     * @param mixed $a Name or associative arrays containing the name/value
     * pairs
     * @param mixed $b Value (can be string or array)
     * 
     * @access public
     */
    function assign($a, $b = null)
    {
        if (is_array($a)) {
            $this->output->assign($a);
            return true;
        }
        $this->output->assign($a, $b);
        return true;
    }
    
// -----------------------------------------------------------------------------  




    function finish()
    {
        $this->output->set_detail_template($this->detail_template);
        
        // Output
        return $this->output->finish(false);       
    }

// -----------------------------------------------------------------------------




} // End of class








?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -