XMBML Functions: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 14: Line 14:
| limit || (null)<br />Numbers up to 2048? || limit=2048 || Returned items limit
| limit || (null)<br />Numbers up to 2048? || limit=2048 || Returned items limit
|-
|-
| table || (null)<br />MMS_MEDIA_TYPE_SYSTEM<br />MMS_MEDIA_TYPE_HDD<br />MMS_MEDIA_TYPE_PLUS<br />MMS_MEDIA_TYPE_PS3_BD ''(OFW 1.10)''<br />MMS_MEDIA_TYPE_PS3_DVD ''(OFW 1.10)''<br />MMS_MEDIA_TYPE_PS2_DVD ''(OFW 1.10)''<br />MMS_MEDIA_TYPE_PS2_CD ''(OFW 1.10)''<br />MMS_MEDIA_TYPE_PS1_CD ''(OFW 1.10)'' || table=MMS_MEDIA_TYPE_SYSTEM || Main search table?
| table || (null)<br />MMS_MEDIA_TYPE_SYSTEM<br />MMS_MEDIA_TYPE_HDD<br />MMS_MEDIA_TYPE_PLUS<br />MMS_MEDIA_TYPE_PS3_BD ''[OFW 1.10]''<br />MMS_MEDIA_TYPE_PS3_DVD ''[OFW 1.10]''<br />MMS_MEDIA_TYPE_PS2_DVD ''[OFW 1.10]''<br />MMS_MEDIA_TYPE_PS2_CD ''[OFW 1.10]''<br />MMS_MEDIA_TYPE_PS1_CD ''[OFW 1.10]'' || table=MMS_MEDIA_TYPE_SYSTEM || Main search table?
|-
|-
| subclass || (null)<br />x-xcb/storagemedia-sdps2<br />x-xcb/storagemedia-sdps3<br />x-xcb/storagemedia-sdpsp<br />x-xcb/storagemedia-dspsp ''(OFW 1.10)''<br />x-xcb/storagemedia-psv<br />x-xcb/storagemedia-psmc<br />x-xcb/storagemedia-bdc<br />x-xcb/friendachievgroup<br />x-xcb/savedata-plus<br />x-xcb/friendachievflag || subclass=x-xcb/storagemedia-sdps2 || Filter by subclass?
| subclass || (null)<br />x-xcb/storagemedia-sdps2<br />x-xcb/storagemedia-sdps3<br />x-xcb/storagemedia-sdpsp<br />x-xcb/storagemedia-dspsp '']OFW 1.10]''<br />x-xcb/storagemedia-psv<br />x-xcb/storagemedia-psmc<br />x-xcb/storagemedia-bdc<br />x-xcb/friendachievgroup<br />x-xcb/savedata-plus<br />x-xcb/friendachievflag || subclass=x-xcb/storagemedia-sdps2 || Filter by subclass?
|-
|-
| genre || (null)<br />Photo<br />Game<br />Music<br />Video || genre=Photo || Filter by genre?
| genre || (null)<br />Photo<br />Game<br />Music<br />Video || genre=Photo || Filter by genre?
|-
|-
| sort || (null)<br />Operators:</br>+ ''(increasing)''<br/>- ''(decreasing)'' || sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia :StorageMedia.timeInserted || Sorting
| sort || (null)<br />'''Operators:'''</br>+ ''[increasing]''<br/>- ''[decreasing]'' || sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia :StorageMedia.timeInserted || Sorting
|-
|-
| ssort || (null)<br />(registory.xml vars) || ssort=root.sort_selected.friend_named || Sorting (from registory.xml vars)
|-
| cond || (null)<br />'''Operators:'''</br>Ae+ [A B is equivalent to AND A = B]</br>An+ [A B is equivalent to AND NOT (A = B) same as AND (A != B)]</br>Oe+ [A B is equivalent to OR A = B]</br>On+ [A B is equivalent to OR NOT (A = B) same as OR (A != B)]</br>AGL+ [A B C is equivalent to AND A in (B, C, ...)]</br>OGL+ [A B C is equivalent to OR A in (B, C, ...)] || cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.d eviceType %xCB_DEVICE_TYPE_CF || Search condition
|-
Search condition
Example: cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.d eviceType %xCB_DEVICE_TYPE_CF
Accepts:
Ae+ A B is equivalent to AND A = B
An+ A B is equivalent to AND NOT (A = B) same as AND (A != B)
Oe+ A B is equivalent to OR A = B
On+ A B is equivalent to OR NOT (A = B) same as OR (A != B)
AGL+A B C is equivalent to AND A in (B, C, ...)
OGL+A B C is equivalent to OR A in (B, C, ...)


|}
|}

Revision as of 15:38, 9 February 2012

xcb Functions

query

Usage example:

Parameters

Search condition Example: cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.d eviceType %xCB_DEVICE_TYPE_CF Accepts: Ae+ A B is equivalent to AND A = B An+ A B is equivalent to AND NOT (A = B) same as AND (A != B) Oe+ A B is equivalent to OR A = B On+ A B is equivalent to OR NOT (A = B) same as OR (A != B) AGL+A B C is equivalent to AND A in (B, C, ...) OGL+A B C is equivalent to OR A in (B, C, ...)
Parameter Accepted values Example Description
limit (null)
Numbers up to 2048?
limit=2048 Returned items limit
table (null)
MMS_MEDIA_TYPE_SYSTEM
MMS_MEDIA_TYPE_HDD
MMS_MEDIA_TYPE_PLUS
MMS_MEDIA_TYPE_PS3_BD [OFW 1.10]
MMS_MEDIA_TYPE_PS3_DVD [OFW 1.10]
MMS_MEDIA_TYPE_PS2_DVD [OFW 1.10]
MMS_MEDIA_TYPE_PS2_CD [OFW 1.10]
MMS_MEDIA_TYPE_PS1_CD [OFW 1.10]
table=MMS_MEDIA_TYPE_SYSTEM Main search table?
subclass (null)
x-xcb/storagemedia-sdps2
x-xcb/storagemedia-sdps3
x-xcb/storagemedia-sdpsp
x-xcb/storagemedia-dspsp ]OFW 1.10]
x-xcb/storagemedia-psv
x-xcb/storagemedia-psmc
x-xcb/storagemedia-bdc
x-xcb/friendachievgroup
x-xcb/savedata-plus
x-xcb/friendachievflag
subclass=x-xcb/storagemedia-sdps2 Filter by subclass?
genre (null)
Photo
Game
Music
Video
genre=Photo Filter by genre?
sort (null)
Operators:
+ [increasing]
- [decreasing]
sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia :StorageMedia.timeInserted Sorting
ssort (null)
(registory.xml vars)
ssort=root.sort_selected.friend_named Sorting (from registory.xml vars)
cond (null)
Operators:
Ae+ [A B is equivalent to AND A = B]
An+ [A B is equivalent to AND NOT (A = B) same as AND (A != B)]
Oe+ [A B is equivalent to OR A = B]
On+ [A B is equivalent to OR NOT (A = B) same as OR (A != B)]
AGL+ [A B C is equivalent to AND A in (B, C, ...)]
OGL+ [A B C is equivalent to OR A in (B, C, ...)]
cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.d eviceType %xCB_DEVICE_TYPE_CF Search condition