Commit 61add25b authored by Nicolas Cornu's avatar Nicolas Cornu

Manage fatfree with composer

parent b89d6b9c
/tmp
app/config.php
tests/tmp
*~
vendor
composer.lock
piphone module
==============
See : https://git.leloop.org/laquadraturedunet/piphone
Installation
++++++++++++
You need to have composer installed and run `composer install` in main directory.
{
"require": {
"bcosca/fatfree": "^3.5"
}
}
<?php
require_once("vendor/autoload.php");
// Retrieve instance of the framework
$f3=require('lib/base.php');
$f3 = Base::instance();
// Initialize CMS
$f3->config('app/config.ini');
......
This diff is collapsed.
<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Fat-Free Framework: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Fat-Free Framework
&#160;<span id="projectnumber">3.3.0</span>
&#160;<span class="menu"><a href="index.html">Overview</a> <a href="annotated.html">Class List</a> <a href="hierarchy.html">Hierarchy</a></span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Audit Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classAudit.html">Audit</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classAudit.html#a4a770cba20e7000564c5fb6b5c11a20b">card</a>($id)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classAudit.html#a02ac097b7d0aecabd3240caa9f0da721">email</a>($str, $mx=TRUE)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAudit.html#a1d749ab3e7722c44f637e531dd896e5d">entropy</a>($str)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classPrefab.html#a459ac539bc012dbdb77abe0d0ebeba76">instance</a>()</td><td class="entry"><a class="el" href="classPrefab.html">Prefab</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAudit.html#ad212e486cbfe86be9f5c11ad3910b815">ipv4</a>($addr)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classAudit.html#ab063234ba71915d238a52dc95a00d329">ipv6</a>($addr)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAudit.html#a4eb6504047ce071cc445eba3d96b4f6f">isbot</a>()</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classAudit.html#a67dde47e31fc8735a5eee934025bacb1">isdesktop</a>()</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAudit.html#aa816122125e18fdd26cd2a442eab7d26">ismobile</a>()</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classAudit.html#ad3a7ec3b4e409b9840568c984b210c8c">isprivate</a>($addr)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAudit.html#aca7caf71d2616e348202b3d956d6fa90">ispublic</a>($addr)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classAudit.html#ae495176807f8eb67bf0594ed4093b790">isreserved</a>($addr)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAudit.html#aac0692b7b6ad10d1b24f38acf3c0dc83">mod10</a>($id)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>UA_Bot</b> (defined in <a class="el" href="classAudit.html">Audit</a>)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>UA_Desktop</b> (defined in <a class="el" href="classAudit.html">Audit</a>)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>UA_Mobile</b> (defined in <a class="el" href="classAudit.html">Audit</a>)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAudit.html#ab336b765e98d6370c23174a4e8fdcabb">url</a>($str)</td><td class="entry"><a class="el" href="classAudit.html">Audit</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
This diff is collapsed.
<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Fat-Free Framework: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Fat-Free Framework
&#160;<span id="projectnumber">3.3.0</span>
&#160;<span class="menu"><a href="index.html">Overview</a> <a href="annotated.html">Class List</a> <a href="hierarchy.html">Hierarchy</a></span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Auth Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classAuth.html">Auth</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classAuth.html#a55fe1ead3a1d98ebf8bf8cf8b1b53f01">$args</a></td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classAuth.html#aa0dd5e242e10635a711189fcb1673fd6">$mapper</a></td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAuth.html#a3c401740695b0ef052453b47e62fef32">$storage</a></td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classAuth.html#a3acec8d6661f80b9391325c05e9a5e9b">__construct</a>($storage, array $args=NULL)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAuth.html#ad14f27280f661eb59e3342ac2bfdd49a">_jig</a>($id, $pw, $realm)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classAuth.html#a161289265afd89d2bd806de3ea0d9f76">_ldap</a>($id, $pw)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAuth.html#aa888685f5c957d3d04c49b355a0d8b57">_mongo</a>($id, $pw, $realm)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classAuth.html#ad2fdb977148476112d043b6df4dbf623">_smtp</a>($id, $pw)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAuth.html#aa5f51c454caad1520106cd4280e6ed69">_sql</a>($id, $pw, $realm)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classAuth.html#a68962efdc28e9485ef4d7348ed558da8">basic</a>($func=NULL)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>E_LDAP</b> (defined in <a class="el" href="classAuth.html">Auth</a>)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>E_SMTP</b> (defined in <a class="el" href="classAuth.html">Auth</a>)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classAuth.html#aa74a868102e98c304ff44ccb361617b0">login</a>($id, $pw, $realm=NULL)</td><td class="entry"><a class="el" href="classAuth.html">Auth</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Fat-Free Framework: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Fat-Free Framework
&#160;<span id="projectnumber">3.3.0</span>
&#160;<span class="menu"><a href="index.html">Overview</a> <a href="annotated.html">Class List</a> <a href="hierarchy.html">Hierarchy</a></span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Basket Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classBasket.html">Basket</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a5fd28a67f4711c401d8d726d9b432232">$id</a></td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classBasket.html#a1f35cdf5c15d3caf64de8fd5646e7404">$item</a></td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a1a94285625eca732471fdfb838bec34b">$key</a></td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classBasket.html#a25953f6490898a30a6e0a24a0b727ed9">__construct</a>($key='basket')</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a76f59fa92c045b7503531f5b7d082f90">checkout</a>()</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classBasket.html#a9e784b838ebd612900ca9835cfb7ba31">clear</a>($key)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a040d3a8c5e13e672809f52e6af8d2d48">copyfrom</a>($key)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classBasket.html#abfa06cae15121a11ad31c045829aa8fc">copyto</a>($key)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a58362412b49492c34d55bc6e0014e619">count</a>()</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classBasket.html#a0ad059d3e7d4b34fbaf4e604fbfa9948">drop</a>()</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a822f48fb10ebda456c53f7035885fa1d">dry</a>()</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>E_Field</b> (defined in <a class="el" href="classBasket.html">Basket</a>)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a221e89eabf20b01d9dd91aa8d7e5655b">erase</a>($key, $val)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classBasket.html#a22e8ae4c6bc88c42ed84c00b49301066">exists</a>($key)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a3180d66fbdf396a3549c339c1fd5a46e">find</a>($key=NULL, $val=NULL)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classBasket.html#ab55d4e6a68addf6c5ef9b064031e2681">findone</a>($key, $val)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#aec19632fe0f12d26bcf791459e89bfa5">get</a>($key)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classBasket.html#a986fbb61889a671b23cae562e1528880">load</a>($key, $val)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a15eb256f0f0b4570ab7affac4c4ce63e">reset</a>()</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classBasket.html#ac23ce0bccdc2275ea96dd6bfbc6c8e59">save</a>()</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBasket.html#a0cb7d0bf3b9ed6ecd2fc49ce9df078d4">set</a>($key, $val)</td><td class="entry"><a class="el" href="classBasket.html">Basket</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
This diff is collapsed.
<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Fat-Free Framework: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Fat-Free Framework
&#160;<span id="projectnumber">3.3.0</span>
&#160;<span class="menu"><a href="index.html">Overview</a> <a href="annotated.html">Class List</a> <a href="hierarchy.html">Hierarchy</a></span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Bcrypt Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classBcrypt.html">Bcrypt</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classBcrypt.html#a1585e7ecdf377dbd67387363da582b47">COST</a></td><td class="entry"><a class="el" href="classBcrypt.html">Bcrypt</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>E_CostArg</b> (defined in <a class="el" href="classBcrypt.html">Bcrypt</a>)</td><td class="entry"><a class="el" href="classBcrypt.html">Bcrypt</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>E_SaltArg</b> (defined in <a class="el" href="classBcrypt.html">Bcrypt</a>)</td><td class="entry"><a class="el" href="classBcrypt.html">Bcrypt</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classBcrypt.html#adfde3babee4bf0fce0c2e161204a9779">hash</a>($pw, $salt=NULL, $cost=self::COST)</td><td class="entry"><a class="el" href="classBcrypt.html">Bcrypt</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classPrefab.html#a459ac539bc012dbdb77abe0d0ebeba76">instance</a>()</td><td class="entry"><a class="el" href="classPrefab.html">Prefab</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="classBcrypt.html#a6af12217cde70314d70c26b461a9345c">needs_rehash</a>($hash, $cost=self::COST)</td><td class="entry"><a class="el" href="classBcrypt.html">Bcrypt</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classBcrypt.html#a0127bb982943f4e07cd6ea5c068307d7">verify</a>($pw, $hash)</td><td class="entry"><a class="el" href="classBcrypt.html">Bcrypt</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Fat-Free Framework: Bcrypt Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Fat-Free Framework
&#160;<span id="projectnumber">3.3.0</span>
&#160;<span class="menu"><a href="index.html">Overview</a> <a href="annotated.html">Class List</a> <a href="hierarchy.html">Hierarchy</a></span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classBcrypt-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Bcrypt Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Lightweight password hashing library.
<a href="classBcrypt.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Bcrypt:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center">
<img src="classBcrypt.png" usemap="#Bcrypt_map" alt=""/>
<map id="Bcrypt_map" name="Bcrypt_map">
<area href="classPrefab.html" title="Factory class for single-instance objects. " alt="Prefab" shape="rect" coords="0,0,50,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adfde3babee4bf0fce0c2e161204a9779"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBcrypt.html#adfde3babee4bf0fce0c2e161204a9779">hash</a> ($pw, $salt=NULL, $cost=self::COST)</td></tr>
<tr class="separator:adfde3babee4bf0fce0c2e161204a9779"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6af12217cde70314d70c26b461a9345c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBcrypt.html#a6af12217cde70314d70c26b461a9345c">needs_rehash</a> ($<a class="el" href="classBcrypt.html#adfde3babee4bf0fce0c2e161204a9779">hash</a>, $cost=self::COST)</td></tr>
<tr class="separator:a6af12217cde70314d70c26b461a9345c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0127bb982943f4e07cd6ea5c068307d7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBcrypt.html#a0127bb982943f4e07cd6ea5c068307d7">verify</a> ($pw, $<a class="el" href="classBcrypt.html#adfde3babee4bf0fce0c2e161204a9779">hash</a>)</td></tr>
<tr class="separator:a0127bb982943f4e07cd6ea5c068307d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a1585e7ecdf377dbd67387363da582b47"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1585e7ecdf377dbd67387363da582b47"></a>
const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBcrypt.html#a1585e7ecdf377dbd67387363da582b47">COST</a> =10</td></tr>
<tr class="memdesc:a1585e7ecdf377dbd67387363da582b47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default cost. <br /></td></tr>
<tr class="separator:a1585e7ecdf377dbd67387363da582b47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:acc5678144b71e7cfc2a3ddab09efb8c4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc5678144b71e7cfc2a3ddab09efb8c4"></a>
const&#160;</td><td class="memItemRight" valign="bottom"><b>E_CostArg</b> ='Invalid cost parameter'</td></tr>
<tr class="separator:acc5678144b71e7cfc2a3ddab09efb8c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5a770850d97011c0a96f85937b67372"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5a770850d97011c0a96f85937b67372"></a>
const&#160;</td><td class="memItemRight" valign="bottom"><b>E_SaltArg</b> ='Salt must be at least 22 alphanumeric characters'</td></tr>
<tr class="separator:ab5a770850d97011c0a96f85937b67372"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classPrefab"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classPrefab')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classPrefab.html">Prefab</a></td></tr>
<tr class="memitem:a459ac539bc012dbdb77abe0d0ebeba76 inherit pub_static_methods_classPrefab"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPrefab.html#a459ac539bc012dbdb77abe0d0ebeba76">instance</a> ()</td></tr>
<tr class="separator:a459ac539bc012dbdb77abe0d0ebeba76 inherit pub_static_methods_classPrefab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Lightweight password hashing library. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="adfde3babee4bf0fce0c2e161204a9779"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Bcrypt::hash </td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>$pw</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>$salt</em> = <code>NULL</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>$cost</em> = <code>self::COST</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Generate bcrypt hash of string </p><dl class="section return"><dt>Returns</dt><dd>string|FALSE </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">$pw</td><td>string </td></tr>
<tr><td class="paramname">$salt</td><td>string </td></tr>
<tr><td class="paramname">$cost</td><td>int </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a6af12217cde70314d70c26b461a9345c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Bcrypt::needs_rehash </td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>$hash</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>$cost</em> = <code>self::COST</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if password is still strong enough </p><dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">$hash</td><td>string </td></tr>
<tr><td class="paramname">$cost</td><td>int </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0127bb982943f4e07cd6ea5c068307d7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Bcrypt::verify </td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>$pw</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>$hash</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Verify password against hash using timing attack resistant approach </p><dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">$pw</td><td>string </td></tr>
<tr><td class="paramname">$hash</td><td>string </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>bcrypt.php</li>
</ul>
</div><!-- contents -->
<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Fat-Free Framework: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Fat-Free Framework
&#160;<span id="projectnumber">3.3.0</span>
&#160;<span class="menu"><a href="index.html">Overview</a> <a href="annotated.html">Class List</a> <a href="hierarchy.html">Hierarchy</a></span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Cache Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classCache.html">Cache</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classCache.html#ac021bf9bbe23e7c03af36c23bfc08010">$dsn</a></td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classCache.html#a8d719294c5cd3df46da675a1cb3d0947">$prefix</a></td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classCache.html#aac8626c6d188a58f1220d74451fdb24f">$ref</a></td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classCache.html#a5dabe98b015fd4ff9ce2f1e24a2d458a">__construct</a>($dsn=FALSE)</td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classCache.html#ad1e284b1bd8a1d927a9ad0c3591e25c4">clear</a>($key)</td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classCache.html#ac8e1317d73d208d62bc15b4874b95e2a">exists</a>($key, &amp;$val=NULL)</td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classCache.html#ad25f006b5b60f18f23b3009ed18ce35b">get</a>($key)</td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classPrefab.html#a459ac539bc012dbdb77abe0d0ebeba76">instance</a>()</td><td class="entry"><a class="el" href="classPrefab.html">Prefab</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classCache.html#a8945c7c861557e851f252c24d92309a1">load</a>($dsn)</td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classCache.html#a1075f1392063026ef20097e97bbbd621">reset</a>($suffix=NULL, $lifetime=0)</td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classCache.html#a2af7f347a97a8e8626408df44514dbee">set</a>($key, $val, $ttl=0)</td><td class="entry"><a class="el" href="classCache.html">Cache</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Fat-Free Framework: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />