BEAR_Smarty
[ class tree: BEAR_Smarty ] [ index: BEAR_Smarty ] [ all elements ]

Procedural File: block.timer.php

Source Location: /BEAR/Smarty/plugins/block.timer.php



Page Details:

BEAR

BEAR PHP versions 5




Tags:

author:  Akihito Koriyama <koriyama@bear-project.net>
version:  SVN: Release: @package_version@ $Id: block.timer.php 2486 2011-06-06 07:44:05Z koriyama@bear-project.net $
copyright:  2008-2011 Akihito Koriyama All rights reserved.
link:  http://www.bear-project.net/
filesource:  Source Code for this file
license:  BSD








smarty_block_timer [line 52]

string smarty_block_timer( string $params, string $content, Smarty &$smarty, bool &$repeat)

timer

timer

 指定時間によってコンテンツを制限します

 Example
  1.  // 17:00から明くる日の7:30までコンテンツを表示します
  2.  {timer from="17:00" to="+1 day 07:30"}CME 17:00-7:30<br />
 'from' string 開始時間 パースする文字列で、GNU » Date Input Formats 形式に準拠したもの
 'to'   string 終了時間




Tags:

author:  Akihito Koriyama <koriyama@bear-project.net>
version:  SVN: Release: @package_version@ $Id: block.timer.php 2486 2011-06-06 07:44:05Z koriyama@bear-project.net $
copyright:  2008-2011 Akihito Koriyama All rights reserved.
see:  http://www.gnu.org/software/tar/manual/html_node/Date-input-formats.html Date-input-formats
see:  http://jp2.php.net/manual/ja/function.strtotime.php strtotime
link:  http://www.bear-project.net/
license:  BSD


Parameters

string   $params   パラメーター
string   $content   HTML
Smarty   &$smarty   &Smarty object
bool   &$repeat   &$repeat 呼び出し回数
[ Top ]



Documentation generated on Sat, 30 Jul 2011 00:10:06 +0900 by phpDocumentor 1.4.3