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

Procedural File: block.a.php

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



Page Details:

BEAR

BEAR PHP versions 5




Tags:

author:  Akihito Koriyama <koriyama@bear-project.net>
version:  SVN: Release: @package_version@ $Id: block.a.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_a [line 60]

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

拡張aタグ

拡張aタグ

 拡張した属性のaタグを提供します。

 click string onClickイベント
 value mixed スカラー値、配列、オブジェクト(プロパティのみ)

 Example.1 配列やオブジェクトを渡す

 {a href="/" val=$values}

 Example.2 ページのonClickハンドラをコール。自分に向けるときはhrefを省略できます

 {a click=print}

 Example.3 標準aタグと共存できます

 {a click="print" val=$values class="class_name" href="/home/"}ホームへ{/a}

 $params
  'val'   mixed  変数(スカラー値、配列、オブジェクト)
  'click' string クリックイベント




Tags:

author:  Akihito Koriyama <koriyama@bear-project.net>
version:  SVN: Release: @package_version@ $Id: block.a.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/
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:05 +0900 by phpDocumentor 1.4.3