home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / Services / Blogging / MultipleBlogsInterface.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  1.0 KB  |  46 lines

  1. <?php
  2. require_once 'Services/Blogging/Blog.php';
  3.  
  4. /**
  5. * Inteface to implement if an driver supports multiple
  6. * blogs with one account.
  7. *
  8. * @category Services
  9. * @package  Services_Blogging
  10. * @author   Anant Narayanan <anant@php.net>
  11. * @author   Christian Weiske <cweiske@php.net>
  12. * @license  http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
  13. * @link     http://pear.php.net/package/Services_Blogging
  14. */
  15. interface Services_Blogging_MultipleBlogsInterface
  16. {
  17.     /**
  18.     * Sets the blog id to use (some blogging APIs support multiple
  19.     *  blogs with one account)
  20.     *
  21.     * @param int $nBlogId Id of the blog to use
  22.     *
  23.     * @return void
  24.     */
  25.     public function setBlogId($nBlogId);
  26.  
  27.  
  28.  
  29.     /**
  30.     * Returns the id of the currently used blog.
  31.     *
  32.     * @return int Blog id
  33.     */
  34.     public function getBlogId();
  35.  
  36.  
  37.  
  38.     /**
  39.     * Returns an array of blogs for that account.
  40.     *
  41.     * @return array Array of Services_Blogging_Blog
  42.     */
  43.     public function getBlogs();
  44.  
  45. }//interface Services_Blogging_MultipleBlogsInterface
  46. ?>