1 | <?php |
||
8 | class DigitalPodcast extends AbstractVendor implements VendorInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | const APP_ID = "podcastsearchdemo"; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | const SEARCH_URL = "http://api.digitalpodcast.com/v2r/search"; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | const FORMAT = "rss"; |
||
24 | |||
25 | /** |
||
26 | * @var int |
||
27 | */ |
||
28 | private $limit = 15; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | private $defaultQuery = null; |
||
34 | |||
35 | /** |
||
36 | * DigitalPodcast constructor. |
||
37 | */ |
||
38 | public function __construct() |
||
42 | |||
43 | /** |
||
44 | * @return int |
||
45 | */ |
||
46 | public function getLimit() |
||
50 | |||
51 | /** |
||
52 | * @param int $limit |
||
53 | */ |
||
54 | public function setLimit($limit) |
||
59 | |||
60 | /** |
||
61 | * @return void |
||
62 | */ |
||
63 | public function setDefaultQuery() |
||
71 | |||
72 | /** |
||
73 | * @param string $value |
||
74 | * @return string |
||
75 | */ |
||
76 | public function generateUrl($value) |
||
83 | |||
84 | /** |
||
85 | * @param array $response |
||
86 | * @return array |
||
87 | */ |
||
88 | public function build(array $response) |
||
105 | } |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.