1 | <?php |
||
14 | class Accounts |
||
15 | { |
||
16 | /** |
||
17 | * Constants Profile Types |
||
18 | */ |
||
19 | const FULL = "full_profile"; |
||
20 | const THREADS = "threads"; |
||
21 | const POSTS = "posts"; |
||
22 | const BASEPROFILE = Accounts::FULL; |
||
23 | |||
24 | /** |
||
25 | * @param $id |
||
26 | * @param bool $cache |
||
27 | * @param bool $raw |
||
28 | * |
||
29 | * @return bool|Profile|string |
||
30 | */ |
||
31 | 4 | public static function findProfile($id, $cache = false, $raw = false) |
|
36 | |||
37 | /** |
||
38 | * @param $id |
||
39 | * @param bool $cache |
||
40 | * @param bool $raw |
||
41 | * |
||
42 | * @return bool|Store|string |
||
43 | */ |
||
44 | 3 | public static function findThreads($id, $cache = false, $raw = false) |
|
49 | |||
50 | /** |
||
51 | * @param $id |
||
52 | * @param bool $cache |
||
53 | * @param bool $raw |
||
54 | * |
||
55 | * @return bool|Store|string |
||
56 | */ |
||
57 | 10 | public static function findPosts($id, $cache = false, $raw = false) |
|
62 | } |