Auth_HTTP::Auth_HTTP()

Auth_HTTP::Auth_HTTP() -- コンストラクタ

概要

void Auth_HTTP::Auth_HTTP ([string $storageDriver = "DB" [, mixed $options = ""]])

説明

認証システムのコンストラクタ

パラメータ

string $storageDriver

使用するストレージドライバの名称

mixed $options

ログイン情報に関する文字列、 もしくはストレージドライ版のオプションの配列

注意

この関数は、スタティックにコールする ことはできません。

例 28-1DBパラメータの使用


<?php
require_once "Auth/HTTP.php";

$a = new Auth_HTTP("DB", "mysql://test:test@localhost/test");

$a->start();
?>