Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
d580da2d
Commit
d580da2d
authored
9 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Add namespace to phpdoc comments.
parent
1cef2b00
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Database.php
+7
-7
7 additions, 7 deletions
lib/SimpleSAML/Database.php
with
7 additions
and
7 deletions
lib/SimpleSAML/Database.php
+
7
−
7
View file @
d580da2d
...
@@ -46,7 +46,7 @@ class Database
...
@@ -46,7 +46,7 @@ class Database
* Retrieves the current database instance. Will create a new one if there isn't an existing connection.
* Retrieves the current database instance. Will create a new one if there isn't an existing connection.
*
*
* @param object $altConfig Optional: Instance of a SimpleSAML_Configuration class
* @param object $altConfig Optional: Instance of a SimpleSAML_Configuration class
* @return SimpleSAML
_
Database The shared database connection.
* @return
\
SimpleSAML
\
Database The shared database connection.
*/
*/
public
static
function
getInstance
(
$altConfig
=
null
)
public
static
function
getInstance
(
$altConfig
=
null
)
{
{
...
@@ -121,7 +121,7 @@ class Database
...
@@ -121,7 +121,7 @@ class Database
* @param $password SQL password
* @param $password SQL password
* @param $options PDO options
* @param $options PDO options
*
*
* @return PDO object
* @return
\
PDO object
*/
*/
private
function
connect
(
$dsn
,
$username
,
$password
,
$options
)
private
function
connect
(
$dsn
,
$username
,
$password
,
$options
)
{
{
...
@@ -140,7 +140,7 @@ class Database
...
@@ -140,7 +140,7 @@ class Database
* to query. In the event no slaves are configured, it
* to query. In the event no slaves are configured, it
* will return the master.
* will return the master.
*
*
* @return PDO object
* @return
\
PDO object
*/
*/
private
function
getSlave
()
private
function
getSlave
()
{
{
...
@@ -171,7 +171,7 @@ class Database
...
@@ -171,7 +171,7 @@ class Database
* @param $stmt Prepared SQL statement
* @param $stmt Prepared SQL statement
* @param $params Parameters
* @param $params Parameters
*
*
* @return PDO statement object
* @return
\
PDO statement object
*/
*/
private
function
query
(
$db
,
$stmt
,
$params
)
private
function
query
(
$db
,
$stmt
,
$params
)
{
{
...
@@ -206,7 +206,7 @@ class Database
...
@@ -206,7 +206,7 @@ class Database
* @param $stmt Prepared SQL statement
* @param $stmt Prepared SQL statement
* @param $params Parameters
* @param $params Parameters
*
*
* @return PDO statement object
* @return
\
PDO statement object
*/
*/
private
function
exec
(
$db
,
$stmt
)
private
function
exec
(
$db
,
$stmt
)
{
{
...
@@ -228,7 +228,7 @@ class Database
...
@@ -228,7 +228,7 @@ class Database
* @param $stmt Prepared SQL statement
* @param $stmt Prepared SQL statement
* @param $params Parameters
* @param $params Parameters
*
*
* @return PDO statement object
* @return
\
PDO statement object
*/
*/
public
function
write
(
$stmt
,
$params
=
array
())
public
function
write
(
$stmt
,
$params
=
array
())
{
{
...
@@ -248,7 +248,7 @@ class Database
...
@@ -248,7 +248,7 @@ class Database
* @param $stmt Prepared SQL statement
* @param $stmt Prepared SQL statement
* @param $params Parameters
* @param $params Parameters
*
*
* @return PDO statement object
* @return
\
PDO statement object
*/
*/
public
function
read
(
$stmt
,
$params
=
array
())
public
function
read
(
$stmt
,
$params
=
array
())
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment