1 | <?php |
||
21 | class Offers extends AbstractApi |
||
22 | { |
||
23 | /** |
||
24 | * @param $parameters |
||
25 | * |
||
26 | * @return mixed |
||
27 | */ |
||
28 | public function addLinkCreative($parameters) |
||
32 | |||
33 | /** |
||
34 | * @param $parameters |
||
35 | * |
||
36 | * @return mixed |
||
37 | */ |
||
38 | public function applyForOffer($parameters) |
||
42 | |||
43 | /** |
||
44 | * @param $parameters |
||
45 | * |
||
46 | * @return mixed |
||
47 | */ |
||
48 | public function creativeFeed($parameters) |
||
52 | |||
53 | /** |
||
54 | * @param $parameters |
||
55 | * |
||
56 | * @return mixed |
||
57 | */ |
||
58 | public function getCampaign($parameters) |
||
62 | |||
63 | /** |
||
64 | * @param $parameters |
||
65 | * |
||
66 | * @return mixed |
||
67 | */ |
||
68 | public function getCreativeCode($parameters) |
||
72 | |||
73 | /** |
||
74 | * @return mixed |
||
75 | */ |
||
76 | public function getCreativeFeeds() |
||
80 | |||
81 | /** |
||
82 | * @return mixed |
||
83 | */ |
||
84 | public function getCreativeTypes() |
||
88 | |||
89 | /** |
||
90 | * @return mixed |
||
91 | */ |
||
92 | public function getFeaturedOffer() |
||
96 | |||
97 | /** |
||
98 | * @return mixed |
||
99 | */ |
||
100 | public function getMediaTypeCategories() |
||
104 | |||
105 | /** |
||
106 | * @return mixed |
||
107 | */ |
||
108 | public function getOfferStatuses() |
||
112 | |||
113 | /** |
||
114 | * @return mixed |
||
115 | */ |
||
116 | public function getPixelTokens() |
||
120 | |||
121 | /** |
||
122 | * @return mixed |
||
123 | */ |
||
124 | public function getSuppressionList() |
||
128 | |||
129 | /** |
||
130 | * @return mixed |
||
131 | */ |
||
132 | public function getTags() |
||
136 | |||
137 | /** |
||
138 | * @return mixed |
||
139 | */ |
||
140 | public function getVerticalCategories() |
||
144 | |||
145 | /** |
||
146 | * @return mixed |
||
147 | */ |
||
148 | public function getVerticals() |
||
152 | |||
153 | /** |
||
154 | * @param $parameters |
||
155 | * |
||
156 | * @return mixed |
||
157 | */ |
||
158 | public function getSubAffiliates($parameters) |
||
162 | |||
163 | /** |
||
164 | * @param $parameters |
||
165 | * |
||
166 | * @return mixed |
||
167 | */ |
||
168 | public function offerFeed($parameters) |
||
172 | |||
173 | /** |
||
174 | * @param $parameters |
||
175 | * |
||
176 | * @return mixed |
||
177 | */ |
||
178 | public function sendCreativePack($parameters) |
||
182 | |||
183 | /** |
||
184 | * @param $parameters |
||
185 | * |
||
186 | * @return mixed |
||
187 | */ |
||
188 | public function setPixel($parameters) |
||
192 | |||
193 | /** |
||
194 | * @param $parameters |
||
195 | * |
||
196 | * @return mixed |
||
197 | */ |
||
198 | public function setPostbackUrl($parameters) |
||
202 | |||
203 | /** |
||
204 | * @param $parameters |
||
205 | * |
||
206 | * @return mixed |
||
207 | */ |
||
208 | public function setTestLink($parameters) |
||
212 | } |
||
213 |
If you implement
__call
and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.This is often the case, when
__call
is implemented by a parent class and only the child class knows which methods exist: