Listprops (MPI)
From Tapestries MUCK
(Difference between revisions)
m (MPI listprops moved to Listprops (MPI)) |
|||
Line 1: | Line 1: | ||
- | [[Category:MPI functions]] | + | [[Category:MPI functions]][[Category:MPI Property Handling]] |
=listprops= | =listprops= | ||
<mpi>{listprops:propdir} | <mpi>{listprops:propdir} |
Revision as of 16:18, 30 March 2007
listprops
{listprops:propdir} {listprops:propdir,object} {listprops:propdir,object,pattern}
This function will return a list that contains the full names of all the sub-properties contained by the given propdir.
If not given, object defaults to the trigger object. If a pattern is given, the sub-properties in the propdir are each compared against the smatch wildcard pattern, and only those that match are returned in the list. This comparison is only done on the last part of the property name after the last /.