Zend_Service_Yahoo.xml 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. <sect1 id="zend.service.yahoo">
  2. <title>Zend_Service_Yahoo</title>
  3. <sect2 id="zend.service.yahoo.introduction">
  4. <title>Wprowadzenie</title>
  5. <para>
  6. <code>Zend_Service_Yahoo</code> jest prostym API do użycia z wieloma
  7. Yahoo! REST API. <code>Zend_Service_Yahoo</code> pozwala ci na
  8. wyszukiwanie w sieci za pomocą Yahoo! Web search, Yahoo! News,
  9. Yahoo! Local, Yahoo! Images. Aby użyć Yahoo! REST API, musisz
  10. posiadać Yahoo! Application ID. Aby otrzymać Application ID, proszę
  11. wypełnij i wyślij <ulink
  12. url="http://developer.yahoo.com/wsregapp/">formularz
  13. rejestracji aplikacji</ulink>.
  14. </para>
  15. </sect2>
  16. <sect2 id="zend.service.yahoo.websearch">
  17. <title>Wyszukiwanie w sieci Web z Yahoo!</title>
  18. <para>
  19. <code>Zend_Service_Yahoo</code> pozwala przeszukiwać sieć poprzez Yahoo! używając
  20. metody <code>webSearch()</code>, która akceptuje treść zapytania w pierwszym
  21. parametrze oraz jako opcjonalny drugi parametr tablicę opcji wyszukiwania.
  22. Pełne informacje i listę opcji możesz znaleźć w
  23. <ulink url="http://developer.yahoo.com/search/web/V1/webSearch.html">dokumentacji
  24. Yahoo! Web Search</ulink>. Metoda <code>webSearch()</code> zwraca obiekt
  25. <code>Zend_Service_Yahoo_WebResultSet</code>.
  26. </para>
  27. <example id="zend.service.yahoo.websearch.example-1">
  28. <title>Wyszukiwanie w sieci Web z Yahoo!</title>
  29. <programlisting><![CDATA[
  30. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  31. $results = $yahoo->webSearch('PHP');
  32. foreach ($results as $result) {
  33. echo $result->Title .'<br />';
  34. }
  35. ]]>
  36. </programlisting>
  37. </example>
  38. </sect2>
  39. <sect2 id="zend.service.yahoo.imagesearch">
  40. <title>Wyszukiwanie obrazków z Yahoo!</title>
  41. <para>
  42. Możesz szukać obrazków poprzez Yahoo używając metody <code>imageSearch()</code>
  43. klasy <code>Zend_Service_Yahoo</code>. Ta metoda akceptuje treść zapytania w
  44. pierwszym parametrze oraz jako opcjonalny drugi parametr tablicę opcji
  45. wyszukiwania, tak jak metoda
  46. <link linkend="zend.service.yahoo.websearch"><code>webSearch()</code></link>.
  47. Pełne informacje i listę opcji możesz znaleźć w
  48. <ulink url="http://developer.yahoo.com/search/image/V1/imageSearch.html">dokumentacji
  49. Yahoo! Image Search</ulink>.
  50. </para>
  51. <example id="zend.service.yahoo.imagesearch.example-1">
  52. <title>Wyszukiwanie obrazków z Yahoo!</title>
  53. <programlisting><![CDATA[
  54. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  55. $results = $yahoo->imageSearch('PHP');
  56. foreach ($results as $result) {
  57. echo $result->Title .'<br />';
  58. }
  59. ]]>
  60. </programlisting>
  61. </example>
  62. </sect2>
  63. <sect2 id="zend.service.yahoo.videosearch">
  64. <title>Wyszukiwanie filmów video za pomocą Yahoo!</title>
  65. <para>
  66. Możesz wyszukiwać filmów video w Yahoo używając metody <code>videoSearch()</code>
  67. klasy <code>Zend_Service_Yahoo</code>. Aby uzyskać pełne informacje i listę
  68. opcji zobacz
  69. <ulink url="http://developer.yahoo.com/search/video/V1/videoSearch.html">dokumentację Yahoo! Video Search</ulink>.
  70. </para>
  71. <example id="zend.service.yahoo.videosearch.example-1">
  72. <title>Wyszukiwanie filmów video za pomocą Yahoo!</title>
  73. <programlisting><![CDATA[
  74. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  75. $results = $yahoo->videoSearch('PHP');
  76. foreach ($results as $result) {
  77. echo $result->Title .'<br />';
  78. }
  79. ]]>
  80. </programlisting>
  81. </example>
  82. </sect2>
  83. <sect2 id="zend.service.yahoo.localsearch">
  84. <title>Wyszukiwanie lokalnych firm i usług za pomocą Yahoo!</title>
  85. <para>
  86. Możesz szukać lokalnych firm i usług za pomocą Yahoo! używając metody <code>localSearch()</code>.
  87. Aby dowiedzięc sę więcej, sprawdź
  88. <ulink url="http://developer.yahoo.com/search/local/V1/localSearch.html">dokumentację Yahoo! Local Search</ulink>.
  89. </para>
  90. <example id="zend.service.yahoo.localsearch.example-1">
  91. <title>Wyszukiwanie lokalnych firm i usług za pomocą Yahoo!</title>
  92. <programlisting><![CDATA[
  93. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  94. $results = $yahoo->localSearch('Apple Computers', array('zip' => '95014'));
  95. foreach ($results as $result) {
  96. echo $result->Title .'<br />';
  97. }
  98. ]]>
  99. </programlisting>
  100. </example>
  101. </sect2>
  102. <sect2 id="zend.service.yahoo.newssearch">
  103. <title>Wyszukiwanie Yahoo! News</title>
  104. <para>
  105. Wyszukiwanie Yahoo! News jest proste; po prostu użyj metody <code>newsSearch()</code> method,
  106. tak jak w poniższym przykładzie. Aby dowiedzięc sę więcej, sprawdź
  107. <ulink url="http://developer.yahoo.com/search/news/V1/newsSearch.html">dokumentację Yahoo! News Search</ulink>.
  108. </para>
  109. <example id="zend.service.yahoo.newssearch.example-1">
  110. <title>Wyszukiwanie Yahoo! News</title>
  111. <programlisting><![CDATA[
  112. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  113. $results = $yahoo->newsSearch('PHP');
  114. foreach ($results as $result) {
  115. echo $result->Title .'<br />';
  116. }
  117. ]]>
  118. </programlisting>
  119. </example>
  120. </sect2>
  121. <sect2 id="zend.service.yahoo.inlinkdatasearch">
  122. <title>Wyszukiwanie Yahoo! Site Explorer Inbound Links</title>
  123. <para>
  124. Wyszukiwanie w Yahoo! Site Explorer Inbound Links jest proste;
  125. użyj po prostu metody <code>inlinkDataSearch()</code>
  126. tak jak w poniższym przykładzie. Aby dowiedzięc sę więcej, sprawdź
  127. <ulink url="http://developer.yahoo.com/search/siteexplorer/V1/inlinkData.html">dokumentację
  128. Yahoo! Site Explorer Inbound Links</ulink>.
  129. </para>
  130. <example id="zend.service.yahoo.inlinkdatasearch.example-1">
  131. <title>Wyszukiwanie Yahoo! Site Explorer Inbound Links</title>
  132. <programlisting><![CDATA[
  133. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  134. $results = $yahoo->inlinkDataSearch('http://framework.zend.com/');
  135. foreach ($results as $result) {
  136. echo $result->Title .'<br />';
  137. }
  138. ]]>
  139. </programlisting>
  140. </example>
  141. </sect2>
  142. <sect2 id="zend.service.yahoo.pagedatasearch">
  143. <title>Wyszukiwanie Yahoo! Site Explorer PageData</title>
  144. <para>
  145. Wyszukiwanie w Yahoo! Site Explorer's PageData jest proste;
  146. użyj po prostu metody <code>pageDataSearch()</code>
  147. tak jak w poniższym przykładzie. Aby dowiedzięc sę więcej, sprawdź
  148. <ulink url="http://developer.yahoo.com/search/siteexplorer/V1/pageData.html">dokumentację
  149. Yahoo! Site Explorer PageData</ulink>.
  150. </para>
  151. <example id="zend.service.yahoo.pagedatasearch.example-1">
  152. <title>Wyszukiwanie Yahoo! Site Explorer PageData</title>
  153. <programlisting><![CDATA[
  154. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  155. $results = $yahoo->pageDataSearch('http://framework.zend.com/');
  156. foreach ($results as $result) {
  157. echo $result->Title .'<br />';
  158. }
  159. ]]>
  160. </programlisting>
  161. </example>
  162. </sect2>
  163. <sect2 id="zend.service.yahoo.classes">
  164. <title>Klasy Zend_Service_Yahoo</title>
  165. <para>
  166. Poniższe klasy są zwracane przez różne wyszukiwania Yahoo!. Każdy typ
  167. wyszukiwania zwraca zestaw wyników o specyficznym typie, który można łatwo
  168. iterować poprzez poszczególne obiekty wyników. Wszystkie klasy zestawów
  169. wyników implementują interfejs <code>SeekableIterator</code>, pozwalając
  170. na łatwą iterację i szukanie specyficznego wyniku.
  171. <itemizedlist>
  172. <listitem><para><link linkend="zend.service.yahoo.classes.resultset"><code>Zend_Service_Yahoo_ResultSet</code></link></para></listitem>
  173. <listitem><para><link linkend="zend.service.yahoo.classes.webresultset"><code>Zend_Service_Yahoo_WebResultSet</code></link></para></listitem>
  174. <listitem><para><link linkend="zend.service.yahoo.classes.imageresultset"><code>Zend_Service_Yahoo_ImageResultSet</code></link></para></listitem>
  175. <listitem><para><link linkend="zend.service.yahoo.classes.localresultset"><code>Zend_Service_Yahoo_LocalResultSet</code></link></para></listitem>
  176. <listitem><para><link linkend="zend.service.yahoo.classes.newsresultset"><code>Zend_Service_Yahoo_NewsResultSet</code></link></para></listitem>
  177. <listitem><para><link linkend="zend.service.yahoo.classes.newsresultset"><code>Zend_Service_Yahoo_NewsResultSet</code></link></para></listitem>
  178. <listitem><para><link linkend="zend.service.yahoo.classes.inlinkdataresultset"><code>Zend_Service_Yahoo_InlinkDataResultSet</code></link></para></listitem>
  179. <listitem><para><link linkend="zend.service.yahoo.classes.result"><code>Zend_Service_Yahoo_Result</code></link></para></listitem>
  180. <listitem><para><link linkend="zend.service.yahoo.classes.webresult"><code>Zend_Service_Yahoo_WebResult</code></link></para></listitem>
  181. <listitem><para><link linkend="zend.service.yahoo.classes.imageresult"><code>Zend_Service_Yahoo_ImageResult</code></link></para></listitem>
  182. <listitem><para><link linkend="zend.service.yahoo.classes.localresult"><code>Zend_Service_Yahoo_LocalResult</code></link></para></listitem>
  183. <listitem><para><link linkend="zend.service.yahoo.classes.newsresult"><code>Zend_Service_Yahoo_NewsResult</code></link></para></listitem>
  184. <listitem><para><link linkend="zend.service.yahoo.classes.inlinkdataresult"><code>Zend_Service_Yahoo_InlinkDataResult</code></link></para></listitem>
  185. <listitem><para><link linkend="zend.service.yahoo.classes.pagedataresult"><code>Zend_Service_Yahoo_PageDataResult</code></link></para></listitem>
  186. <listitem><para><link linkend="zend.service.yahoo.classes.image"><code>Zend_Service_Yahoo_Image</code></link></para></listitem>
  187. </itemizedlist>
  188. </para>
  189. <sect3 id="zend.service.yahoo.classes.resultset">
  190. <title>Zend_Service_Yahoo_ResultSet</title>
  191. <para>
  192. Każdy ze specyficznych zestawów wyników wyszukiwania rozszerza tę
  193. bazową klasę.
  194. </para>
  195. <para>
  196. Każdy ze specyficznych zestawów wyników wyszukiwania zwraca
  197. obiekty wyniku
  198. <link linkend="zend.service.yahoo.classes.result">Zend_Service_Yahoo_Result</link>.
  199. </para>
  200. <sect4 id="zend.service.yahoo.classes.resultset.totalResults">
  201. <title>Zend_Service_Yahoo_ResultSet::totalResults()</title>
  202. <para>
  203. <methodsynopsis>
  204. <type>int</type>
  205. <methodname>totalResults</methodname>
  206. <void />
  207. </methodsynopsis>
  208. </para>
  209. <para>
  210. Zwraca ilość zwróconych wyników wyszukiwania.
  211. </para>
  212. </sect4>
  213. <sect4 id="zend.service.yahoo.classes.resultset.properties">
  214. <title>Właściwości</title>
  215. <table id="zend.service.yahoo.classes.resultset.properties.table-1">
  216. <title>Zend_Service_Yahoo_ResultSet</title>
  217. <tgroup cols="3">
  218. <thead>
  219. <row>
  220. <entry>Nazwa</entry>
  221. <entry>Typ</entry>
  222. <entry>Opis</entry>
  223. </row>
  224. </thead>
  225. <tbody>
  226. <row>
  227. <entry>totalResultsAvailable</entry>
  228. <entry>int</entry>
  229. <entry>
  230. Całkowita ilość znalezionych wyników.
  231. </entry>
  232. </row>
  233. <row>
  234. <entry>totalResultsReturned</entry>
  235. <entry>int</entry>
  236. <entry>Ilość wyników w obecnym zestawie wyników</entry>
  237. </row>
  238. <row>
  239. <entry>firstResultPosition</entry>
  240. <entry>int</entry>
  241. <entry>Pozycja pierwszego wyniku w tym zestawie,
  242. relatywna do całkowitej ilości wyników.</entry>
  243. </row>
  244. </tbody>
  245. </tgroup>
  246. </table>
  247. <para>
  248. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  249. </para>
  250. </sect4>
  251. </sect3>
  252. <sect3 id="zend.service.yahoo.classes.webresultset">
  253. <title>Zend_Service_Yahoo_WebResultSet</title>
  254. <para>
  255. <code>Zend_Service_Yahoo_WebResultSet</code> reprezentuje zestaw wyników wyszukiwania w Yahoo! Web Search.
  256. </para>
  257. <note>
  258. <para>
  259. <code>Zend_Service_Yahoo_WebResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  260. </para>
  261. </note>
  262. <para>
  263. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  264. </para>
  265. </sect3>
  266. <sect3 id="zend.service.yahoo.classes.imageresultset">
  267. <title>Zend_Service_Yahoo_ImageResultSet</title>
  268. <para>
  269. <code>Zend_Service_Yahoo_ImageResultSet</code> reprezentuje zestaw wyników wyszukiwania w Yahoo! Image Search.
  270. </para>
  271. <note>
  272. <para>
  273. <code>Zend_Service_Yahoo_ImageResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  274. </para>
  275. </note>
  276. <para>
  277. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  278. </para>
  279. </sect3>
  280. <sect3 id="zend.service.yahoo.classes.localresultset">
  281. <title>Zend_Service_Yahoo_LocalResultSet</title>
  282. <para>
  283. <code>Zend_Service_Yahoo_LocalResultSet</code> reprezentuje zestaw wyników wyszukiwania w Yahoo! Local Search.
  284. </para>
  285. <table id="zend.service.yahoo.classes.localresultset.table-1">
  286. <title>Właściwości Zend_Service_Yahoo_LocalResultSet</title>
  287. <tgroup cols="3">
  288. <thead>
  289. <row>
  290. <entry>Nazwa</entry>
  291. <entry>Typ</entry>
  292. <entry>Opis</entry>
  293. </row>
  294. </thead>
  295. <tbody>
  296. <row>
  297. <entry>resultSetMapURL</entry>
  298. <entry>string</entry>
  299. <entry>Adres URL strony zawierającej graficzną mapę
  300. z wszystkimi zwróconymi wynikami naniesionymi na niej.</entry>
  301. </row>
  302. </tbody>
  303. </tgroup>
  304. </table>
  305. <note>
  306. <para>
  307. <code>Zend_Service_Yahoo_LocalResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  308. </para>
  309. </note>
  310. <para>
  311. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  312. </para>
  313. </sect3>
  314. <sect3 id="zend.service.yahoo.classes.newsresultset">
  315. <title>Zend_Service_Yahoo_NewsResultSet</title>
  316. <para>
  317. <code>Zend_Service_Yahoo_NewsResultSet</code> reprezentuje zestaw wyników wyszukiwania z Yahoo! News Search.
  318. </para>
  319. <note>
  320. <para>
  321. <code>Zend_Service_Yahoo_NewsResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  322. </para>
  323. </note>
  324. <para>
  325. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  326. </para>
  327. </sect3>
  328. <sect3 id="zend.service.yahoo.classes.inlinkdataresultset">
  329. <title>Zend_Service_Yahoo_InlinkDataResultSet</title>
  330. <para>
  331. <code>Zend_Service_Yahoo_InlinkDataResultSet</code> representuje zestaw wyników wyszukiwania z Yahoo! Inbound Link Search.
  332. </para>
  333. <note>
  334. <para>
  335. <code>Zend_Service_Yahoo_InlinkDataResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  336. </para>
  337. </note>
  338. <para>
  339. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  340. </para>
  341. </sect3>
  342. <sect3 id="zend.service.yahoo.classes.pagedataresultset">
  343. <title>Zend_Service_Yahoo_PageDataResultSet</title>
  344. <para>
  345. <code>Zend_Service_Yahoo_PageDataResultSet</code> reprezentuje zestaw wyników wyszukiwania z Yahoo! PageData Search.
  346. </para>
  347. <note>
  348. <para>
  349. <code>Zend_Service_Yahoo_PageDataResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  350. </para>
  351. </note>
  352. <para>
  353. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  354. </para>
  355. </sect3>
  356. <sect3 id="zend.service.yahoo.classes.result">
  357. <title>Zend_Service_Yahoo_Result</title>
  358. <para>
  359. Każdy ze specyficznych wyników jest rozszerzany z tej bazowej klasy.
  360. </para>
  361. <sect4 id="zend.service.yahoo.classes.result.properties">
  362. <title>Właściwości</title>
  363. <table id="zend.service.yahoo.classes.result.properties.table-1">
  364. <title>Właściwości Zend_Service_Yahoo_Result</title>
  365. <tgroup cols="3">
  366. <thead>
  367. <row>
  368. <entry>Nazwa</entry>
  369. <entry>Typ</entry>
  370. <entry>Opis</entry>
  371. </row>
  372. </thead>
  373. <tbody>
  374. <row>
  375. <entry>Title</entry>
  376. <entry>string</entry>
  377. <entry>Tytuł elementu wyniku</entry>
  378. </row>
  379. <row>
  380. <entry>Url</entry>
  381. <entry>string</entry>
  382. <entry>Adres URL elementu wyniku</entry>
  383. </row>
  384. <row>
  385. <entry>ClickUrl</entry>
  386. <entry>string</entry>
  387. <entry>Adres URL do linkowania do elementu wyniku.</entry>
  388. </row>
  389. </tbody>
  390. </tgroup>
  391. </table>
  392. <para>
  393. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  394. </para>
  395. </sect4>
  396. </sect3>
  397. <sect3 id="zend.service.yahoo.classes.webresult">
  398. <title>Zend_Service_Yahoo_WebResult</title>
  399. <para>
  400. Każdy wynik wyszukiwania w Web Search jest zwracany jako obiekt <code>Zend_Service_Yahoo_WebResult</code>.
  401. </para>
  402. <sect4 id="zend.service.yahoo.classes.webresult.properties">
  403. <title>Właściwości</title>
  404. <table id="zend.service.yahoo.classes.webresult.properties.table-1">
  405. <title>Właściwości Zend_Service_Yahoo_WebResult</title>
  406. <tgroup cols="3">
  407. <thead>
  408. <row>
  409. <entry>Nazwa</entry>
  410. <entry>Typ</entry>
  411. <entry>Opis</entry>
  412. </row>
  413. </thead>
  414. <tbody>
  415. <row>
  416. <entry>Summary</entry>
  417. <entry>string</entry>
  418. <entry>Podsumowanie wyniku</entry>
  419. </row>
  420. <row>
  421. <entry>MimeType</entry>
  422. <entry>string</entry>
  423. <entry>Typ zawartości wyniku</entry>
  424. </row>
  425. <row>
  426. <entry>ModificationDate</entry>
  427. <entry>string</entry>
  428. <entry>Czas ostatniej modyfikacji wyniku w formacie UNIX timestamp.</entry>
  429. </row>
  430. <row>
  431. <entry>CacheUrl</entry>
  432. <entry>string</entry>
  433. <entry>Adres bufora Yahoo! dla wyniku, jeśli istnieje.</entry>
  434. </row>
  435. <row>
  436. <entry>CacheSize</entry>
  437. <entry>int</entry>
  438. <entry>Rozmiar buforu wyniku</entry>
  439. </row>
  440. </tbody>
  441. </tgroup>
  442. </table>
  443. <para>
  444. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  445. </para>
  446. </sect4>
  447. </sect3>
  448. <sect3 id="zend.service.yahoo.classes.imageresult">
  449. <title>Zend_Service_Yahoo_ImageResult</title>
  450. <para>
  451. Każdy wynik wyszukiwania w Image Search jest zwracany jako obiekt <code>Zend_Service_Yahoo_ImageResult</code>.
  452. </para>
  453. <sect4 id="zend.service.yahoo.classes.imageresult.properties">
  454. <title>Właściwości</title>
  455. <table id="zend.service.yahoo.classes.imageresult.properties.table-1">
  456. <title>Właściwości Zend_Service_Yahoo_ImageResult</title>
  457. <tgroup cols="3">
  458. <thead>
  459. <row>
  460. <entry>Nazwa</entry>
  461. <entry>Typ</entry>
  462. <entry>Opis</entry>
  463. </row>
  464. </thead>
  465. <tbody>
  466. <row>
  467. <entry>Summary</entry>
  468. <entry>string</entry>
  469. <entry>Podsumowanie wyniku</entry>
  470. </row>
  471. <row>
  472. <entry>RefererUrl</entry>
  473. <entry>string</entry>
  474. <entry>Adres URL strony, która zawiera dany obrazek</entry>
  475. </row>
  476. <row>
  477. <entry>FileSize</entry>
  478. <entry>int</entry>
  479. <entry>Rozmiar pliku obrazka w bajtach</entry>
  480. </row>
  481. <row>
  482. <entry>FileFormat</entry>
  483. <entry>string</entry>
  484. <entry>Format obrazka (bmp, gif, jpeg, png, itd.)</entry>
  485. </row>
  486. <row>
  487. <entry>Height</entry>
  488. <entry>int</entry>
  489. <entry>Wysokość obrazka</entry>
  490. </row>
  491. <row>
  492. <entry>Width</entry>
  493. <entry>int</entry>
  494. <entry>Szerokość obrazka</entry>
  495. </row>
  496. <row>
  497. <entry>Thumbnail</entry>
  498. <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
  499. <entry>Miniatura obrazka</entry>
  500. </row>
  501. </tbody>
  502. </tgroup>
  503. </table>
  504. <para>
  505. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  506. </para>
  507. </sect4>
  508. </sect3>
  509. <sect3 id="zend.service.yahoo.classes.localresult">
  510. <title>Zend_Service_Yahoo_LocalResult</title>
  511. <para>
  512. Każdy wynik wyszukiwania w Local Search jest zwracany jako obiekt <code>Zend_Service_Yahoo_LocalResult</code>.
  513. </para>
  514. <sect4 id="zend.service.yahoo.classes.localresult.properties">
  515. <title>Właściwości</title>
  516. <table id="zend.service.yahoo.classes.localresult.properties.table-1">
  517. <title>Właściwości Zend_Service_Yahoo_LocalResult</title>
  518. <tgroup cols="3">
  519. <thead>
  520. <row>
  521. <entry>Nazwa</entry>
  522. <entry>Typ</entry>
  523. <entry>Opis</entry>
  524. </row>
  525. </thead>
  526. <tbody>
  527. <row>
  528. <entry>Address</entry>
  529. <entry>string</entry>
  530. <entry>Adres wyniku wyszukiwania</entry>
  531. </row>
  532. <row>
  533. <entry>City</entry>
  534. <entry>string</entry>
  535. <entry>Miasto w którym znajduje się wynik wyszukiwania</entry>
  536. </row>
  537. <row>
  538. <entry>State</entry>
  539. <entry>string</entry>
  540. <entry>Stan w którym znajduje się wynik wyszukiwania</entry>
  541. </row>
  542. <row>
  543. <entry>Phone</entry>
  544. <entry>string</entry>
  545. <entry>Numer telefonu dla wyniku wyszukiwania</entry>
  546. </row>
  547. <row>
  548. <entry>Rating</entry>
  549. <entry>int</entry>
  550. <entry>Ocena przesłana przez użytkownika dla wyniku wyszukiwania</entry>
  551. </row>
  552. <row>
  553. <entry>Distance</entry>
  554. <entry>float</entry>
  555. <entry>Dystans do wyniku wyszukiwania z twojej określonej lokacji</entry>
  556. </row>
  557. <row>
  558. <entry>MapUrl</entry>
  559. <entry>string</entry>
  560. <entry>Adres URL mapy wyników wyszukiwania</entry>
  561. </row>
  562. <row>
  563. <entry>BusinessUrl</entry>
  564. <entry>string</entry>
  565. <entry>Adres URL strony firmy, jeśli jest znana</entry>
  566. </row>
  567. <row>
  568. <entry>BusinessClickUrl</entry>
  569. <entry>string</entry>
  570. <entry>Adres URL do linkowania do strony firmy, jeśli jest znana</entry>
  571. </row>
  572. </tbody>
  573. </tgroup>
  574. </table>
  575. <para>
  576. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  577. </para>
  578. </sect4>
  579. </sect3>
  580. <sect3 id="zend.service.yahoo.classes.newsresult">
  581. <title>Zend_Service_Yahoo_NewsResult</title>
  582. <para>
  583. Każdy wynik wyszukiwania w News Search jest zwracany jako obiekt <code>Zend_Service_Yahoo_NewsResult</code>.
  584. </para>
  585. <sect4 id="zend.service.yahoo.classes.newsresult.properties">
  586. <title>Właściwości</title>
  587. <table id="zend.service.yahoo.classes.newsresult.properties.table-1">
  588. <title>Właściwości Zend_Service_Yahoo_NewsResult</title>
  589. <tgroup cols="3">
  590. <thead>
  591. <row>
  592. <entry>Nazwa</entry>
  593. <entry>Typ</entry>
  594. <entry>Opis</entry>
  595. </row>
  596. </thead>
  597. <tbody>
  598. <row>
  599. <entry>Summary</entry>
  600. <entry>string</entry>
  601. <entry>Podsumowanie wyniku</entry>
  602. </row>
  603. <row>
  604. <entry>NewsSource</entry>
  605. <entry>string</entry>
  606. <entry>Firma, z której pochodzi ten artykuł</entry>
  607. </row>
  608. <row>
  609. <entry>NewsSourceUrl</entry>
  610. <entry>string</entry>
  611. <entry>Adres URL firmy z której pochodzi ten artykuł</entry>
  612. </row>
  613. <row>
  614. <entry>Language</entry>
  615. <entry>string</entry>
  616. <entry>Język w jakim napisany jest artykuł</entry>
  617. </row>
  618. <row>
  619. <entry>PublishDate</entry>
  620. <entry>string</entry>
  621. <entry>Data publikacji artykułu w formacie UNIX timestamp</entry>
  622. </row>
  623. <row>
  624. <entry>ModificationDate</entry>
  625. <entry>string</entry>
  626. <entry>Data ostatniej modyfikacji artykułu w formacie UNIX timestamp</entry>
  627. </row>
  628. <row>
  629. <entry>Thumbnail</entry>
  630. <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
  631. <entry>Miniatura obrazka dla artykułu, jeśli istnieje</entry>
  632. </row>
  633. </tbody>
  634. </tgroup>
  635. </table>
  636. <para>
  637. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  638. </para>
  639. </sect4>
  640. </sect3>
  641. <sect3 id="zend.service.yahoo.classes.image">
  642. <title>Zend_Service_Yahoo_Image</title>
  643. <para>
  644. Wszystkie obrazki zwrocone przez Yahoo! Image Search lub Yahoo! News Search
  645. są reprezentowane przez obiekty <code>Zend_Service_Yahoo_Image</code>
  646. </para>
  647. <sect4 id="zend.service.yahoo.classes.image.properties">
  648. <title>Właściwości</title>
  649. <table id="zend.service.yahoo.classes.image.properties.table-1">
  650. <title>Właściwości Zend_Service_Yahoo_Image</title>
  651. <tgroup cols="3">
  652. <thead>
  653. <row>
  654. <entry>Nazwa</entry>
  655. <entry>Typ</entry>
  656. <entry>Opis</entry>
  657. </row>
  658. </thead>
  659. <tbody>
  660. <row>
  661. <entry>Url</entry>
  662. <entry>string</entry>
  663. <entry>Adres URL obrazka</entry>
  664. </row>
  665. <row>
  666. <entry>Width</entry>
  667. <entry>int</entry>
  668. <entry>Szerokość obrazka</entry>
  669. </row>
  670. <row>
  671. <entry>Height</entry>
  672. <entry>int</entry>
  673. <entry>Wysokość obrazka</entry>
  674. </row>
  675. </tbody>
  676. </tgroup>
  677. </table>
  678. <para>
  679. <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
  680. </para>
  681. </sect4>
  682. </sect3>
  683. </sect2>
  684. </sect1>