getPlaceholderList() (Previous) (Next) loadTemplateFile()

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

hideBlock()

hideBlock() -- たとえそれが "空" でなくてもブロックを隠す

説明

たとえそれが "空" でなくてもブロックを隠します。

ちょうど touchBlock() と逆の働きをします。

登録した/"特別な" ユーザにしか見せないブロック (たとえば '編集' リンク) で、見せるか見せないかは 'id' フィールドが含まれる大きな配列を setVariable() に渡して設定するといった場合を考えてみましょう。 注意深く変数を設定してブロックを見せないようにする (間違えやすい方法です) か、あるいは単に hideBlock() をコールします。

パラメータ

string $block

ブロック名。

返り値

成功した場合に SIGMA_OK、 失敗した場合にエラーオブジェクトを返します。

注意

この関数は、スタティックにコールする ことはできません。

getPlaceholderList() (Previous) (Next) loadTemplateFile()

Download Documentation Last updated: Sun, 05 Oct 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.