outputAjax()
outputAjax(array $values, array $options) : \BEAR_Ro
JSON出力
Parameters
array | $values | 値 |
array | $options | オプション |
BEAR_Agent_Adapter_Interface | BEAR_Agent_Adapter_Interface |
BEAR_Aspect_After_Interface | afterアドバイスインターフェイス |
BEAR_Aspect_Around_Interface | aroundアドバイスインターフェイス |
BEAR_Aspect_Before_Interface | beforeアドバイスインターフェイス |
BEAR_Aspect_Returning_Interface | returningアドバイスインターフェイス |
BEAR_Aspect_Throwing_Interface | throwingアドバイスインターフェイス |
BEAR_Base_Interface | BEAR Baseインターフェイス |
BEAR_Form_Token_Interface | BEAR_Form_Tokenインターフェイス |
BEAR_Injector_Interface | Injectorインターフェイス |
BEAR_Page_Header_Interface | ヘッダーインターフェイス |
BEAR_Query_Interface | BEAR_Queryインターフェイス |
BEAR_Resource_Request_Interface | リソースリクエストインターフェイス |
BEAR_Ro_Interface | BEAR_Roインターフェイス |
BEAR_Ro_Shutdown_Interface | BEAR_Ro_Shutdownインターフェイス |
BEAR_View_Interface | BEAR_Viewインターフェイス |
BEAR_Agent | エージェント |
BEAR_Agent_Adapter | アブストラクトエージェントアダプター |
BEAR_Agent_Adapter_Android | Androidエージェントアダプター |
BEAR_Agent_Adapter_Default | Defaultエージェントアダプター |
BEAR_Agent_Adapter_Docomo | Docomoエージェントアダプター |
BEAR_Agent_Adapter_Ezweb | Ezwebエージェントアダプター |
BEAR_Agent_Adapter_Ipad | Ipadエージェントアダプター |
BEAR_Agent_Adapter_Iphone | Iphoneエージェントアダプター |
BEAR_Agent_Adapter_Mobile | Mobileエージェントアダプター |
BEAR_Agent_Adapter_Mobile_Exception | BEAR_Agent_Adapter_Mobile_Exception |
BEAR_Agent_Adapter_Softbank | Softbankエージェントアダプター |
BEAR_Agent_Exception | BEAR_Agent_Exception |
BEAR_Agent_Injector | UAインジェクター |
BEAR_Agent_Mobile | Mobileエージェント |
BEAR_Agent_Ua | UA判別 |
BEAR_Annotation | アノテーション |
BEAR_Annotation_Exception | BEAR_Annotation_Exception |
BEAR_Aspect | アドバイス抽象クラス |
BEAR_Aspect_Exception | BEAR_Aspect_Exception |
BEAR_Aspect_JoinPoint | ジョインポイント |
BEAR_Aspect_Weaver | BEARクラスの抽象クラス |
BEAR_Aspect_Weaver_Exception | BEAR_Aspect_Weaver_Exception |
BEAR_Base | BEARクラスの抽象クラス |
BEAR_Bin_Bear | BEAR CLI |
BEAR_Cache | キャッシュ |
BEAR_Cache_Adapter | キャッシュアダプター |
BEAR_Cache_Adapter_Apc | APCアダプター |
BEAR_Cache_Adapter_Lite | PEAR::Cache_Liteアダプター |
BEAR_Cache_Adapter_Memcache | Memcacheアダプター |
BEAR_Cache_Adapter_Void | Voidアダプター |
BEAR_Cache_Exception | BEAR_Cache_Exception |
BEAR_Emoji | 絵文字クラス |
BEAR_Emoji_Map | 絵文字マップ |
BEAR_Exception | BEAR_Exception |
BEAR_Factory | ファクトリー |
BEAR_Form | Form |
BEAR_Form_Exception | BEAR_Form_Exception |
BEAR_Form_Renderer_Android | Replacement for the default renderer of HTML_QuickForm that uses only XHTML and CSS but no table tags, and generates fully valid XHTML output |
BEAR_Form_Renderer_Default | Replacement for the default renderer of HTML_QuickForm that uses only XHTML and CSS but no table tags, and generates fully valid XHTML output |
BEAR_Form_Renderer_Docomo | Replacement for the default renderer of HTML_QuickForm that uses only XHTML and CSS but no table tags, and generates fully valid XHTML output |
BEAR_Form_Renderer_Ezweb | Replacement for the default renderer of HTML_QuickForm that uses only XHTML and CSS but no table tags, and generates fully valid XHTML output |
BEAR_Form_Renderer_Iphone | Replacement for the default renderer of HTML_QuickForm that uses only XHTML and CSS but no table tags, and generates fully valid XHTML output |
BEAR_Form_Renderer_Mobile | Replacement for the default renderer of HTML_QuickForm that uses only XHTML and CSS but no table tags, and generates fully valid XHTML output |
BEAR_Form_Renderer_Softbank | Replacement for the default renderer of HTML_QuickForm that uses only XHTML and CSS but no table tags, and generates fully valid XHTML output |
BEAR_Form_Token | BEAR_Form_Token |
BEAR_Img | イメージ |
BEAR_Img_Adapter | BEARクラスの抽象クラス |
BEAR_Img_Adapter_Cairo | Cairoクラス |
BEAR_Img_Adapter_Cairo_Exception | BEAR_Img_Adapter_Cairo_Exception |
BEAR_Img_Adapter_GD | GDクラス |
BEAR_Img_Adapter_GD_Exception | BEAR_Img_Adapter_GD_Exception |
BEAR_Img_Adapter_Magick | iMagickクラス |
BEAR_Img_Adapter_Magick_Exception | BEAR_Img_Adapter_Magick_Exception |
BEAR_Img_Exception | BEAR_Img_Exception |
BEAR_Log | ログ |
BEAR_Log_Test | BEAR_Log_Test |
BEAR_Main | メイン |
BEAR_Main_Exception | BEAR_Main_Exception |
BEAR_Main_Ua_Injector | Main UA インジェクト |
BEAR_Mdb2 | MDB2 |
BEAR_Mdb2_Exception | BEAR_Mdb2_Exception |
BEAR_Page | Page |
BEAR_Page_Ajax | BEAR_Page_Ajax |
BEAR_Page_Cli | CLI用仮想ページクラス |
BEAR_Page_Exception | BEAR_Page_Exception |
BEAR_Page_Header | ヘッダー |
BEAR_Pager | ページャー |
BEAR_Prof | プロファイラークラス |
BEAR_Query | クエリークラス |
BEAR_Query_Count | Countクエリー |
Bear_Query_Free | クエリークラス |
BEAR_Resource | リソースクライアント |
BEAR_Resource_Exception | BEAR_Resource_Exception |
BEAR_Resource_Execute | リソースリクエスト実行 |
BEAR_Resource_Execute_Adapter | リソース実行アダプター |
BEAR_Resource_Execute_Exception | BEAR_Resource_Execute_Exception |
BEAR_Resource_Execute_File | スタティクファイルリソース |
BEAR_Resource_Execute_Function | 関数リソース |
BEAR_Resource_Execute_Http | HTTPリソース |
BEAR_Resource_Execute_Mock | リソースモック(スタブ) |
BEAR_Resource_Execute_Null | Nullリソース |
BEAR_Resource_Execute_Page | Pageリソース |
BEAR_Resource_Execute_Ro | RO(リソースオブジェクト)リソース |
BEAR_Resource_Request | リソースリクエスト |
BEAR_Resource_Request_Ajax | AJAXリソースリクエスト |
BEAR_Resource_Request_Cache | リソースキャッシュ |
BEAR_Resource_Request_Exception | BEAR_Resource_Request_Exception |
BEAR_Resource_Request_Test | BEAR_Resource_Request for for unit testing |
BEAR_Resource_Server | BEARリソースsocketサーバー |
BEAR_Resource_Server_Client | BEARリソースsocketサーバークライアント |
BEAR_Resource_Server_Execute_Exception | BEAR_Resource_Server_Execute_Exception |
BEAR_Resource_Server_Handler | BEARリソースsocketサーバーハンドラー |
BEAR_Ro | リソースオブジェクト |
BEAR_Ro_Container | Roコンテナ |
BEAR_Ro_Debug | リソースオブジェクトデバッククラス |
BEAR_Ro_Exception | BEAR_Ro_Exception |
BEAR_Ro_Prototype | リソースプロトタイプ |
BEAR_Ro_Prototype_Debug | Debugプロトタイプリソース |
BEAR_Ro_Prototype_Link | リソースオブジェクトリンク |
BEAR_Ro_Prototype_Link_Exception | BEAR_Ro_Exception |
BEAR_Ro_Shutdown | onShutdownプロトタイプリソース |
BEAR_Session | セッション |
BEAR_Smarty | Smarty factory |
BEAR_Smarty_Exception | BEAR_Smarty_Exception |
BEAR_Test_Client | BEAR |
BEAR_Test_Query | Dom query |
BEAR_Util | ユーティリティ |
BEAR_View | ビュー |
BEAR_View_Adapter | ビューアダプター |
BEAR_View_Adapter_Php | PHPビューアダプター |
BEAR_View_Adapter_Smarty | Smartyビューアダプター |
BEAR_View_Adapter_Smarty_Exception | BEAR_View_Adapter_Smarty_Exception |
HTML_QuickForm_bcheckbox | HTML class for a "bcheckbox" element |
HTML_QuickForm_bradio | HTML class for a "bradio" element |
outputAjax(array $values, array $options) : \BEAR_Ro
JSON出力
array | $values | 値 |
array | $options | オプション |
outputJson(array $values, array $options) : \BEAR_Ro
JSON出力
array | $values | 値 |
array | $options | オプション |
outputPhp(array $values, array $options) : \BEAR_Ro
PHPシリアライズ変数出力
array | $values | 値 |
array | $options | オプション |
outputPrint(array $values, array $options) : \BEAR_Ro
変数画面出力
array | $values | 値 |
array | $options | オプション |
outputXml(array $values, array $options) : \BEAR_Ro
XML出力
XMLを出力します。
array | $values | 値 |
array | $options | オプション |
smarty_block_a(string $params, string $content, $smarty, $repeat) : string
拡張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 クリックイベント
string | $params | パラメーター |
string | $content | HTML |
$smarty | ||
$repeat |
smarty_block_agent(string $params, string $content, $smarty, $repeat) : string
エージェントブロック関数
エージェントによって表示/非表示を制御します。 エージェントの指定は大文字でも小文字問いません。 Example
{agent in='docomo,au'}ドコモとAUだけ表示{/agent}
{agent out='softbank'}SBのみ非表示{/agent}
{agent in='iphone' func='upper_case'}iPhoneのみ大文字で{/agent}
$params 'in' mixed カンマ区切りで含まれていたら表示。 'out' string カンマ区切りで含まれていなかったら表示 'func' string ユーザー関数
string | $params | パラメーター |
string | $content | HTML |
$smarty | ||
$repeat |
smarty_block_timer(string $params, string $content, $smarty, $repeat) : string
timer
指定時間によってコンテンツを制限します Example
// 17:00から明くる日の7:30までコンテンツを表示します
{timer from="17:00" to="+1 day 07:30"}CME 17:00-7:30
'from' string 開始時間 パースする文字列で、GNU » Date Input Formats 形式に準拠したもの 'to' string 終了時間
string | $params | パラメーター |
string | $content | HTML |
$smarty | ||
$repeat |