Services_Blogging
[ class tree: Services_Blogging ] [ index: Services_Blogging ] [ all elements ]

Source for file MultipleBlogsInterface.php

Documentation is available at MultipleBlogsInterface.php

  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. */
  14. interface Services_Blogging_MultipleBlogsInterface
  15. {
  16.     /**
  17.     *   Sets the blog id to use (some blogging APIs support multiple
  18.     *   blogs with one account)
  19.     *
  20.     *   @param int  $nBlogId    Id of the blog to use
  21.     */
  22.     public function setBlogId($nBlogId);
  23.  
  24.  
  25.  
  26.     /**
  27.     *   Returns the id of the currently used blog.
  28.     *
  29.     *   @return int     Blog id
  30.     */
  31.     public function getBlogId();
  32.  
  33.  
  34.  
  35.     /**
  36.     *   Returns an array of blogs for that account.
  37.     *
  38.     *   @return array     Array of Services_Blogging_Blog
  39.     */
  40.     public function getBlogs();
  41.  
  42. //interface Services_Blogging_MultipleBlogsInterface
  43. ?>

Documentation generated on Sat, 27 Jan 2007 12:00:11 -0500 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.