Changeset 1581 for lang/php

Show
Ignore:
Timestamp:
11/15/07 17:53:57 (6 years ago)
Author:
ariela
Message:

lang/php/Services_Twitter: working on change the naming agreement

Location:
lang/php/Services_Twitter
Files:
1 removed
15 modified

Legend:

Unmodified
Added
Removed
  • lang/php/Services_Twitter/docs/Services_Twitter/Services_Twitter.html

    r1562 r1581  
    105105    <li><a href="../Services_Twitter/Services_Twitter.html#methodgetFeatured">getFeatured</a></li> 
    106106    <li><a href="../Services_Twitter/Services_Twitter.html#methodgetFollowers">getFollowers</a></li> 
     107    <li><a href="../Services_Twitter/Services_Twitter.html#methodgetFollowingStatuses">getFollowingStatuses</a></li> 
    107108    <li><a href="../Services_Twitter/Services_Twitter.html#methodgetFriends">getFriends</a></li> 
    108109    <li><a href="../Services_Twitter/Services_Twitter.html#methodgetFriendsTimeline">getFriendsTimeline</a></li> 
    109110    <li><a href="../Services_Twitter/Services_Twitter.html#methodgetLastModified">getLastModified</a></li> 
     111    <li><a href="../Services_Twitter/Services_Twitter.html#methodgetPublicStatuses">getPublicStatuses</a></li> 
    110112    <li><a href="../Services_Twitter/Services_Twitter.html#methodgetPublicTimeline">getPublicTimeline</a></li> 
    111113    <li><a href="../Services_Twitter/Services_Twitter.html#methodgetReplies">getReplies</a></li> 
     
    174176  <hr /> 
    175177        <a name="methodServices_Twitter"></a> 
    176         <h3>constructor Services_Twitter <span class="smalllinenumber">[line 341]</span></h3> 
     178        <h3>constructor Services_Twitter <span class="smalllinenumber">[line 340]</span></h3> 
    177179        <div class="function"> 
    178180    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    216218  <hr /> 
    217219        <a name="methodaddFriend"></a> 
    218         <h3>method addFriend <span class="smalllinenumber">[line 1048]</span></h3> 
     220        <h3>method addFriend <span class="smalllinenumber">[line 1029]</span></h3> 
    219221        <div class="function"> 
    220222    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    255257  <hr /> 
    256258        <a name="methodcheckAuth"></a> 
    257         <h3>method checkAuth <span class="smalllinenumber">[line 1074]</span></h3> 
     259        <h3>method checkAuth <span class="smalllinenumber">[line 1055]</span></h3> 
    258260        <div class="function"> 
    259261    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    283285  <hr /> 
    284286        <a name="methoddisableJsonConvert"></a> 
    285         <h3>method disableJsonConvert <span class="smalllinenumber">[line 481]</span></h3> 
     287        <h3>method disableJsonConvert <span class="smalllinenumber">[line 463]</span></h3> 
    286288        <div class="function"> 
    287289    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    311313  <hr /> 
    312314        <a name="methoddisableModifiedCheck"></a> 
    313         <h3>method disableModifiedCheck <span class="smalllinenumber">[line 507]</span></h3> 
     315        <h3>method disableModifiedCheck <span class="smalllinenumber">[line 487]</span></h3> 
    314316        <div class="function"> 
    315317    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    339341  <hr /> 
    340342        <a name="methodenableJsonConvert"></a> 
    341         <h3>method enableJsonConvert <span class="smalllinenumber">[line 468]</span></h3> 
     343        <h3>method enableJsonConvert <span class="smalllinenumber">[line 451]</span></h3> 
    342344        <div class="function"> 
    343345    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    367369  <hr /> 
    368370        <a name="methodenableModifiedCheck"></a> 
    369         <h3>method enableModifiedCheck <span class="smalllinenumber">[line 494]</span></h3> 
     371        <h3>method enableModifiedCheck <span class="smalllinenumber">[line 475]</span></h3> 
    370372        <div class="function"> 
    371373    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    395397  <hr /> 
    396398        <a name="methodendAuth"></a> 
    397         <h3>method endAuth <span class="smalllinenumber">[line 1091]</span></h3> 
     399        <h3>method endAuth <span class="smalllinenumber">[line 1072]</span></h3> 
    398400        <div class="function"> 
    399401    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    423425  <hr /> 
    424426        <a name="methodgetDirectMessage"></a> 
    425         <h3>method getDirectMessage <span class="smalllinenumber">[line 985]</span></h3> 
     427        <h3>method getDirectMessage <span class="smalllinenumber">[line 984]</span></h3> 
    426428        <div class="function"> 
    427429    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    429431                <code>mixed getDirectMessage( 
    430432[array 
    431 $options = false])</code> 
     433$options = null])</code> 
    432434    </td></tr></table> 
    433435    </td></tr></table><br /> 
     
    462464  <hr /> 
    463465        <a name="methodgetEtag"></a> 
    464         <h3>method getEtag <span class="smalllinenumber">[line 414]</span></h3> 
     466        <h3>method getEtag <span class="smalllinenumber">[line 403]</span></h3> 
    465467        <div class="function"> 
    466468    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    490492  <hr /> 
    491493        <a name="methodgetFeatured"></a> 
    492         <h3>method getFeatured <span class="smalllinenumber">[line 957]</span></h3> 
     494        <h3>method getFeatured <span class="smalllinenumber">[line 956]</span></h3> 
    493495        <div class="function"> 
    494496    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    518520  <hr /> 
    519521        <a name="methodgetFollowers"></a> 
    520         <h3>method getFollowers <span class="smalllinenumber">[line 945]</span></h3> 
     522        <h3>method getFollowers <span class="smalllinenumber">[line 944]</span></h3> 
    521523        <div class="function"> 
    522524    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    545547  </div> 
    546548  <hr /> 
     549        <a name="methodgetFollowingStatuses"></a> 
     550        <h3>method getFollowingStatuses <span class="smalllinenumber">[line 807]</span></h3> 
     551        <div class="function"> 
     552    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     553    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> 
     554                <code>mixed getFollowingStatuses( 
     555[array 
     556$options = null])</code> 
     557    </td></tr></table> 
     558    </td></tr></table><br /> 
     559         
     560                get statuses of following_timeline in greatest 20 cases and past 24 hours data<br /><br /><br /><br /> 
     561<h4>Tags:</h4> 
     562<div class="tags"> 
     563<table border="0" cellspacing="0" cellpadding="0"> 
     564  <tr> 
     565    <td><b>return:</b>&nbsp;&nbsp;</td><td>false or response data.</td> 
     566  </tr> 
     567  <tr> 
     568    <td><b>since:</b>&nbsp;&nbsp;</td><td>Release 0.5.0</td> 
     569  </tr> 
     570  <tr> 
     571    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td> 
     572  </tr> 
     573</table> 
     574</div> 
     575<br /><br /> 
     576 
     577         
     578        <h4>Parameters:</h4> 
     579    <div class="tags"> 
     580    <table border="0" cellspacing="0" cellpadding="0"> 
     581          <tr> 
     582        <td class="type">array&nbsp;&nbsp;</td> 
     583        <td><b>$options</b>&nbsp;&nbsp;</td> 
     584        <td>(Optional) request options(id, since, page)       <br />id = set user ID or screen name       <br />since = get new data to designated this value(GMT format)       <br />page = get past data (20x(page-1)+1~20xpage)</td> 
     585      </tr> 
     586        </table> 
     587    </div><br /> 
     588        <div class="top">[ <a href="#top">Top</a> ]</div> 
     589  </div> 
     590  <hr /> 
    547591        <a name="methodgetFriends"></a> 
    548         <h3>method getFriends <span class="smalllinenumber">[line 926]</span></h3> 
     592        <h3>method getFriends <span class="smalllinenumber">[line 928]</span></h3> 
    549593        <div class="function"> 
    550594    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    585629  <hr /> 
    586630        <a name="methodgetFriendsTimeline"></a> 
    587         <h3>method getFriendsTimeline <span class="smalllinenumber">[line 781]</span></h3> 
    588         <div class="function"> 
    589     <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
    590     <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> 
    591                 <code>mixed getFriendsTimeline( 
     631        <h3>method getFriendsTimeline <span class="smalllinenumber">[line 836]</span></h3> 
     632        <div class="function"> 
     633    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     634    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> 
     635                <code>void getFriendsTimeline( 
    592636[array 
    593 $options = false])</code> 
    594     </td></tr></table> 
    595     </td></tr></table><br /> 
    596          
    597                 friends_timeline access<br /><br /><br /><br /> 
    598 <h4>Tags:</h4> 
    599 <div class="tags"> 
    600 <table border="0" cellspacing="0" cellpadding="0"> 
    601   <tr> 
    602     <td><b>return:</b>&nbsp;&nbsp;</td><td>false or response data.</td> 
     637$options = null])</code> 
     638    </td></tr></table> 
     639    </td></tr></table><br /> 
     640         
     641                get statuses of following_timeline in greatest 20 cases and past 24 hours data<br /><br /><br /><br /> 
     642<h4>Tags:</h4> 
     643<div class="tags"> 
     644<table border="0" cellspacing="0" cellpadding="0"> 
     645  <tr> 
     646    <td><b>see:</b>&nbsp;&nbsp;</td><td><a href="../Services_Twitter/Services_Twitter.html#methodgetFollowingStatuses">Services_Twitter::getFollowingStatuses()</a></td> 
     647  </tr> 
     648  <tr> 
     649    <td><b>deprecated:</b>&nbsp;&nbsp;</td><td>Method deprecated in Release 0.5.0</td> 
    603650  </tr> 
    604651  <tr> 
     
    616663        <td class="type">array&nbsp;&nbsp;</td> 
    617664        <td><b>$options</b>&nbsp;&nbsp;</td> 
    618         <td>(Optional) request options(id, since, page)</td> 
     665        <td>(Optional) request options(id, since, page)       <br />id = set user ID or screen name       <br />since = get new data to designated this value(GMT format)       <br />page = get past data (20x(page-1)+1~20xpage)</td> 
    619666      </tr> 
    620667        </table> 
     
    624671  <hr /> 
    625672        <a name="methodgetLastModified"></a> 
    626         <h3>method getLastModified <span class="smalllinenumber">[line 441]</span></h3> 
     673        <h3>method getLastModified <span class="smalllinenumber">[line 427]</span></h3> 
    627674        <div class="function"> 
    628675    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    651698  </div> 
    652699  <hr /> 
     700        <a name="methodgetPublicStatuses"></a> 
     701        <h3>method getPublicStatuses <span class="smalllinenumber">[line 773]</span></h3> 
     702        <div class="function"> 
     703    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     704    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> 
     705                <code>mixed getPublicStatuses( 
     706[int 
     707$since_id = null])</code> 
     708    </td></tr></table> 
     709    </td></tr></table><br /> 
     710         
     711                get statuses of public_timeline in greatest 20 cases<br /><br /><br /><br /> 
     712<h4>Tags:</h4> 
     713<div class="tags"> 
     714<table border="0" cellspacing="0" cellpadding="0"> 
     715  <tr> 
     716    <td><b>return:</b>&nbsp;&nbsp;</td><td>false or response data.</td> 
     717  </tr> 
     718  <tr> 
     719    <td><b>since:</b>&nbsp;&nbsp;</td><td>Release 0.5.0</td> 
     720  </tr> 
     721  <tr> 
     722    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td> 
     723  </tr> 
     724</table> 
     725</div> 
     726<br /><br /> 
     727 
     728         
     729        <h4>Parameters:</h4> 
     730    <div class="tags"> 
     731    <table border="0" cellspacing="0" cellpadding="0"> 
     732          <tr> 
     733        <td class="type">int&nbsp;&nbsp;</td> 
     734        <td><b>$since_id</b>&nbsp;&nbsp;</td> 
     735        <td>(Optional) get new data to designated $since_id</td> 
     736      </tr> 
     737        </table> 
     738    </div><br /> 
     739        <div class="top">[ <a href="#top">Top</a> ]</div> 
     740  </div> 
     741  <hr /> 
    653742        <a name="methodgetPublicTimeline"></a> 
    654         <h3>method getPublicTimeline <span class="smalllinenumber">[line 759]</span></h3> 
     743        <h3>method getPublicTimeline <span class="smalllinenumber">[line 791]</span></h3> 
    655744        <div class="function"> 
    656745    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
    657746    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code"> 
    658747                <code>mixed getPublicTimeline( 
    659 [array 
    660 $id = false])</code> 
    661     </td></tr></table> 
    662     </td></tr></table><br /> 
    663          
    664                 public_timeline access<br /><br /><br /><br /> 
    665 <h4>Tags:</h4> 
    666 <div class="tags"> 
    667 <table border="0" cellspacing="0" cellpadding="0"> 
    668   <tr> 
    669     <td><b>return:</b>&nbsp;&nbsp;</td><td>false or response data.</td> 
    670   </tr> 
    671   <tr> 
    672     <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td> 
    673   </tr> 
    674 </table> 
    675 </div> 
    676 <br /><br /> 
    677  
    678          
    679         <h4>Parameters:</h4> 
    680     <div class="tags"> 
    681     <table border="0" cellspacing="0" cellpadding="0"> 
    682           <tr> 
    683         <td class="type">array&nbsp;&nbsp;</td> 
    684         <td><b>$id</b>&nbsp;&nbsp;</td> 
    685         <td>(Optional) request options(since_id)</td> 
     748[int 
     749$since_id = null])</code> 
     750    </td></tr></table> 
     751    </td></tr></table><br /> 
     752         
     753                get statuses of public_timeline in greatest 20 cases<br /><br /><br /><br /> 
     754<h4>Tags:</h4> 
     755<div class="tags"> 
     756<table border="0" cellspacing="0" cellpadding="0"> 
     757  <tr> 
     758    <td><b>return:</b>&nbsp;&nbsp;</td><td>false or response data.</td> 
     759  </tr> 
     760  <tr> 
     761    <td><b>see:</b>&nbsp;&nbsp;</td><td><a href="../Services_Twitter/Services_Twitter.html#methodgetPublicStatuses">Services_Twitter::getPublicStatuses()</a></td> 
     762  </tr> 
     763  <tr> 
     764    <td><b>deprecated:</b>&nbsp;&nbsp;</td><td>Method deprecated in Release 0.5.0</td> 
     765  </tr> 
     766  <tr> 
     767    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td> 
     768  </tr> 
     769</table> 
     770</div> 
     771<br /><br /> 
     772 
     773         
     774        <h4>Parameters:</h4> 
     775    <div class="tags"> 
     776    <table border="0" cellspacing="0" cellpadding="0"> 
     777          <tr> 
     778        <td class="type">int&nbsp;&nbsp;</td> 
     779        <td><b>$since_id</b>&nbsp;&nbsp;</td> 
     780        <td>(Optional) get new data to designated $since_id</td> 
    686781      </tr> 
    687782        </table> 
     
    691786  <hr /> 
    692787        <a name="methodgetReplies"></a> 
    693         <h3>method getReplies <span class="smalllinenumber">[line 906]</span></h3> 
     788        <h3>method getReplies <span class="smalllinenumber">[line 908]</span></h3> 
    694789        <div class="function"> 
    695790    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    730825  <hr /> 
    731826        <a name="methodgetStatusShow"></a> 
    732         <h3>method getStatusShow <span class="smalllinenumber">[line 874]</span></h3> 
     827        <h3>method getStatusShow <span class="smalllinenumber">[line 876]</span></h3> 
    733828        <div class="function"> 
    734829    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    769864  <hr /> 
    770865        <a name="methodgetUserShow"></a> 
    771         <h3>method getUserShow <span class="smalllinenumber">[line 971]</span></h3> 
     866        <h3>method getUserShow <span class="smalllinenumber">[line 970]</span></h3> 
    772867        <div class="function"> 
    773868    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    808903  <hr /> 
    809904        <a name="methodgetUserTimeline"></a> 
    810         <h3>method getUserTimeline <span class="smalllinenumber">[line 832]</span></h3> 
     905        <h3>method getUserTimeline <span class="smalllinenumber">[line 850]</span></h3> 
    811906        <div class="function"> 
    812907    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    814909                <code>mixed getUserTimeline( 
    815910[array 
    816 $options = false])</code> 
     911$options = null])</code> 
    817912    </td></tr></table> 
    818913    </td></tr></table><br /> 
     
    847942  <hr /> 
    848943        <a name="methodremoveFriend"></a> 
    849         <h3>method removeFriend <span class="smalllinenumber">[line 1062]</span></h3> 
     944        <h3>method removeFriend <span class="smalllinenumber">[line 1043]</span></h3> 
    850945        <div class="function"> 
    851946    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    886981  <hr /> 
    887982        <a name="methodsetAppName"></a> 
    888         <h3>method setAppName <span class="smalllinenumber">[line 356]</span></h3> 
     983        <h3>method setAppName <span class="smalllinenumber">[line 353]</span></h3> 
    889984        <div class="function"> 
    890985    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    9251020  <hr /> 
    9261021        <a name="methodsetAppURL"></a> 
    927         <h3>method setAppURL <span class="smalllinenumber">[line 386]</span></h3> 
     1022        <h3>method setAppURL <span class="smalllinenumber">[line 379]</span></h3> 
    9281023        <div class="function"> 
    9291024    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    9641059  <hr /> 
    9651060        <a name="methodsetAppVersion"></a> 
    966         <h3>method setAppVersion <span class="smalllinenumber">[line 371]</span></h3> 
     1061        <h3>method setAppVersion <span class="smalllinenumber">[line 366]</span></h3> 
    9671062        <div class="function"> 
    9681063    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    10031098  <hr /> 
    10041099        <a name="methodsetCacheDir"></a> 
    1005         <h3>method setCacheDir <span class="smalllinenumber">[line 455]</span></h3> 
     1100        <h3>method setCacheDir <span class="smalllinenumber">[line 439]</span></h3> 
    10061101        <div class="function"> 
    10071102    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    10421137  <hr /> 
    10431138        <a name="methodsetDirectMessage"></a> 
    1044         <h3>method setDirectMessage <span class="smalllinenumber">[line 1027]</span></h3> 
     1139        <h3>method setDirectMessage <span class="smalllinenumber">[line 1008]</span></h3> 
    10451140        <div class="function"> 
    10461141    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    10871182  <hr /> 
    10881183        <a name="methodsetEtag"></a> 
    1089         <h3>method setEtag <span class="smalllinenumber">[line 401]</span></h3> 
     1184        <h3>method setEtag <span class="smalllinenumber">[line 392]</span></h3> 
    10901185        <div class="function"> 
    10911186    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    11261221  <hr /> 
    11271222        <a name="methodsetLastModified"></a> 
    1128         <h3>method setLastModified <span class="smalllinenumber">[line 428]</span></h3> 
     1223        <h3>method setLastModified <span class="smalllinenumber">[line 415]</span></h3> 
    11291224        <div class="function"> 
    11301225    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    11651260  <hr /> 
    11661261        <a name="methodsetUpdate"></a> 
    1167         <h3>method setUpdate <span class="smalllinenumber">[line 888]</span></h3> 
     1262        <h3>method setUpdate <span class="smalllinenumber">[line 890]</span></h3> 
    11681263        <div class="function"> 
    11691264    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border"> 
     
    12071302        <div class="credit"> 
    12081303                    <hr /> 
    1209                     Documentation generated on Thu, 15 Nov 2007 15:21:52 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     1304                    Documentation generated on Thu, 15 Nov 2007 17:48:48 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    12101305              </div> 
    12111306      </td></tr></table> 
  • lang/php/Services_Twitter/docs/Services_Twitter/Services_Twitter_Connector.html

    r1562 r1581  
    590590        <div class="credit"> 
    591591                    <hr /> 
    592                     Documentation generated on Thu, 15 Nov 2007 15:21:51 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     592                    Documentation generated on Thu, 15 Nov 2007 17:48:45 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    593593              </div> 
    594594      </td></tr></table> 
  • lang/php/Services_Twitter/docs/Services_Twitter/Services_Twitter_Jsphon.html

    r1562 r1581  
    188188        <div class="credit"> 
    189189                    <hr /> 
    190                     Documentation generated on Thu, 15 Nov 2007 15:21:52 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     190                    Documentation generated on Thu, 15 Nov 2007 17:48:47 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    191191              </div> 
    192192      </td></tr></table> 
  • lang/php/Services_Twitter/docs/Services_Twitter/Services_Twitter_Jsphon_Exception.html

    r1562 r1581  
    188188        <div class="credit"> 
    189189                    <hr /> 
    190                     Documentation generated on Thu, 15 Nov 2007 15:21:52 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     190                    Documentation generated on Thu, 15 Nov 2007 17:48:47 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    191191              </div> 
    192192      </td></tr></table> 
  • lang/php/Services_Twitter/docs/Services_Twitter/_Services---Twitter---Connector.php.html

    r1562 r1581  
    9696        <div class="credit"> 
    9797                    <hr /> 
    98                     Documentation generated on Thu, 15 Nov 2007 15:21:51 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     98                    Documentation generated on Thu, 15 Nov 2007 17:48:45 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    9999              </div> 
    100100      </td></tr></table> 
  • lang/php/Services_Twitter/docs/Services_Twitter/_Services---Twitter---Jsphon---Exception.php.html

    r1562 r1581  
    9696        <div class="credit"> 
    9797                    <hr /> 
    98                     Documentation generated on Thu, 15 Nov 2007 15:21:52 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     98                    Documentation generated on Thu, 15 Nov 2007 17:48:47 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    9999              </div> 
    100100      </td></tr></table> 
  • lang/php/Services_Twitter/docs/Services_Twitter/_Services---Twitter---Jsphon.php.html

    r1562 r1581  
    100100        <div class="credit"> 
    101101                    <hr /> 
    102                     Documentation generated on Thu, 15 Nov 2007 15:21:52 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     102                    Documentation generated on Thu, 15 Nov 2007 17:48:47 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    103103              </div> 
    104104      </td></tr></table> 
  • lang/php/Services_Twitter/docs/Services_Twitter/_Services---Twitter.php.html

    r1562 r1581  
    100100        <div class="credit"> 
    101101                    <hr /> 
    102                     Documentation generated on Thu, 15 Nov 2007 15:21:52 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     102                    Documentation generated on Thu, 15 Nov 2007 17:48:48 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    103103              </div> 
    104104      </td></tr></table> 
  • lang/php/Services_Twitter/docs/classtrees_Services_Twitter.html

    r1562 r1581  
    5656        <div class="credit"> 
    5757                    <hr /> 
    58                     Documentation generated on Thu, 15 Nov 2007 15:21:51 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     58                    Documentation generated on Thu, 15 Nov 2007 17:48:45 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    5959              </div> 
    6060      </td></tr></table> 
  • lang/php/Services_Twitter/docs/elementindex.html

    r1562 r1581  
    120120                                                        <dt><b>getFollowers</b></dt> 
    121121                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFollowers">Services_Twitter::getFollowers()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;followers access</dd> 
     122                                                        <dt><b>getFollowingStatuses</b></dt> 
     123                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFollowingStatuses">Services_Twitter::getFollowingStatuses()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get statuses of following_timeline in greatest 20 cases and past 24 hours data</dd> 
    122124                                                        <dt><b>getFriends</b></dt> 
    123125                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFriends">Services_Twitter::getFriends()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;friends access</dd> 
    124126                                                        <dt><b>getFriendsTimeline</b></dt> 
    125                                 <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFriendsTimeline">Services_Twitter::getFriendsTimeline()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;friends_timeline access</dd> 
     127                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFriendsTimeline">Services_Twitter::getFriendsTimeline()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get statuses of following_timeline in greatest 20 cases and past 24 hours data</dd> 
    126128                                                        <dt><b>getLastModified</b></dt> 
    127129                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetLastModified">Services_Twitter::getLastModified()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get last_modified(last_modified)from previous request</dd> 
     130                                                        <dt><b>getPublicStatuses</b></dt> 
     131                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetPublicStatuses">Services_Twitter::getPublicStatuses()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get statuses of public_timeline in greatest 20 cases</dd> 
    128132                                                        <dt><b>getPublicTimeline</b></dt> 
    129                                 <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetPublicTimeline">Services_Twitter::getPublicTimeline()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;public_timeline access</dd> 
     133                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetPublicTimeline">Services_Twitter::getPublicTimeline()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get statuses of public_timeline in greatest 20 cases</dd> 
    130134                                                        <dt><b>getReplies</b></dt> 
    131135                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetReplies">Services_Twitter::getReplies()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Replies access</dd> 
     
    231235        <div class="credit"> 
    232236                    <hr /> 
    233                     Documentation generated on Thu, 15 Nov 2007 15:21:51 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     237                    Documentation generated on Thu, 15 Nov 2007 17:48:45 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    234238              </div> 
    235239      </td></tr></table> 
  • lang/php/Services_Twitter/docs/elementindex_Services_Twitter.html

    r1562 r1581  
    165165                                                        <dt><b>getFollowers</b></dt> 
    166166                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFollowers">Services_Twitter::getFollowers()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;followers access</dd> 
     167                                                        <dt><b>getFollowingStatuses</b></dt> 
     168                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFollowingStatuses">Services_Twitter::getFollowingStatuses()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get statuses of following_timeline in greatest 20 cases and past 24 hours data</dd> 
    167169                                                        <dt><b>getFriends</b></dt> 
    168170                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFriends">Services_Twitter::getFriends()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;friends access</dd> 
    169171                                                        <dt><b>getFriendsTimeline</b></dt> 
    170                                 <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFriendsTimeline">Services_Twitter::getFriendsTimeline()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;friends_timeline access</dd> 
     172                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetFriendsTimeline">Services_Twitter::getFriendsTimeline()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get statuses of following_timeline in greatest 20 cases and past 24 hours data</dd> 
    171173                                                        <dt><b>getLastModified</b></dt> 
    172174                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetLastModified">Services_Twitter::getLastModified()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get last_modified(last_modified)from previous request</dd> 
     175                                                        <dt><b>getPublicStatuses</b></dt> 
     176                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetPublicStatuses">Services_Twitter::getPublicStatuses()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get statuses of public_timeline in greatest 20 cases</dd> 
    173177                                                        <dt><b>getPublicTimeline</b></dt> 
    174                                 <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetPublicTimeline">Services_Twitter::getPublicTimeline()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;public_timeline access</dd> 
     178                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetPublicTimeline">Services_Twitter::getPublicTimeline()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;get statuses of public_timeline in greatest 20 cases</dd> 
    175179                                                        <dt><b>getReplies</b></dt> 
    176180                                <dd>in file Twitter.php, method <a href="Services_Twitter/Services_Twitter.html#methodgetReplies">Services_Twitter::getReplies()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Replies access</dd> 
     
    256260        <div class="credit"> 
    257261                    <hr /> 
    258                     Documentation generated on Thu, 15 Nov 2007 15:21:50 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     262                    Documentation generated on Thu, 15 Nov 2007 17:48:44 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    259263              </div> 
    260264      </td></tr></table> 
  • lang/php/Services_Twitter/docs/errors.html

    r1562 r1581  
    5252        <div class="credit"> 
    5353                    <hr /> 
    54                     Documentation generated on Thu, 15 Nov 2007 15:21:53 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     54                    Documentation generated on Thu, 15 Nov 2007 17:48:49 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    5555              </div> 
    5656      </td></tr></table> 
  • lang/php/Services_Twitter/docs/index.html

    r1562 r1581  
    6262        <div class="credit"> 
    6363                    <hr /> 
    64                     Documentation generated on Thu, 15 Nov 2007 15:21:51 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     64                    Documentation generated on Thu, 15 Nov 2007 17:48:45 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    6565              </div> 
    6666      </td></tr></table> 
  • lang/php/Services_Twitter/docs/li_Services_Twitter.html

    r1562 r1581  
    6262        <div class="credit"> 
    6363                    <hr /> 
    64                     Documentation generated on Thu, 15 Nov 2007 15:21:51 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
     64                    Documentation generated on Thu, 15 Nov 2007 17:48:45 +0900 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a> 
    6565              </div> 
    6666      </td></tr></table> 
  • lang/php/Services_Twitter/src/Services/Twitter.php

    r1561 r1581  
    334334     * 
    335335     * @access public 
    336      * 
    337336     * @param string $user     username of twitter 
    338337     * @param string $password password of twitter 
     
    349348     * 
    350349     * @access public 
    351      * 
    352350     * @param string $name application's name 
    353      * 
    354351     * @return string setup value 
    355352     */ 
     
    364361     * 
    365362     * @access public 
    366      * 
    367363     * @param string $ver application's version 
    368      * 
    369364     * @return string setup value 
    370365     */ 
     
    379374     * 
    380375     * @access public 
    381      * 
    382376     * @param string $url url of application's information xml 
    383      * 
    384377     * @return string setup value 
    385378     */ 
     
    394387     * 
    395388     * @access public 
    396      * 
    397389     * @param string $etag send etag to next request 
    398      * 
    399390     * @return string setup value 
    400391     */ 
     
    407398    /** 
    408399     * get etag(If-None-Match) from previous request 
    409      * 
    410      * @access public 
    411      * 
     400     * @access public 
    412401     * @return string etag from previous request 
    413402     */ 
     
    421410     * 
    422411     * @access public 
    423      * 
    424412     * @param string $last_modified send last_modified to next request 
    425      * 
    426413     * @return string setup value 
    427414     */ 
     
    436423     * 
    437424     * @access public 
    438      * 
    439425     * @return string last_modified from previous request 
    440426     */ 
     
    448434     * 
    449435     * @access public 
    450      * 
    451436     * @param string $dir cache direcotry path 
    452      * 
    453437     * @return string last_modified from previous request 
    454438     */ 
     
    463447     * 
    464448     * @access public 
    465      * 
    466449     * @return string last_modified from previous request 
    467450     */ 
     
    476459     * 
    477460     * @access public 
    478      * 
    479461     * @return string last_modified from previous request 
    480462     */ 
     
    489471     * 
    490472     * @access public 
    491      * 
    492473     * @return string last_modified from previous request 
    493474     */ 
     
    502483     * 
    503484     * @access public 
    504      * 
    505485     * @return string last_modified from previous request 
    506486     */ 
     
    515495     * 
    516496     * @access private 
    517      * 
    518497     * @param string $url     call update API's URL 
    519498     * @param mixed  $values  send values (if array, key is POST name and value is POST value)  
    520499     * @param array  $headers send headers (key is header name and value is header value) 
    521      * 
    522500     * @return mixed processed success, return response body. and processed faild, return false. 
    523501     */ 
     
    601579     * 
    602580     * @access private 
    603      * 
    604581     * @param string $method  HTTP request method (POST or GET) 
    605582     * @param string $url     call get data API's URL 
    606583     * @param string $etagkey etag cache key setting 
    607      * 
    608584     * @return mixed processed success, return response body. and processed faild, return false. 
    609585     */ 
     
    611587    { 
    612588        $id = sha1($etagkey); 
     589         
     590        if (defined('SERVICES_TWITTER_FORCE_POST') && SERVICES_TWITTER_FORCE_POST) { 
     591            $method = 'POST'; 
     592        } 
    613593         
    614594        if ($this->_modified_check && $this->_cache_dir !== null) { 
     
    722702     * 
    723703     * @access private 
    724      * 
    725704     * @param string $method  HTTP request method (POST or GET) 
    726705     * @param string $url     call get data API's URL 
    727      * 
    728706     * @return mixed processed success, return true. and processed faild, return false. 
    729707     */ 
    730708    function _authConnect($method, $url)  
    731709    { 
     710        if (defined('SERVICES_TWITTER_FORCE_POST') && SERVICES_TWITTER_FORCE_POST) { 
     711            $method = 'POST'; 
     712        } 
     713 
    732714        $req =& new Services_Twitter_Connector(); 
    733715        $req->addHeader('User-Agent', 'PHP/' . phpversion()); 
     
    749731     
    750732    /** 
    751      * public_timeline access 
    752      * 
    753      * @access public 
    754      * 
    755      * @param array $id (Optional) request options(since_id) 
    756      * 
    757      * @return mixed false or response data. 
    758      */ 
    759     function getPublicTimeline($id = false) 
    760     { 
    761         if (!$id) { 
    762             // not settings parameters 
    763             return $this->_getData('GET', $this->sm_public, 'getPublicTimeline'); 
    764         } else { 
    765             $url = $this->sm_public; 
    766             $url .= '?since_id=' . urlencode($id); 
    767             // on settings parameter 
    768             return $this->_getData('GET', $url, 'getPublicTimeline'); 
    769         } 
    770     } 
    771      
    772     /** 
    773      * friends_timeline access 
    774      * 
    775      * @access public 
    776      * 
    777      * @param array $options (Optional) request options(id, since, page) 
    778      * 
    779      * @return mixed false or response data. 
    780      */ 
    781     function getFriendsTimeline($options = false) 
    782     { 
    783         if (!$options) { 
    784             // not settings parameters 
    785             return $this->_getData('GET', $this->sm_friends, 'getFriendsTimeline'); 
    786         } else { 
    787             // parameter 'ID' setted. 
    788             if (isset($options['id'])) { 
    789                 $url = sprintf($this->sm_friends_target, urlencode($options['id'])); 
    790             } else { 
    791                 $url = $this->sm_friends; 
    792             } 
    793              
    794             $appended = false; 
    795              
    796             // parameter 'SINCE' setted. 
    797             if (isset($options['since'])) { 
     733     * build url option method 
     734     * 
     735     * @access private 
     736     * @since Release 0.5.0 
     737     * @param string $url base url string 
     738     * @param array $options request options array 
     739     * @param array $allows build target settings 
     740     * @return string builded url 
     741     */ 
     742    function _buildUrl($url, $options, $allows) { 
     743        $appended = false; 
     744         
     745        foreach ($allows as $name => $type) { 
     746            if (isset($options[$name])) { 
    798747                if (!$appended) { 
    799748                    $url .= '?'; 
     
    802751                    $url .= '&'; 
    803752                } 
    804                 $url .= 'since=' . urlencode($options['since']); 
    805             } 
    806              
    807             // parameter 'PAGE' setted. 
    808             if (isset($options['page'])) { 
    809                 if (!$appended) { 
    810                     $url .= '?'; 
    811                     $appended = true; 
     753                 
     754                if ($type === 'int') { 
     755                    $url .= $name . '=' . intval($options[$name]); 
    812756                } else { 
    813                     $url .= '&'; 
     757                    $url .= $name . '=' . urlencode($options[$name]); 
    814758                } 
    815                 $url .= 'page=' . intval($options['page']); 
    816             } 
    817              
    818             // on settings parameter 
    819             return $this->_getData('GET', $url, 'getFriendsTimeline'); 
    820         } 
    821     } 
    822      
     759            } 
     760        } 
     761         
     762        return $url; 
     763    } 
     764     
     765    /** 
     766     * get statuses of public_timeline in greatest 20 cases  
     767     * 
     768     * @access public 
     769     * @since Release 0.5.0 
     770     * @param int $since_id (Optional) get new data to designated $since_id 
     771     * @return mixed false or response data. 
     772     */ 
     773    function getPublicStatuses($since_id = null) 
     774    { 
     775        $url = $this->sm_public; 
     776        if (!is_null($since_id)) { 
     777            $url .= '?since_id=' . urlencode($id); 
     778        } 
     779        return $this->_getData('GET', $url, 'getPublicTimeline'); 
     780    } 
     781     
     782    /** 
     783     * get statuses of public_timeline in greatest 20 cases 
     784     * 
     785     * @access public 
     786     * @param int $since_id (Optional) get new data to designated $since_id 
     787     * @return mixed false or response data. 
     788     * @see getPublicStatuses 
     789     * @deprecated Method deprecated in Release 0.5.0 
     790     */ 
     791    function getPublicTimeline($since_id = null) 
     792    { 
     793        return $this->getPublicStatuses($since_id); 
     794    } 
     795     
     796    /** 
     797     * get statuses of following_timeline in greatest 20 cases and past 24 hours data 
     798     * 
     799     * @access public 
     800     * @since Release 0.5.0 
     801     * @param array $options (Optional) request options(id, since, page) 
     802     *      <br />id = set user ID or screen name 
     803     *      <br />since = get new data to designated this value(GMT format) 
     804     *      <br />page = get past data (20x(page-1)+1~20xpage) 
     805     * @return mixed false or response data. 
     806     */ 
     807    function getFollowingStatuses($options = null) 
     808    { 
     809        $url = $this->sm_friends; 
     810        if (!is_null($options)) { 
     811            // parameter 'ID' setted. 
     812            if (isset($options['id'])) { 
     813                $url = sprintf($this->sm_friends_target, urlencode($options['id'])); 
     814            } 
     815                         
     816            $arrows = array( 
     817                'since' => 'str', 
     818                'page' => 'int', 
     819            ); 
     820            $url = $this->_buildUrl($url, $options, $arrows); 
     821        } 
     822        return $this->_getData('GET', $url, 'getFriendsTimeline'); 
     823    } 
     824         
     825    /** 
     826     * get statuses of following_timeline in greatest 20 cases and past 24 hours data 
     827     * 
     828     * @access public 
     829     * @param array $options (Optional) request options(id, since, page) 
     830     *      <br />id = set user ID or screen name 
     831     *      <br />since = get new data to designated this value(GMT format) 
     832     *      <br />page = get past data (20x(page-1)+1~20xpage) 
     833     * @see getFollowingStatuses 
     834     * @deprecated Method deprecated in Release 0.5.0 
     835     */ 
     836    function getFriendsTimeline($options = null) 
     837    { 
     838        return $this->getFollowingStatuses($options); 
     839    } 
     840 
    823841    /** 
    824842     * user_timeline access 
     
    830848     * @return mixed false or response data. 
    831849     */ 
    832     function getUserTimeline($options = false) 
    833     { 
    834         if (!$options) { 
    835             return $this->_getData('GET', $this->sm_user, 'getUserTimeline'); 
    836         } else { 
     850    function getUserTimeline($options = null) 
     851    { 
     852        $url = $this->sm_user; 
     853        if (!is_null($options)) { 
    837854            if (isset($options['id'])) { 
    838855                $url = sprintf($this->sm_user_target, urlencode($options['id'])); 
    839             } else { 
    840                 $url = $this->sm_user; 
    841856            } 
    842857             
    843             $first = true; 
    844             if (isset($options['count'])) { 
    845                 if ($first) { 
    846                     $url .= '?count=' . urlencode($options['count']); 
    847                     $first = false; 
    848                 } else { 
    849                     $url .= '&amp;count=' . urlencode($options['count']); 
    850                 } 
    851             } 
    852             if (isset($options['since'])) { 
    853                 if ($first) { 
    854                     $url .= '?since=' . urlencode($options['since']); 
    855                     $first = false; 
    856                 } else { 
    857                     $url .= '&amp;since=' . urlencode($options['since']); 
    858                 } 
    859             } 
    860              
    861             return $this->_getData('GET', $url, 'getUserTimeline'); 
    862         } 
     858            $arrows = array( 
     859                'count' => 'int', 
     860                'since' => 'str', 
     861            ); 
     862            $url = $this->_buildUrl($url, $options, $arrows); 
     863        } 
     864        return $this->_getData('GET', $url, 'getUserTimeline'); 
    863865    } 
    864866         
     
    926928    function getFriends($id = null) 
    927929    { 
    928         if (!$id) { 
    929             // not settings parameters 
    930             return $this->_getData('GET', $this->um_friends, 'getFriends'); 
    931         } else { 
     930        $url = $this->um_friends; 
     931        if (!is_null($id)) { 
    932932            $url = sprintf($this->um_friends_target, $id); 
    933             // on settings parameter 
    934             return $this->_getData('GET', $url, 'getFriends'); 
    935         } 
     933        } 
     934        return $this->_getData('GET', $url, 'getFriends'); 
    936935    } 
    937936     
     
    983982     * @return mixed false or response data. 
    984983     */ 
    985     function getDirectMessage($options = false) 
    986     { 
    987         if (!$options) { 
    988             // not settings parameters 
    989             return $this->_getData('GET', $this->dm_show, 'getDirectMessage'); 
    990         } else { 
    991             $url = $this->dm_show; 
     984    function getDirectMessage($options = null) 
     985    { 
     986        $url = $this->dm_show; 
     987        if (!is_null($options)) { 
    992988             
    993             $appended = false; 
    994             if (isset($options['since'])) { 
    995                 if (!$appended) { 
    996                     $url .= '?'; 
    997                 } else { 
    998                     $url .= '&'; 
    999                 } 
    1000                 $url .= 'since=' . urlencode($options['since']); 
    1001             } 
    1002              
    1003             if (isset($options['page'])) { 
    1004                 if (!$appended) { 
    1005                     $url .= '?'; 
    1006                 } else { 
    1007                     $url .= '&'; 
    1008                 } 
    1009                 $url .= 'page=' . intval($options['page']); 
    1010             } 
    1011  
    1012             // on settings parameter 
    1013             return $this->_getData('GET', $url, 'getDirectMessage'); 
    1014         } 
     989            $arrows = array( 
     990                'since' => 'str', 
     991                'page' => 'int', 
     992            ); 
     993            $url = $this->_buildUrl($url, $options, $arrows); 
     994        } 
     995        return $this->_getData('GET', $url, 'getDirectMessage'); 
    1015996    } 
    1016997