MySQL and PHP

5.16.3 DatabaseObject::getSession

Copyright 1997-2019 the PHP Documentation Group.

Description

abstract public mysql_xdevapi\Session mysql_xdevapi\DatabaseObject::getSession();

Fetch session associated to the database object.

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

The Session object.

Examples

Example 5.75 mysql_xdevapi\DatabaseObject::getSession example


<?php

$session = $dbObj->getSession();

?>