1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 3 4/** 5 * A framework for authentication and permorization in PHP applications 6 * 7 * LiveUser_Admin is meant to be used with the LiveUser package. 8 * It is composed of all the classes necessary to administrate 9 * data used by LiveUser. 10 * 11 * You'll be able to add/edit/delete/get things like: 12 * * Rights 13 * * Users 14 * * Groups 15 * * Areas 16 * * Applications 17 * * Subgroups 18 * * ImpliedRights 19 * 20 * And all other entities within LiveUser. 21 * 22 * At the moment we support the following storage containers: 23 * * DB 24 * * MDB 25 * * MDB2 26 * 27 * But it takes no time to write up your own storage container, 28 * so if you like to use native mysql functions straight, then it's possible 29 * to do so in under a hour! 30 * 31 * PHP version 4 and 5 32 * 33 * LICENSE: This library is free software; you can redistribute it and/or 34 * modify it under the terms of the GNU Lesser General Public 35 * License as published by the Free Software Foundation; either 36 * version 2.1 of the License, or (at your option) any later version. 37 * 38 * This library is distributed in the hope that it will be useful, 39 * but WITHOUT ANY WARRANTY; without even the implied warranty of 40 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 41 * Lesser General Public License for more details. 42 * 43 * You should have received a copy of the GNU Lesser General Public 44 * License along with this library; if not, write to the Free Software 45 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 46 * MA 02111-1307 USA 47 * 48 * 49 * @category authentication 50 * @package LiveUser_Admin 51 * @permor Markus Wolff <wolff@21st.de> 52 * @permor Helgi �ormar �orbj�rnsson <dufuz@php.net> 53 * @permor Lukas Smith <smith@pooteeweet.org> 54 * @permor Arnaud Limbourg <arnaud@php.net> 55 * @permor Christian Dickmann <dickmann@php.net> 56 * @permor Matt Scifo <mscifo@php.net> 57 * @permor Bjoern Kraus <krausbn@php.net> 58 * @copyright 2002-2006 Markus Wolff 59 * @license http://www.gnu.org/licenses/lgpl.txt 60 * @version CVS: $Id: PDO.php 208328 2006-03-01 12:10:30Z lsmith $ 61 * @link http://pear.php.net/LiveUser_Admin 62 */ 63 64/** 65 * Require parent class definition. 66 */ 67require_once 'LiveUser/Admin/Storage/PDO.php'; 68 69/** 70 * This is a PECL::PDO backend storage driver for the LiveUser Admin auth class. 71 * All it does is read the Globals.php file and the container and database config on 72 * 73 * @category authentication 74 * @package LiveUser_Admin 75 * @permor Lukas Smith <smith@pooteeweet.org> 76 * @permor Bjoern Kraus <krausbn@php.net> 77 * @copyright 2002-2006 Markus Wolff 78 * @license http://www.gnu.org/licenses/lgpl.txt 79 * @version Release: @package_version@ 80 * @link http://pear.php.net/LiveUser_Admin 81 */ 82class LiveUser_Admin_Auth_Storage_PDO extends LiveUser_Admin_Storage_PDO 83{ 84 /** 85 * Initializes database storage container. 86 * 87 * @param array Storage Configuration 88 * @return void 89 * 90 * @access public 91 * @uses LiveUser_Admin_Storage_PDO::init 92 */ 93 function init(&$storageConf) 94 { 95 require_once 'LiveUser/Auth/Storage/Globals.php'; 96 parent::init($storageConf, $GLOBALS['_LiveUser']['auth']); 97 } 98} 99?> 100