| 1 | <?php namespace JobApis\Jobs\Client\Queries; |
||
| 3 | class PhpjobsQuery extends AbstractQuery |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * search_string |
||
| 7 | * |
||
| 8 | * The search query. |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $search_string; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * country_code |
||
| 16 | * |
||
| 17 | * The country string to search. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $country_code; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * format |
||
| 25 | * |
||
| 26 | * Must be 'rss20' |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $format; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * search |
||
| 34 | * |
||
| 35 | * Must be '1' |
||
| 36 | * |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | protected $search; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get baseUrl |
||
| 43 | * |
||
| 44 | * @return string Value of the base url to this api |
||
| 45 | */ |
||
| 46 | 8 | public function getBaseUrl() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * Get keyword |
||
| 53 | * |
||
| 54 | * @return string Attribute being used as the search keyword |
||
| 55 | */ |
||
| 56 | 4 | public function getKeyword() |
|
| 60 | |||
| 61 | 18 | public function defaultAttributes() |
|
| 68 | |||
| 69 | 4 | public function requiredAttributes() |
|
| 76 | } |
||
| 77 |