Source for file INFA_MOD_CMS_MENU_NODE.phpclass

Documentation is available at INFA_MOD_CMS_MENU_NODE.phpclass

  1. <?php
  2. /**
  3.   * openCSP interface file INFA_CMS_MENU_NODE.phpclass
  4.   *
  5.   * @project Open CSP-Management
  6.   * @package modules
  7.   *
  8.   * @author Peter Krebs <pitlinz@users.sourceforge.net>
  9.   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  10.   *
  11.   * @since pk-15.06.2008
  12.   * @version $Id: INFA_MOD_CMS_MENU_NODE.phpclass,v 1.6 2008/07/08 11:39:02 pitlinz Exp $
  13.   */
  14.  
  15.  
  16. pcf_require_interface('INFA_CMS_MENU_NODE',__OCSP_PHPINCPATH__ ."/cms/menu/INFA_CMS_MENU_NODE.phpclass");
  17.  
  18.  
  19. /**
  20.   * openCSP interface INFA_CMS_MENU_NODE
  21.   *
  22.   * @project Open CSP-Management
  23.   * @package modules
  24.   *
  25.   * @author Peter Krebs <pitlinz@users.sourceforge.net>
  26.   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  27.   *
  28.   * @since pk-15.06.2008
  29.   * @version $Id: INFA_MOD_CMS_MENU_NODE.phpclass,v 1.6 2008/07/08 11:39:02 pitlinz Exp $
  30.   */
  31. {
  32.     /*** class constants  --------------------------------------------- */
  33.  
  34.     /*** compostion --------------------------------------------------- */
  35.     
  36.     /*** attributes  -------------------------------------------------- */
  37.     
  38.     /*** factory / construct  ----------------------------------------- */
  39.     
  40.     /*** getter / setter ---------------------------------------------- */
  41.     
  42.     /**
  43.       * returns the cms menu id
  44.       *
  45.       * @return int 
  46.       */
  47.     public function getMenId()
  48.     
  49.     /**
  50.       * returns the class source file (absolute path)
  51.       * 
  52.       * you can use __FILE__ if the class is final
  53.       * else ensure this returns the absolute path
  54.       * to the source file needed to be included
  55.       * if the class does not exists
  56.       * 
  57.       * @param boolean $debug 
  58.       * 
  59.       * @return string 
  60.       * 
  61.       */
  62.     public function getClassInclude($debug=False);
  63.  
  64.     /*** ocsp module methods   ----------------------------------- */
  65.     
  66.     /**
  67.      * returns the module the menu belongs to
  68.      * 
  69.      * @param boolean $debug 
  70.      * 
  71.      * @return OCSP_MODULE 
  72.      */
  73.     public function &getMyModule($debug=False);
  74.     
  75.  
  76.     /*** child nodes   ------------------------------------------ */
  77.     
  78.     /**
  79.      * factory of a child node
  80.      *
  81.      * @param array $childKeys 
  82.      * @param boolean $debug 
  83.      * 
  84.      * @return CMS_MENU_NODE 
  85.      */
  86.     public function &factoryChildNode($childKeys,$debug=False);
  87.     
  88. }
  89.  
  90. ?>

Documentation generated on Thu, 08 Jan 2009 17:44:27 +0100 by phpDocumentor 1.4.0a2