Source for file Layout.php

Documentation is available at Layout.php

  1. <?php
  2. /**
  3. * Classe de base des layout, Lier aux fichier de configuration
  4. *
  5. * PHP versions 5
  6. @category  PHP
  7. @package   GeoPrisma
  8. @author    Pascal Martin
  9. @copyright 2009, Boreal - Information Strategies
  10. @license   http://www.geoprisma.org/license BSD License
  11. @link      http://www.geoprisma.org
  12. */
  13.  
  14. /**
  15. * Classe de base des layout, Lier aux fichier de configuration
  16. @category   PHP
  17. @package    GeoPrisma
  18. @subpackage Service
  19. @author     Pascal Martin
  20. */ 
  21. {
  22.     private $m_strName null;
  23.     private $m_strFile null;
  24.     private $m_strDrawMode null;
  25.     
  26.     /**
  27.     * Construit un instance de org_geoprisma_service_Service
  28.     * 
  29.     * @param string $pstrName     Layout name
  30.     * @param string $pstrFile     Layout path
  31.     * @param string $pstrDrawMode Layout draw mode
  32.     * 
  33.     * @return org_geoprisma_service_Service 
  34.     */
  35.     public function __construct($pstrName$pstrFile$pstrDrawMode
  36.     {
  37.         com_borealis_foundation_util_Assert::assertIsNotEmptyString($pstrName);
  38.         com_borealis_foundation_util_Assert::assertIsNotEmptyString($pstrFile);
  39.         com_borealis_foundation_util_Assert::assertIsNotEmptyString($pstrDrawMode);
  40.         
  41.         $this->m_strName $pstrName;
  42.         $this->m_strFile $pstrFile;
  43.         $this->m_strDrawMode $pstrDrawMode
  44.     }
  45.  
  46.     /**
  47.     * Layout name
  48.     *
  49.     * @return string 
  50.     */
  51.     public function getName()
  52.     {
  53.         return $this->m_strName;   
  54.     }
  55.     
  56.     /**
  57.     *  Layout path
  58.     *
  59.     * @return string 
  60.     */
  61.     public function getFile()
  62.     {
  63.         return $this->m_strFile;
  64.     }   
  65.  
  66.     /**
  67.     *  Layout Draw Mode
  68.     *
  69.     * @return string 
  70.     */
  71.     public function getDrawMode()
  72.     {
  73.         return $this->m_strDrawMode;
  74.     }
  75. }
  76.  
  77. ?>

Documentation generated on Mon, 20 Feb 2012 13:46:22 -0500 by phpDocumentor 1.4.1