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. @link     http://pear.php.net/package/Services_Blogging
  14. */
  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.     * @return void 
  23.     */
  24.     public function setBlogId($nBlogId);
  25.  
  26.  
  27.  
  28.     /**
  29.     * Returns the id of the currently used blog.
  30.     *
  31.     * @return int Blog id
  32.     */
  33.     public function getBlogId();
  34.  
  35.  
  36.  
  37.     /**
  38.     * Returns an array of blogs for that account.
  39.     *
  40.     * @return array Array of Services_Blogging_Blog
  41.     */
  42.     public function getBlogs();
  43.  
  44. }//interface Services_Blogging_MultipleBlogsInterface
  45. ?>

Documentation generated on Mon, 11 Mar 2019 15:25:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.