| [ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
Base PDO storage for profiling information in a PDO database.
| Author: | Fabien Potencier <fabien@symfony.com> |
| Author: | Jan Schumann <js@schumann-it.com> |
| File Size: | 261 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| __construct($dsn, $username = '', $password = '', $lifetime = 86400) X-Ref |
| Constructor. param: string $dsn A data source name param: string $username The username for the database param: string $password The password for the database param: int $lifetime The lifetime to use for the purge |
| find($ip, $url, $limit, $method, $start = null, $end = null) X-Ref |
| {@inheritdoc} |
| read($token) X-Ref |
| {@inheritdoc} |
| write(Profile $profile) X-Ref |
| {@inheritdoc} |
| purge() X-Ref |
| {@inheritdoc} |
| cleanup() X-Ref |
| Initializes the database. |
| exec($db, $query, array $args = array() X-Ref |
| No description |
| prepareStatement($db, $query) X-Ref |
| No description |
| fetch($db, $query, array $args = array() X-Ref |
| No description |
| close($db) X-Ref |
| No description |
| createProfileFromData($token, $data, $parent = null) X-Ref |
| No description |
| readChildren($token, $parent) X-Ref |
| Reads the child profiles for the given token. param: string $token The parent token param: string $parent The parent instance return: Profile[] An array of Profile instance |
| has($token) X-Ref |
| Returns whether data for the given token already exists in storage. param: string $token The profile token return: string |
| Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |