MovableType plugin which search the specified value in array/hash var

Posted by
ぴろり
Posted at
2010/10/08 12:03
Trackbacks
関連記事 (0)
Post Comment
コメントできます
Category
Plugin カテゴリ

This MovableType plugin supplies a container tag of template which switches whether the specified value is contained in the array or hash variable. Now, you can describe the same logic with using the standard template tags, but its performance may not be desirable.

この記事を Delicious に追加する   このエントリーをはてなブックマークに追加  

Example of descriptions

Tag Reference

MTIsInArray / MTIsInHash conditional tag
A conditional tag which judges whether the specified value with value is contained in the specified array or hash variable with name. When the array variable contains value, it may be true and variable __index__ is filled with its index number. When the hash variable contains value, it may be true and variable __key__ is filled with its hash key.

Download

IsInArray.0.01

You can get the latest version and bug reporting is available in Trac repository.

Misc.

  • Works on MT4 or MT5
  • Licenced under LGPL