PHPFusion\OutputHandler::addToFooter PHP Method

addToFooter() public static method

Add content to the footer
public static addToFooter ( string $tag = "" )
$tag string
    public static function addToFooter($tag = "")
    {
        if (!stristr(self::$pageFooterTags, $tag)) {
            self::$pageFooterTags .= $tag . "\n";
        }
    }

Usage Example

コード例 #1
0
/**
 * Add content to the footer
 *
 * @param string $tag
 */
function add_to_footer($tag = "")
{
    OutputHandler::addToFooter($tag);
}