Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array(
- // Current users profile
- 'User' => array(
- 'id' => '1',
- 'email' => 'test@test.com',
- 'password' => '*****',
- 'firstname' => 'Robin',
- 'lastname' => 'Chan',
- 'name' => 'Robin Chan',
- 'created' => '2012-01-31 08:28:45',
- 'modified' => '2012-01-31 23:56:08'
- ),
- // Items current user is selling
- 'Item' => array(
- (int) 0 => array(
- 'id' => '4',
- 'user_id' => '1',
- 'name' => 'Cats!',
- 'description' => 'cat',
- 'price' => '15.00',
- 'created' => '2012-02-01 20:43:25',
- 'modified' => '2012-02-01 20:43:25'
- ),
- (int) 1 => array(
- 'id' => '5',
- 'user_id' => '1',
- 'name' => 'Testingggg',
- 'description' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
- 'price' => '56.00',
- 'created' => '2012-02-23 16:31:34',
- 'modified' => '2012-02-23 16:31:34'
- )
- // No offers/watchers here? Only if recursive is 2.
- // Here recursive is 2 but it still doesnt get the users profile. Only displays the user_id!
- 'Offer' => array(),
- 'Watcher' => array(
- (int) 0 => array(
- 'id' => '9',
- 'item_id' => '5',
- 'user_id' => '6',
- 'created' => '2012-02-02 13:50:27',
- 'modified' => '2012-02-02 13:50:27'
- )
- )
- ),
- // Current users offers & watchers.
- 'Offer' => array(),
- 'Watcher' => array(
- (int) 0 => array(
- 'id' => '11',
- 'item_id' => '3',
- 'user_id' => '1',
- 'created' => '2012-02-24 14:45:23',
- 'modified' => '2012-02-24 14:45:23'
- )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement