XMBML Functions: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (→‎Parameters: change table columns)
Line 10: Line 10:
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
! Parameter !! Accepted values !! Example !! Description
! Description !! Parameter !! Accepted values !! Example
|-
|-
| limit || (null)<br />Numbers up to 2048? || limit=2048 || Returned items limit
| Returned items limit || limit || (null)<br />Numbers up to 2048? || limit=2048
|-
|-
| 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?
| 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
|-
|-
| 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?
| 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
|-
|-
| genre || (null)<br />Photo<br />Game<br />Music<br />Video || genre=Photo || Filter by genre?
| Filter by genre? || genre || (null)<br />Photo<br />Game<br />Music<br />Video || genre=Photo
|-
|-
| sort || (null)<br />'''Operators:'''</br>+ ''[increasing]''<br/>- ''[decreasing]'' || sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia :StorageMedia.timeInserted || Sorting
| Sorting || sort || (null)<br />'''Operators:'''</br>+ ''[increasing]''<br/>- ''[decreasing]'' || sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia :StorageMedia.timeInserted
|-
|-
| ssort || (null)<br />Variables from registory.xml || ssort=root.sort_selected.friend_named || Sorting (from registory.xml variables)
| Sorting (from registory.xml variables) || ssort || (null)<br />Variables from registory.xml || ssort=root.sort_selected.friend_named
|-
|-
| 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 || 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
|-
|-
| scond || (null)<br />Variables from registory.xml || scond=root.cond_selected.gamelist_format || Search condition (from registory.xml variables)
| Search condition (from registory.xml variables) || scond || (null)<br />Variables from registory.xml || scond=root.cond_selected.gamelist_format
|-
|-
| option || (null)<br />option_hybrid<br />option_plus || opt=option_hybrid || ????????
| ???????? || option || (null)<br />option_hybrid<br />option_plus || opt=option_hybrid
|-
|-
| perm || (null)<br />1 || perm=1 || ????????
| ???????? || perm || (null)<br />1 || perm=1
|-
|-
|}
|}

Revision as of 15:46, 9 February 2012

xcb Functions

query

Usage example:

Parameters

Description Parameter Accepted values Example
Returned items limit limit (null)
Numbers up to 2048?
limit=2048
Main search table? 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
Filter by subclass? 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 genre? genre (null)
Photo
Game
Music
Video
genre=Photo
Sorting sort (null)
Operators:
+ [increasing]
- [decreasing]
sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia :StorageMedia.timeInserted
Sorting (from registory.xml variables) ssort (null)
Variables from registory.xml
ssort=root.sort_selected.friend_named
Search condition 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 (from registory.xml variables) scond (null)
Variables from registory.xml
scond=root.cond_selected.gamelist_format
???????? option (null)
option_hybrid
option_plus
opt=option_hybrid
???????? perm (null)
1
perm=1