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

Class: BEAR_View_Adapter

Source Location: /BEAR/View/Adapter.php

Class Overview

BEAR_Base
   |
   --BEAR_View_Adapter

ビューアダプター


Author(s):

Version:

  • SVN: Release: @package_version@ $Id:$ Query.php 1021 2009-10-13 04:04:08Z koriyama@bear-project.net $

Copyright:

  • 2008-2011 Akihito Koriyama All rights reserved.

Methods


Child classes:

BEAR_View_Adapter_Php
PHPビューアダプター
BEAR_View_Adapter_Smarty
Smartyビューアダプター

Inherited Variables

Inherited Methods


Class Details

[line 27]
ビューアダプター

ビューアダプター




Tags:

author:  Akihito Koriyama <koriyama@bear-project.net>
version:  SVN: Release: @package_version@ $Id:$ Query.php 1021 2009-10-13 04:04:08Z koriyama@bear-project.net $
copyright:  2008-2011 Akihito Koriyama All rights reserved.
link:  http://www.bear-project.net/
abstract:  
license:  BSD


[ Top ]


Class Methods


method _agentFilter [line 130]

string _agentFilter( string $html)

絵文字用アオウトプットフィルター

絵文字用アオウトプットフィルター

 絵文字を画像表示します。ネイティブ表示できる場合はそちらを優先します。




Tags:

access:  protected


Parameters:

string   $html   HTML

[ Top ]

method _getRo [line 104]

BEAR_ro _getRo( string $html)

リソースオブジェクトに変換

リソースオブジェクトに変換

 $htmlを受け取りエージェント依存のヘッダーを付加してリソースオブジェクトにして返します。
 返されたリソースオブジェクトはoutputHttp()メソッドでHTTP出力ができます。




Tags:

access:  protected


Parameters:

string   $html   HTML 文字列

[ Top ]

method _getRoleFile [line 213]

string _getRoleFile( array $role, string $dir, string $fileName, [string $ext = 'tpl'])

エージェントロールに対応したファイルを取得

エージェントロールに対応したファイルを取得




Tags:

access:  protected


Parameters:

array   $role   エージェントロール
string   $dir   ディレクトリパス
string   $fileName   ファイル名ベース
string   $ext   ファイル名拡張子

[ Top ]

method _getViewInfo [line 38]

array _getViewInfo( [string $tplName = null], [ $role = array()], [$ext $ext = 'tpl'])

テンプレート名の取得

テンプレート名の取得




Tags:

access:  protected


Parameters:

string   $tplName   テンプレート名(省略可)
array   $role   エージェントロール
$ext   $ext   拡張子

[ Top ]


Documentation generated on Sat, 30 Jul 2011 00:09:55 +0900 by phpDocumentor 1.4.3