Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Having to initialize it with a Phreezer connection doesnt
- * feel right, but this is just a mock-up.
- **/
- $parameters = array(
- "is_admin" => true,
- "created_date__lte" => date("Y-m-d H:i:s", mktime(23, 59, 59, 12, 31, 2007)),
- "roles__in" => array(
- $admin_type_object, // represents RoleType record
- $privileged_merchant_type_object // represents RoleType record
- );
- );
- $customers = User::filter($phreezer, $parameters);
- ?>
Add Comment
Please, Sign In to add comment