[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/sitemgr/inc/ -> class.Block_SO.inc.php (source)

   1  <?php
   2      /**************************************************************************\
   3      * eGroupWare SiteMgr - Web Content Management                              *
   4      * http://www.egroupware.org                                                *
   5      * --------------------------------------------                             *
   6      *  This program is free software; you can redistribute it and/or modify it *
   7      *  under the terms of the GNU General Public License as published by the   *
   8      *  Free Software Foundation; either version 2 of the License, or (at your  *
   9      *  option) any later version.                                              *
  10      \**************************************************************************/
  11  
  12      /* $Id: class.Block_SO.inc.php 20295 2006-02-15 12:31:25Z  $ */
  13  
  14      class Block_SO
  15      {
  16          var $id;
  17          var $cat_id;
  18          var $page_id;
  19          var $area;
  20          var $module_id;
  21          var $module_name;
  22          var $arguments;
  23          var $sort_order;
  24          var $title;
  25          var $view;
  26          var $state;
  27          var $version;
  28          
  29  		function Block_SO($args=array())
  30          {
  31              if (is_array($args))
  32              {
  33                  foreach($args as $name => $value)
  34                  {
  35                      $this->$name = $value;
  36                  }
  37              }
  38          }
  39  
  40  		function set_version($version)
  41          {
  42              $this->arguments = $version['arguments'];
  43              $this->state = $version['state'];
  44              $this->version = $version['id'];
  45          }
  46      }
  47  ?>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7