123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <?php
- $classes = array('Schema_version',
- 'Profile',
- 'Avatar',
- 'Sms_carrier',
- 'User',
- 'Subscription',
- 'Group_join_queue',
- 'Subscription_queue',
- 'Oauth_token_association',
- 'Notice',
- 'Notice_location',
- 'Notice_source',
- 'Notice_prefs',
- 'Reply',
- 'Consumer',
- 'Token',
- 'Nonce',
- 'Oauth_application',
- 'Oauth_application_user',
- 'Confirm_address',
- 'Remember_me',
- 'Queue_item',
- 'Notice_tag',
- 'Foreign_service',
- 'Foreign_user',
- 'Foreign_link',
- 'Foreign_subscription',
- 'Invitation',
- 'Profile_prefs',
- 'Profile_tag',
- 'Profile_list',
- 'Profile_tag_subscription',
- 'Profile_block',
- 'User_group',
- 'Related_group',
- 'Group_inbox',
- 'Group_member',
- 'File',
- 'File_redirection',
- 'File_thumbnail',
- 'File_to_post',
- 'Group_block',
- 'Group_alias',
- 'Session',
- 'Config',
- 'Profile_role',
- 'Location_namespace',
- 'Login_token',
- 'User_location_prefs',
- 'User_im_prefs',
- 'Conversation',
- 'Local_group',
- 'User_urlshortener_prefs',
- 'Old_school_prefs',
- 'User_username',
- 'Attention',
- );
- foreach ($classes as $cls) {
- $schema[strtolower($cls)] = call_user_func(array($cls, 'schemaDef'));
- }
|