| 1 | <?php |
||
| 12 | class Organisations extends StarCitizenAbstract |
||
| 13 | { |
||
| 14 | |||
| 15 | const ORG = 'single_organization'; |
||
| 16 | const MEMBERS = 'members'; |
||
| 17 | const BASEPROFILE = Organisations::ORG; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Model map |
||
| 21 | */ |
||
| 22 | const MODELS = [ |
||
| 23 | Organisations::ORG => '\Organisation', |
||
| 24 | Organisations::MEMBERS => '\Members' |
||
| 25 | ]; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected static $system = "organizations"; |
||
| 31 | |||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $id |
||
| 35 | * @param bool $cache |
||
| 36 | * @param bool $raw |
||
| 37 | * |
||
| 38 | * @return bool|Organisation |
||
| 39 | */ |
||
| 40 | public static function findOrg($id, $cache = false, $raw = false) |
||
| 44 | } |