cvs: peardoc /de/package/authentication/auth intro-storage.xml

From: Date: Fri, 30 Dec 2005 15:21:52 +0000
Subject: cvs: peardoc /de/package/authentication/auth intro-storage.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7390@lists.php.net to get a copy of this message
alexmerz Fri Dec 30 15:21:52 2005 EDT Modified files: /peardoc/de/package/authentication/auth intro-storage.xml Log: sync to 1.16 http://cvs.php.net/viewcvs.cgi/peardoc/de/package/authentication/auth/intro-storage.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/de/package/authentication/auth/intro-storage.xml diff -u peardoc/de/package/authentication/auth/intro-storage.xml:1.5 peardoc/de/package/authentication/auth/intro-storage.xml:1.6 --- peardoc/de/package/authentication/auth/intro-storage.xml:1.5 Mon Jun 13 13:21:58 2005 +++ peardoc/de/package/authentication/auth/intro-storage.xml Fri Dec 30 15:21:52 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.15 Maintainer: alexmerz Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.16 Maintainer: alexmerz Status: ready --> <refentry id="package.authentication.auth.intro-storage"> <refnamediv> <refname>Speicher-Container</refname> @@ -67,7 +67,7 @@ </entry> <entry> <quote>username</quote> - </entry> + </entry> </row> <row> <entry><quote>passwordcol</quote></entry> @@ -473,19 +473,24 @@ <title>CustomAuthContainer.php</title> <programlisting role="php"> <![CDATA[ -include_once('Auth/Container.php'); +include_once 'Auth/Container.php'; + class CustomAuthContainer extends Auth_Container { - /** Constructor */ + + /** + * Constructor + */ function AuthContainerDatabase($params){ // Init Here } + function fetchData($username, $password){ // Check If valid etc if($isvalid){ // Perform Some Actions - return(true); + return true; } - return(false); + return false; } } ]]> @@ -499,8 +504,8 @@ <title>authcustom.php</title> <programlisting role="php"> <![CDATA[ -include_once('CustomAuthContainer.php'); -include_once('Auth/Auth.php'); +include_once 'CustomAuthContainer.php'; +include_once 'Auth/Auth.php'; $auth_container = new CustomAuthContainer($params); $myauth = new Auth($auth_container);

« previous php.pear.doc (#7390) next »