zoukankan      html  css  js  c++  java
  • HelpersTags

    HelpersTags

    The tags helper is a collection of useful methods:

    Tags::clean($data)

    Clean function to convert data into an array.

    Tags::get($string)

    This method converts the $string depending on the condition:

    Tags::get('[year]')

    Returns the year

    Tags::get('[sitetitle]')

    Returns the site title constant (SITETITLE)

    Tags::get('[siteemail]')

    Returns the site email constant (SITEEMAIL)

    echo Tags::get('[feedburner username]');

    Generates a Feedburner subscriber form

    echo Tags::get('[googleplusbox username]');

    Generates a Google+ box

    echo Tags::get('[twitterfollowbutton username]');

    Generates a Twitter follow button for the given username

    echo Tags::get('[twittersharebutton username]');

    Generates a Twitter share button for the given username

    echo Tags::get('[youtube id]');

    Generates an embed iframe for youtube, pass the video id only

    echo Tags::get('[youtubesub username]');

    Generates a youtube subscribe widget

    echo Tags::get('[vimeo id]');

    Generates an embed iframe for vimeo, pass the video id only

  • 相关阅读:
    html 一号店静态页面
    多线程
    TCP通信
    MySQL连接查询
    Mysql数据库 DDL 数据定义语言
    MySQL数据库 DML 数据操作语言
    java字符流
    java File类
    java变量
    JDK、JRE、JVM的关系
  • 原文地址:https://www.cnblogs.com/chunguang/p/5643202.html
Copyright © 2011-2022 走看看