Last change
on this file since 4 was
4,
checked in by zhangj, 10 years ago
|
Initial import--MML version from SOLEIL@2013
|
File size:
408 bytes
|
Line | |
---|
1 | function [id, items, tags] = itemList(a_f) |
---|
2 | % ITEMLIST - list id the identifiers |
---|
3 | % [id, items, tags] = itemList(f) return the elements of the current |
---|
4 | % collection of f. |
---|
5 | |
---|
6 | q = 'SELECT id FROM {S}'; |
---|
7 | id = mym(a_f.conInfo.id, q, a_f.ctx.collection); |
---|
8 | if nargout>=2 |
---|
9 | items = itemGet(a_f, id); |
---|
10 | end |
---|
11 | if nargout>=3 |
---|
12 | q = 'SELECT tag FROM {S} WHER id={Si}'; |
---|
13 | tags = mym(a_f.conInfo.id, q, a_f.ctx.collection); |
---|
14 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.