Source for file class.ADMINARCHIV.php

Documentation is available at class.ADMINARCHIV.php

  1. <?php
  2.  
  3.  
  4. /**
  5.  * lvst - src\foundation\admin\class.ADMINARCHIV.php
  6.  *
  7.  * $Id$
  8.  *
  9.  * This file is part of lvst.
  10.  *
  11.  * Automatic generated with ArgoUML 0.16.1 on 29.07.2005, 14:10:43
  12.  *
  13.  * @author Kay Koch, <kay.koch@gmx.de>
  14.  * @package src
  15.  * @subpackage foundation_admin
  16.  */
  17.  
  18. if (version_compare(PHP_VERSION'5')) {
  19.     die('This file was generated for PHP 5');
  20. }
  21.  
  22. /**
  23.  * Parentklasse zur Administration der Tabellen
  24.  *
  25.  * @author Kay Koch, <kay.koch@gmx.de>
  26.  */
  27. require_once('src/foundation/admin/class.PARENTADMIN.php');
  28.  
  29. /**
  30.  * Interface zur Administration der Datenbank
  31.  *
  32.  * @author Kay Koch
  33.  * @since 06.2005
  34.  * @version 1.0
  35.  */
  36. require_once('src/interfaces/interface.ADMININTERFACE.php');
  37.  
  38. /* user defined includes */
  39. // section -64--88-0-1-933bcb:1056263e44b:-7ff7-includes begin
  40. // section -64--88-0-1-933bcb:1056263e44b:-7ff7-includes end
  41.  
  42. /* user defined constants */
  43. // section -64--88-0-1-933bcb:1056263e44b:-7ff7-constants begin
  44. // section -64--88-0-1-933bcb:1056263e44b:-7ff7-constants end
  45.  
  46. /**
  47.  * Short description of class src_foundation_admin_ADMINARCHIV
  48.  *
  49.  * @access public
  50.  * @author Kay Koch, <kay.koch@gmx.de>
  51.  * @package src
  52.  * @subpackage foundation_admin
  53.  */
  54.         implements src_interfaces_ADMININTERFACE
  55. {
  56.     // --- ATTRIBUTES ---
  57.  
  58.     
  59.     /**
  60.      * Short description of attribute oArchiv
  61.      *
  62.      * @access private
  63.      * @var ARCHIV 
  64.      */
  65.     private $oArchiv null;
  66.  
  67.     /**
  68.      * Short description of attribute arrKeys
  69.      *
  70.      * @access protected
  71.      * @var array 
  72.      */
  73.     protected $arrKeys = array();
  74.  
  75.     /**
  76.      * Short description of attribute pageTemplate
  77.      *
  78.      * @access protected
  79.      * @var string 
  80.      */
  81.     protected $pageTemplate = 'archiv';
  82.  
  83.     // --- OPERATIONS ---
  84.  
  85.     
  86.     /**
  87.      * zeigt alle Einträge einer Tabelle
  88.      *
  89.      * @access public
  90.      * @author Kay Koch, <kay.koch@gmx.de>
  91.      * @return void 
  92.      */
  93.     public function show()
  94.     {
  95.         // section -64--88-122--2--6176e79b:103fa06a375:-7fad begin
  96.         if ($this->loginOK{
  97.             $arrEntries $this->oArchiv->getRow();
  98.             $this->rows ="";
  99.             list($this->d1,$this->d2,$this->d3$this->oArchiv->getDates();
  100.             $oVerein new src_foundation_tables_VEREINE;
  101.             foreach($arrEntries as $this->data{
  102.                 $oVerein->setParams($this->data['verein_nr']);
  103.                 $this->data['seename']=$this->oSeen->getSeen($this->data['see_id'])->name;
  104.                 $this->data['verein']=$oVerein->name;
  105.                 $this->rows .= src_tools_TEMPLATE::getTemplate("admin_" $this->pageTemplate . "_row"$this);
  106.             }
  107.             $this->makePage("admin_" $this->pageTemplate);
  108.         }
  109.         // section -64--88-122--2--6176e79b:103fa06a375:-7fad end
  110.     }
  111.  
  112.     /**
  113.      * liefert ein Formular zur Änderung bzw. Neueingabe eines Datensatzes
  114.      *
  115.      * Wenn die Tabellenspezifischen Parameter vorhergesetzt wurden wird der
  116.      * Datensatz ausgegeben. Ansonsten erscheint ein leeres Formular
  117.      *
  118.      * @access public
  119.      * @author Kay Koch, <kay.koch@gmx.de>
  120.      * @return void 
  121.      */
  122.     public function change()
  123.     {
  124.         // section -64--88-122--2--6176e79b:103fa06a375:-7fa9 begin
  125.         // section -64--88-122--2--6176e79b:103fa06a375:-7fa9 end
  126.     }
  127.  
  128.     /**
  129.      * Aktualisieet den vorher durch setzen der Parameter ausgewählten
  130.      *
  131.      * Die Neuen Daten befinden sich im Übergabefeld $data
  132.      *
  133.      * @access public
  134.      * @author Kay Koch, <kay.koch@gmx.de>
  135.      * @param array 
  136.      * @return void 
  137.      */
  138.     public function update($data)
  139.     {
  140.         // section -64--88-122--2--6176e79b:103fa06a375:-7f83 begin
  141.         // section -64--88-122--2--6176e79b:103fa06a375:-7f83 end
  142.     }
  143.  
  144.     /**
  145.      * Löscht den Datensatz der vorher durch Parameter ausgewählt wurde
  146.      *
  147.      * @access public
  148.      * @author Kay Koch, <kay.koch@gmx.de>
  149.      * @return void 
  150.      */
  151.     public function delete()
  152.     {
  153.         // section -64--88-122--2--6176e79b:103fa06a375:-7f7f begin
  154.         // section -64--88-122--2--6176e79b:103fa06a375:-7f7f end
  155.     }
  156.  
  157.     /**
  158.      * Fügt einen neuen datensatz mit den Werten des Übergabeparameter $data
  159.      *
  160.      * @access public
  161.      * @author Kay Koch, <kay.koch@gmx.de>
  162.      * @param array 
  163.      * @return void 
  164.      */
  165.     public function insert($data)
  166.     {
  167.         // section -64--88-122--2--6176e79b:103fa06a375:-7f7d begin
  168.         // section -64--88-122--2--6176e79b:103fa06a375:-7f7d end
  169.     }
  170.  
  171.     /**
  172.      * überprüft die Korrektheit der eingebenen bzw. geänderten Daten
  173.      *
  174.      * @access public
  175.      * @author Kay Koch, <kay.koch@gmx.de>
  176.      * @param void 
  177.      * @return boolean 
  178.      */
  179.     public function checkData(&$data)
  180.     {
  181.         $returnValue = (bool) false;
  182.  
  183.         // section -64--88-122--2--62c31de:1048594e50f:-7fef begin
  184.         // section -64--88-122--2--62c31de:1048594e50f:-7fef end
  185.  
  186.         return (bool) $returnValue;
  187.     }
  188.  
  189.     /**
  190.      * Short description of method __construct
  191.      *
  192.      * @access public
  193.      * @author Kay Koch, <kay.koch@gmx.de>
  194.      * @param string 
  195.      * @return void 
  196.      */
  197.     public function __construct($token$endDatum="")
  198.     {
  199.         // section -64--88-0-1-933bcb:1056263e44b:-7fee begin
  200.         parent::__construct($token);
  201.         $this->oArchiv new src_foundation_tables_ARCHIV();
  202.         if (!empty($endDatum)){
  203.             $this->oArchiv->setParams($endDatum);
  204.             $this->oArchiv->updateData();
  205.         }
  206.         $this->setStartParameters ($this,$this->oArchiv);
  207.         // section -64--88-0-1-933bcb:1056263e44b:-7fee end
  208.     }
  209.  
  210. /* end of class src_foundation_admin_ADMINARCHIV */
  211.  
  212. ?>

Documentation generated on Sat, 24 Mar 2007 09:57:53 +0100 by phpDocumentor 1.3.1