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

Posted by
ぴろり
at
Oct 08,2010 12:03
Trackbacks
Trackbacks (0)
Post Comment
Post a 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.

Post to your del.icio.us

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

Related articles/Trackbacks

No Related article/Trackback

How to trackback to this article ?

Post your comment

 
 (Anonymousable/Required/Public)
 (Anonymousable/Required/Private)
 (Required)
Because of avoiding the comment spam, please fill with ランダムな数字 CAPTCHAについて