The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tripletail::Filter::MemCached - MemCachedを使用するときに使用するフィルタ

SYNOPSIS

  $TL->setContentFilter('Tripletail::Filter::MemCached',key => 'key', type => 'out', param => $param,  charset => 'Shift_JIS');

DESCRIPTION

MemCachedの使用を支援する。 このフィルタを使用する場合、最後に使用しなければならない。

METHODS

flush

Tripletail::Filter参照

print

Tripletail::Filter参照

フィルタパラメータ

key

MemCachedで使用するkeyを設定する。

type

MemCachedへの書き込みか、MemCachedからの出力かを選択する。

inで書き込み、outで出力。省略可能。

デフォルトはin。

param

inで書き込みをする際に、出力文字列中に最後に埋め込みを行う情報をTripletail::Form クラスのインスタンスで指定する。 Tripletail::Formクラスのキーが出力文字列中に存在している場合、値に置換する。省略可能。

charset

paramの値をUTF-8から変換する際の文字コードを指定する。省略可能。

使用可能なコードは次の通り。 UTF-8,Shift_JIS,EUC-JP,ISO-2022-JP

デフォルトはShift_JIS。

SEE ALSO

Tripletail
Tripletail::Filter
Tripletail::MemCached

AUTHOR INFORMATION

    Copyright 2006 YMIRLINK Inc. All Rights Reserved.

    This framework is free software; you can redistribute it and/or modify it under the same terms as Perl itself

    このフレームワークはフリーソフトウェアです。あなたは Perl と同じライセンスの 元で再配布及び変更を行うことが出来ます。

    Address bug reports and comments to: tl@tripletail.jp

    HP : http://tripletail.jp/