Some more phpdoc fixes (adding packages, ignoring some symbols,...).

This commit is contained in:
Michal Čihař
2008-11-24 09:31:30 +00:00
parent d2a7434584
commit 610cc27c57
11 changed files with 62 additions and 30 deletions

View File

@@ -13,6 +13,9 @@ if (! defined('PHPMYADMIN')) {
exit; exit;
} }
/**
* Swekey authentication functions.
*/
require './libraries/auth/swekey/swekey.auth.lib.php'; require './libraries/auth/swekey/swekey.auth.lib.php';
if (function_exists('mcrypt_encrypt')) { if (function_exists('mcrypt_encrypt')) {

View File

@@ -1,3 +1,8 @@
<?php
/**
* @package Swekey
*/
?>
<script> <script>

View File

@@ -3,6 +3,9 @@
* @package Swekey * @package Swekey
*/ */
/**
* Checks Swekey authentication.
*/
function Swekey_auth_check() function Swekey_auth_check()
{ {
global $cfg; global $cfg;
@@ -57,6 +60,9 @@ function Swekey_auth_check()
} }
/**
* Handle Swekey authentication error.
*/
function Swekey_auth_error() function Swekey_auth_error()
{ {
if (! isset($_SESSION['SWEKEY'])) if (! isset($_SESSION['SWEKEY']))
@@ -200,6 +206,9 @@ function Swekey_auth_error()
} }
/**
* Perform login using Swekey.
*/
function Swekey_login($input_name, $input_go) function Swekey_login($input_name, $input_go)
{ {
$swekeyErr = Swekey_auth_error(); $swekeyErr = Swekey_auth_error();

View File

@@ -3,6 +3,7 @@
/** /**
* Interface to the classic MySQL extension * Interface to the classic MySQL extension
* *
* @package phpMyAdmin-DBI-MySQL
* @version $Id$ * @version $Id$
*/ */
if (! defined('PHPMYADMIN')) { if (! defined('PHPMYADMIN')) {

View File

@@ -3,6 +3,7 @@
/** /**
* Interface to the improved MySQL extension (MySQLi) * Interface to the improved MySQL extension (MySQLi)
* *
* @package phpMyAdmin-DBI-MySQLi
* @version $Id$ * @version $Id$
*/ */
if (! defined('PHPMYADMIN')) { if (! defined('PHPMYADMIN')) {

View File

@@ -13,6 +13,7 @@
* The SQL Parser code relies heavily on these functions. * The SQL Parser code relies heavily on these functions.
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-String-MB
*/ */
/** /**

View File

@@ -13,6 +13,7 @@
* The SQL Parser code relies heavily on these functions. * The SQL Parser code relies heavily on these functions.
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-String-Native
*/ */
/** /**

View File

@@ -13,6 +13,7 @@
* The SQL Parser code relies heavily on these functions. * The SQL Parser code relies heavily on these functions.
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-StringType-CType
*/ */
/** /**

View File

@@ -13,6 +13,7 @@
* The SQL Parser code relies heavily on these functions. * The SQL Parser code relies heavily on these functions.
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-StringType-Native
*/ */
/** /**

View File

@@ -6,9 +6,12 @@
*/ */
/** /**
* Gets core libraries and defines some variables * @ignore
*/ */
define('PMA_MINIMUM_COMMON', true); define('PMA_MINIMUM_COMMON', true);
/**
* Gets core libraries and defines some variables
*/
require_once './libraries/common.inc.php'; require_once './libraries/common.inc.php';

View File

@@ -6,10 +6,16 @@
*/ */
/** /**
* * @ignore
*/ */
define('PMA_MINIMUM_COMMON', true); define('PMA_MINIMUM_COMMON', true);
/**
* Gets core libraries and defines some variables
*/
require_once './libraries/common.inc.php'; require_once './libraries/common.inc.php';
/**
* ZIP file handler.
*/
require_once './libraries/zip.lib.php'; require_once './libraries/zip.lib.php';
// ini file // ini file