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

Documentation generated on Mon, 11 Mar 2019 14:57:59 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.