Zikula_System_Modules
[ class tree: Zikula_System_Modules ] [ index: Zikula_System_Modules ] [ all elements ]

Source for file PNLogEvent.class.php

Documentation is available at PNLogEvent.class.php

  1. <?php
  2. /**  ---------------------------------------------------------------------
  3.  *  LICENSE
  4.  *
  5.  *  This program is free software; you can redistribute it and/or
  6.  *  modify it under the terms of the GNU General Public License (GPL)
  7.  *  as published by the Free Software Foundation; either version 2
  8.  *  of the License, or (at your option) any later version.
  9.  *
  10.  *  This program is distributed in the hope that it will be useful,
  11.  *  but WIthOUT ANY WARRANTY; without even the implied warranty of
  12.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  *  GNU General Public License for more details.
  14.  *
  15.  *  To read the license please visit http://www.gnu.org/copyleft/gpl.html
  16.  *  ----------------------------------------------------------------------
  17.  *  Original Author of  OpenStar Module Generator
  18.  *  Author Contact: r.gasch@chello.nl, robert.gasch@value4business.com
  19.  *  Purpose of file: class implementation
  20.  *  Copyright: Value4Business GmbH
  21.  *  ----------------------------------------------------------------------
  22.  * @package Zikula_System_Modules
  23.  * @subpackage SecurityCenter
  24.  */
  25.  
  26.  
  27. /**
  28.  * PNLogEvent
  29.  *
  30.  * @package Zikula_System_Modules
  31.  * @subpackage SecurityCenter
  32.  */
  33. class PNLogEvent extends PNObject 
  34. {
  35.     function PNLogEvent($init=null$key=0)
  36.     {
  37.         $this->PNObject();
  38.  
  39.         $this->_objType       = 'sc_logevent';
  40.         $this->_objField      = 'id';
  41.         $this->_objPath       = 'logevent';
  42.  
  43.         $this->_objJoin[]     array ('join_table'          =>  'users',
  44.                                        'join_field'          =>  'uname',
  45.                                        'object_field_name'   =>  'username',
  46.                                        'compare_field_table' =>  'uid',
  47.                                        'compare_field_join'  =>  'uid');
  48.  
  49.         $this->_init($init$key);
  50.     }
  51. }

Documentation generated on Fri, 18 Jul 2008 21:53:54 +0200 by phpDocumentor 1.4.1