| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684 |
- <sect1 id="zend.service.yahoo">
- <title>Zend_Service_Yahoo</title>
- <sect2 id="zend.service.yahoo.introduction">
- <title>Wprowadzenie</title>
- <para>
- <code>Zend_Service_Yahoo</code> jest prostym API do użycia z wieloma
- Yahoo! REST API. <code>Zend_Service_Yahoo</code> pozwala ci na
- wyszukiwanie w sieci za pomocą Yahoo! Web search, Yahoo! News,
- Yahoo! Local, Yahoo! Images. Aby użyć Yahoo! REST API, musisz
- posiadać Yahoo! Application ID. Aby otrzymać Application ID, proszę
- wypełnij i wyślij <ulink
- url="http://developer.yahoo.com/wsregapp/">formularz
- rejestracji aplikacji</ulink>.
- </para>
- </sect2>
- <sect2 id="zend.service.yahoo.websearch">
- <title>Wyszukiwanie w sieci Web z Yahoo!</title>
- <para>
- <code>Zend_Service_Yahoo</code> pozwala przeszukiwać sieć poprzez Yahoo! używając
- metody <code>webSearch()</code>, która akceptuje treść zapytania w pierwszym
- parametrze oraz jako opcjonalny drugi parametr tablicę opcji wyszukiwania.
- Pełne informacje i listę opcji możesz znaleźć w
- <ulink url="http://developer.yahoo.com/search/web/V1/webSearch.html">dokumentacji
- Yahoo! Web Search</ulink>. Metoda <code>webSearch()</code> zwraca obiekt
- <code>Zend_Service_Yahoo_WebResultSet</code>.
- </para>
- <example id="zend.service.yahoo.websearch.example-1">
- <title>Wyszukiwanie w sieci Web z Yahoo!</title>
- <programlisting><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->webSearch('PHP');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]>
- </programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.imagesearch">
- <title>Wyszukiwanie obrazków z Yahoo!</title>
- <para>
- Możesz szukać obrazków poprzez Yahoo używając metody <code>imageSearch()</code>
- klasy <code>Zend_Service_Yahoo</code>. Ta metoda akceptuje treść zapytania w
- pierwszym parametrze oraz jako opcjonalny drugi parametr tablicę opcji
- wyszukiwania, tak jak metoda
- <link linkend="zend.service.yahoo.websearch"><code>webSearch()</code></link>.
- Pełne informacje i listę opcji możesz znaleźć w
- <ulink url="http://developer.yahoo.com/search/image/V1/imageSearch.html">dokumentacji
- Yahoo! Image Search</ulink>.
- </para>
- <example id="zend.service.yahoo.imagesearch.example-1">
- <title>Wyszukiwanie obrazków z Yahoo!</title>
- <programlisting><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->imageSearch('PHP');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]>
- </programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.videosearch">
- <title>Wyszukiwanie filmów video za pomocą Yahoo!</title>
- <para>
- Możesz wyszukiwać filmów video w Yahoo używając metody <code>videoSearch()</code>
- klasy <code>Zend_Service_Yahoo</code>. Aby uzyskać pełne informacje i listę
- opcji zobacz
- <ulink url="http://developer.yahoo.com/search/video/V1/videoSearch.html">dokumentację Yahoo! Video Search</ulink>.
- </para>
- <example id="zend.service.yahoo.videosearch.example-1">
- <title>Wyszukiwanie filmów video za pomocą Yahoo!</title>
- <programlisting><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->videoSearch('PHP');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]>
- </programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.localsearch">
- <title>Wyszukiwanie lokalnych firm i usług za pomocą Yahoo!</title>
- <para>
- Możesz szukać lokalnych firm i usług za pomocą Yahoo! używając metody <code>localSearch()</code>.
- Aby dowiedzięc sę więcej, sprawdź
- <ulink url="http://developer.yahoo.com/search/local/V1/localSearch.html">dokumentację Yahoo! Local Search</ulink>.
- </para>
- <example id="zend.service.yahoo.localsearch.example-1">
- <title>Wyszukiwanie lokalnych firm i usług za pomocą Yahoo!</title>
- <programlisting><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->localSearch('Apple Computers', array('zip' => '95014'));
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]>
- </programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.newssearch">
- <title>Wyszukiwanie Yahoo! News</title>
- <para>
- Wyszukiwanie Yahoo! News jest proste; po prostu użyj metody <code>newsSearch()</code> method,
- tak jak w poniższym przykładzie. Aby dowiedzięc sę więcej, sprawdź
- <ulink url="http://developer.yahoo.com/search/news/V1/newsSearch.html">dokumentację Yahoo! News Search</ulink>.
- </para>
- <example id="zend.service.yahoo.newssearch.example-1">
- <title>Wyszukiwanie Yahoo! News</title>
- <programlisting><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->newsSearch('PHP');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]>
- </programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.inlinkdatasearch">
- <title>Wyszukiwanie Yahoo! Site Explorer Inbound Links</title>
- <para>
- Wyszukiwanie w Yahoo! Site Explorer Inbound Links jest proste;
- użyj po prostu metody <code>inlinkDataSearch()</code>
- tak jak w poniższym przykładzie. Aby dowiedzięc sę więcej, sprawdź
- <ulink url="http://developer.yahoo.com/search/siteexplorer/V1/inlinkData.html">dokumentację
- Yahoo! Site Explorer Inbound Links</ulink>.
- </para>
- <example id="zend.service.yahoo.inlinkdatasearch.example-1">
- <title>Wyszukiwanie Yahoo! Site Explorer Inbound Links</title>
- <programlisting><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->inlinkDataSearch('http://framework.zend.com/');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]>
- </programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.pagedatasearch">
- <title>Wyszukiwanie Yahoo! Site Explorer PageData</title>
- <para>
- Wyszukiwanie w Yahoo! Site Explorer's PageData jest proste;
- użyj po prostu metody <code>pageDataSearch()</code>
- tak jak w poniższym przykładzie. Aby dowiedzięc sę więcej, sprawdź
- <ulink url="http://developer.yahoo.com/search/siteexplorer/V1/pageData.html">dokumentację
- Yahoo! Site Explorer PageData</ulink>.
- </para>
- <example id="zend.service.yahoo.pagedatasearch.example-1">
- <title>Wyszukiwanie Yahoo! Site Explorer PageData</title>
- <programlisting><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->pageDataSearch('http://framework.zend.com/');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]>
- </programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.classes">
- <title>Klasy Zend_Service_Yahoo</title>
- <para>
- Poniższe klasy są zwracane przez różne wyszukiwania Yahoo!. Każdy typ
- wyszukiwania zwraca zestaw wyników o specyficznym typie, który można łatwo
- iterować poprzez poszczególne obiekty wyników. Wszystkie klasy zestawów
- wyników implementują interfejs <code>SeekableIterator</code>, pozwalając
- na łatwą iterację i szukanie specyficznego wyniku.
- <itemizedlist>
- <listitem><para><link linkend="zend.service.yahoo.classes.resultset"><code>Zend_Service_Yahoo_ResultSet</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.webresultset"><code>Zend_Service_Yahoo_WebResultSet</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.imageresultset"><code>Zend_Service_Yahoo_ImageResultSet</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.localresultset"><code>Zend_Service_Yahoo_LocalResultSet</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.newsresultset"><code>Zend_Service_Yahoo_NewsResultSet</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.newsresultset"><code>Zend_Service_Yahoo_NewsResultSet</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.inlinkdataresultset"><code>Zend_Service_Yahoo_InlinkDataResultSet</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.result"><code>Zend_Service_Yahoo_Result</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.webresult"><code>Zend_Service_Yahoo_WebResult</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.imageresult"><code>Zend_Service_Yahoo_ImageResult</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.localresult"><code>Zend_Service_Yahoo_LocalResult</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.newsresult"><code>Zend_Service_Yahoo_NewsResult</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.inlinkdataresult"><code>Zend_Service_Yahoo_InlinkDataResult</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.pagedataresult"><code>Zend_Service_Yahoo_PageDataResult</code></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.image"><code>Zend_Service_Yahoo_Image</code></link></para></listitem>
- </itemizedlist>
- </para>
- <sect3 id="zend.service.yahoo.classes.resultset">
- <title>Zend_Service_Yahoo_ResultSet</title>
- <para>
- Każdy ze specyficznych zestawów wyników wyszukiwania rozszerza tę
- bazową klasę.
- </para>
- <para>
- Każdy ze specyficznych zestawów wyników wyszukiwania zwraca
- obiekty wyniku
- <link linkend="zend.service.yahoo.classes.result">Zend_Service_Yahoo_Result</link>.
- </para>
- <sect4 id="zend.service.yahoo.classes.resultset.totalResults">
- <title>Zend_Service_Yahoo_ResultSet::totalResults()</title>
- <para>
- <methodsynopsis>
- <type>int</type>
- <methodname>totalResults</methodname>
- <void />
- </methodsynopsis>
- </para>
- <para>
- Zwraca ilość zwróconych wyników wyszukiwania.
- </para>
- </sect4>
- <sect4 id="zend.service.yahoo.classes.resultset.properties">
- <title>Właściwości</title>
- <table id="zend.service.yahoo.classes.resultset.properties.table-1">
- <title>Zend_Service_Yahoo_ResultSet</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Nazwa</entry>
- <entry>Typ</entry>
- <entry>Opis</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>totalResultsAvailable</entry>
- <entry>int</entry>
- <entry>
- Całkowita ilość znalezionych wyników.
- </entry>
- </row>
- <row>
- <entry>totalResultsReturned</entry>
- <entry>int</entry>
- <entry>Ilość wyników w obecnym zestawie wyników</entry>
- </row>
- <row>
- <entry>firstResultPosition</entry>
- <entry>int</entry>
- <entry>Pozycja pierwszego wyniku w tym zestawie,
- relatywna do całkowitej ilości wyników.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.webresultset">
- <title>Zend_Service_Yahoo_WebResultSet</title>
- <para>
- <code>Zend_Service_Yahoo_WebResultSet</code> reprezentuje zestaw wyników wyszukiwania w Yahoo! Web Search.
- </para>
- <note>
- <para>
- <code>Zend_Service_Yahoo_WebResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.imageresultset">
- <title>Zend_Service_Yahoo_ImageResultSet</title>
- <para>
- <code>Zend_Service_Yahoo_ImageResultSet</code> reprezentuje zestaw wyników wyszukiwania w Yahoo! Image Search.
- </para>
- <note>
- <para>
- <code>Zend_Service_Yahoo_ImageResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.localresultset">
- <title>Zend_Service_Yahoo_LocalResultSet</title>
- <para>
- <code>Zend_Service_Yahoo_LocalResultSet</code> reprezentuje zestaw wyników wyszukiwania w Yahoo! Local Search.
- </para>
- <table id="zend.service.yahoo.classes.localresultset.table-1">
- <title>Właściwości Zend_Service_Yahoo_LocalResultSet</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Nazwa</entry>
- <entry>Typ</entry>
- <entry>Opis</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>resultSetMapURL</entry>
- <entry>string</entry>
- <entry>Adres URL strony zawierającej graficzną mapę
- z wszystkimi zwróconymi wynikami naniesionymi na niej.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <note>
- <para>
- <code>Zend_Service_Yahoo_LocalResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.newsresultset">
- <title>Zend_Service_Yahoo_NewsResultSet</title>
- <para>
- <code>Zend_Service_Yahoo_NewsResultSet</code> reprezentuje zestaw wyników wyszukiwania z Yahoo! News Search.
- </para>
- <note>
- <para>
- <code>Zend_Service_Yahoo_NewsResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.inlinkdataresultset">
- <title>Zend_Service_Yahoo_InlinkDataResultSet</title>
- <para>
- <code>Zend_Service_Yahoo_InlinkDataResultSet</code> representuje zestaw wyników wyszukiwania z Yahoo! Inbound Link Search.
- </para>
- <note>
- <para>
- <code>Zend_Service_Yahoo_InlinkDataResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.pagedataresultset">
- <title>Zend_Service_Yahoo_PageDataResultSet</title>
- <para>
- <code>Zend_Service_Yahoo_PageDataResultSet</code> reprezentuje zestaw wyników wyszukiwania z Yahoo! PageData Search.
- </para>
- <note>
- <para>
- <code>Zend_Service_Yahoo_PageDataResultSet</code> rozszerza klasę <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.result">
- <title>Zend_Service_Yahoo_Result</title>
- <para>
- Każdy ze specyficznych wyników jest rozszerzany z tej bazowej klasy.
- </para>
- <sect4 id="zend.service.yahoo.classes.result.properties">
- <title>Właściwości</title>
- <table id="zend.service.yahoo.classes.result.properties.table-1">
- <title>Właściwości Zend_Service_Yahoo_Result</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Nazwa</entry>
- <entry>Typ</entry>
- <entry>Opis</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Title</entry>
- <entry>string</entry>
- <entry>Tytuł elementu wyniku</entry>
- </row>
- <row>
- <entry>Url</entry>
- <entry>string</entry>
- <entry>Adres URL elementu wyniku</entry>
- </row>
- <row>
- <entry>ClickUrl</entry>
- <entry>string</entry>
- <entry>Adres URL do linkowania do elementu wyniku.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.webresult">
- <title>Zend_Service_Yahoo_WebResult</title>
- <para>
- Każdy wynik wyszukiwania w Web Search jest zwracany jako obiekt <code>Zend_Service_Yahoo_WebResult</code>.
- </para>
- <sect4 id="zend.service.yahoo.classes.webresult.properties">
- <title>Właściwości</title>
- <table id="zend.service.yahoo.classes.webresult.properties.table-1">
- <title>Właściwości Zend_Service_Yahoo_WebResult</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Nazwa</entry>
- <entry>Typ</entry>
- <entry>Opis</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Summary</entry>
- <entry>string</entry>
- <entry>Podsumowanie wyniku</entry>
- </row>
- <row>
- <entry>MimeType</entry>
- <entry>string</entry>
- <entry>Typ zawartości wyniku</entry>
- </row>
- <row>
- <entry>ModificationDate</entry>
- <entry>string</entry>
- <entry>Czas ostatniej modyfikacji wyniku w formacie UNIX timestamp.</entry>
- </row>
- <row>
- <entry>CacheUrl</entry>
- <entry>string</entry>
- <entry>Adres bufora Yahoo! dla wyniku, jeśli istnieje.</entry>
- </row>
- <row>
- <entry>CacheSize</entry>
- <entry>int</entry>
- <entry>Rozmiar buforu wyniku</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.imageresult">
- <title>Zend_Service_Yahoo_ImageResult</title>
- <para>
- Każdy wynik wyszukiwania w Image Search jest zwracany jako obiekt <code>Zend_Service_Yahoo_ImageResult</code>.
- </para>
- <sect4 id="zend.service.yahoo.classes.imageresult.properties">
- <title>Właściwości</title>
- <table id="zend.service.yahoo.classes.imageresult.properties.table-1">
- <title>Właściwości Zend_Service_Yahoo_ImageResult</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Nazwa</entry>
- <entry>Typ</entry>
- <entry>Opis</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Summary</entry>
- <entry>string</entry>
- <entry>Podsumowanie wyniku</entry>
- </row>
- <row>
- <entry>RefererUrl</entry>
- <entry>string</entry>
- <entry>Adres URL strony, która zawiera dany obrazek</entry>
- </row>
- <row>
- <entry>FileSize</entry>
- <entry>int</entry>
- <entry>Rozmiar pliku obrazka w bajtach</entry>
- </row>
- <row>
- <entry>FileFormat</entry>
- <entry>string</entry>
- <entry>Format obrazka (bmp, gif, jpeg, png, itd.)</entry>
- </row>
- <row>
- <entry>Height</entry>
- <entry>int</entry>
- <entry>Wysokość obrazka</entry>
- </row>
- <row>
- <entry>Width</entry>
- <entry>int</entry>
- <entry>Szerokość obrazka</entry>
- </row>
- <row>
- <entry>Thumbnail</entry>
- <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
- <entry>Miniatura obrazka</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.localresult">
- <title>Zend_Service_Yahoo_LocalResult</title>
- <para>
- Każdy wynik wyszukiwania w Local Search jest zwracany jako obiekt <code>Zend_Service_Yahoo_LocalResult</code>.
- </para>
- <sect4 id="zend.service.yahoo.classes.localresult.properties">
- <title>Właściwości</title>
- <table id="zend.service.yahoo.classes.localresult.properties.table-1">
- <title>Właściwości Zend_Service_Yahoo_LocalResult</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Nazwa</entry>
- <entry>Typ</entry>
- <entry>Opis</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Address</entry>
- <entry>string</entry>
- <entry>Adres wyniku wyszukiwania</entry>
- </row>
- <row>
- <entry>City</entry>
- <entry>string</entry>
- <entry>Miasto w którym znajduje się wynik wyszukiwania</entry>
- </row>
- <row>
- <entry>State</entry>
- <entry>string</entry>
- <entry>Stan w którym znajduje się wynik wyszukiwania</entry>
- </row>
- <row>
- <entry>Phone</entry>
- <entry>string</entry>
- <entry>Numer telefonu dla wyniku wyszukiwania</entry>
- </row>
- <row>
- <entry>Rating</entry>
- <entry>int</entry>
- <entry>Ocena przesłana przez użytkownika dla wyniku wyszukiwania</entry>
- </row>
- <row>
- <entry>Distance</entry>
- <entry>float</entry>
- <entry>Dystans do wyniku wyszukiwania z twojej określonej lokacji</entry>
- </row>
- <row>
- <entry>MapUrl</entry>
- <entry>string</entry>
- <entry>Adres URL mapy wyników wyszukiwania</entry>
- </row>
- <row>
- <entry>BusinessUrl</entry>
- <entry>string</entry>
- <entry>Adres URL strony firmy, jeśli jest znana</entry>
- </row>
- <row>
- <entry>BusinessClickUrl</entry>
- <entry>string</entry>
- <entry>Adres URL do linkowania do strony firmy, jeśli jest znana</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.newsresult">
- <title>Zend_Service_Yahoo_NewsResult</title>
- <para>
- Każdy wynik wyszukiwania w News Search jest zwracany jako obiekt <code>Zend_Service_Yahoo_NewsResult</code>.
- </para>
- <sect4 id="zend.service.yahoo.classes.newsresult.properties">
- <title>Właściwości</title>
- <table id="zend.service.yahoo.classes.newsresult.properties.table-1">
- <title>Właściwości Zend_Service_Yahoo_NewsResult</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Nazwa</entry>
- <entry>Typ</entry>
- <entry>Opis</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Summary</entry>
- <entry>string</entry>
- <entry>Podsumowanie wyniku</entry>
- </row>
- <row>
- <entry>NewsSource</entry>
- <entry>string</entry>
- <entry>Firma, z której pochodzi ten artykuł</entry>
- </row>
- <row>
- <entry>NewsSourceUrl</entry>
- <entry>string</entry>
- <entry>Adres URL firmy z której pochodzi ten artykuł</entry>
- </row>
- <row>
- <entry>Language</entry>
- <entry>string</entry>
- <entry>Język w jakim napisany jest artykuł</entry>
- </row>
- <row>
- <entry>PublishDate</entry>
- <entry>string</entry>
- <entry>Data publikacji artykułu w formacie UNIX timestamp</entry>
- </row>
- <row>
- <entry>ModificationDate</entry>
- <entry>string</entry>
- <entry>Data ostatniej modyfikacji artykułu w formacie UNIX timestamp</entry>
- </row>
- <row>
- <entry>Thumbnail</entry>
- <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
- <entry>Miniatura obrazka dla artykułu, jeśli istnieje</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.image">
- <title>Zend_Service_Yahoo_Image</title>
- <para>
- Wszystkie obrazki zwrocone przez Yahoo! Image Search lub Yahoo! News Search
- są reprezentowane przez obiekty <code>Zend_Service_Yahoo_Image</code>
- </para>
- <sect4 id="zend.service.yahoo.classes.image.properties">
- <title>Właściwości</title>
- <table id="zend.service.yahoo.classes.image.properties.table-1">
- <title>Właściwości Zend_Service_Yahoo_Image</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Nazwa</entry>
- <entry>Typ</entry>
- <entry>Opis</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Url</entry>
- <entry>string</entry>
- <entry>Adres URL obrazka</entry>
- </row>
- <row>
- <entry>Width</entry>
- <entry>int</entry>
- <entry>Szerokość obrazka</entry>
- </row>
- <row>
- <entry>Height</entry>
- <entry>int</entry>
- <entry>Wysokość obrazka</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">Powrót do listy klas</link>
- </para>
- </sect4>
- </sect3>
- </sect2>
- </sect1>
|