版號更新

This commit is contained in:
Yuan Chiu 2014-08-04 18:36:27 -07:00
parent d3001ecc28
commit cdaa29191a
6 changed files with 15 additions and 15 deletions

View File

@ -50,7 +50,7 @@ require_once UELEARNING_LIB_ROOT.'Database/Exceptions.php';
* } * }
* *
* @author Yuan Chiu <chyuaner@gmail.com> * @author Yuan Chiu <chyuaner@gmail.com>
* @version 3.0 * @version 2.0.0
* @package UElearning * @package UElearning
* @subpackage Database * @subpackage Database
*/ */

View File

@ -17,7 +17,7 @@ require_once UELEARNING_LIB_ROOT.'Database/Exceptions.php';
* *
* *
* @author Yuan Chiu <chyuaner@gmail.com> * @author Yuan Chiu <chyuaner@gmail.com>
* @version 3.0 * @version 2.0.0
* @package UElearning * @package UElearning
* @subpackage Database * @subpackage Database
*/ */

View File

@ -34,7 +34,7 @@ use UElearning\Database\Exception;
* 實際範例可參考 `DBAdmin` 類別的說明文件 * 實際範例可參考 `DBAdmin` 類別的說明文件
* *
* @author Yuan Chiu <chyuaner@gmail.com> * @author Yuan Chiu <chyuaner@gmail.com>
* @version 3.0 * @version 2.0.0
* @package UElearning * @package UElearning
* @subpackage Database * @subpackage Database
*/ */
@ -111,7 +111,7 @@ abstract class Database {
* *
* @throws UElearning\Database\Exception\DatabaseNoSupportException * @throws UElearning\Database\Exception\DatabaseNoSupportException
* @author Yuan Chiu <chyuaner@gmail.com> * @author Yuan Chiu <chyuaner@gmail.com>
* @since 3.0.0 * @since 2.0.0
*/ */
public function __construct($conf = null) { public function __construct($conf = null) {
@ -155,7 +155,7 @@ abstract class Database {
* @return string 完整的資料表名稱 * @return string 完整的資料表名稱
* *
* @author Yuan Chiu <chyuaner@gmail.com> * @author Yuan Chiu <chyuaner@gmail.com>
* @since 3.0.0 * @since 2.0.0
*/ */
public function table($tableName) { public function table($tableName) {
return $this->db_prefix.$tableName; return $this->db_prefix.$tableName;
@ -164,7 +164,7 @@ abstract class Database {
/** /**
* 測試資料庫有無連接成功 * 測試資料庫有無連接成功
* *
* @since 3.0.0 * @since 2.0.0
*/ */
public function connectTest() { public function connectTest() {
// TODO: Fill code in // TODO: Fill code in

View File

@ -7,7 +7,7 @@ namespace UElearning\Database\Exception;
/** /**
* 沒有支援的資料庫系統例外 * 沒有支援的資料庫系統例外
* @since 3.0.0 * @since 2.0.0
*/ */
class DatabaseNoSupportException extends \UnexpectedValueException { class DatabaseNoSupportException extends \UnexpectedValueException {

View File

@ -15,7 +15,7 @@ use \PDO;
* *
* @extends PDO * @extends PDO
* @author Yuan Chiu <chyuaner@gmail.com> * @author Yuan Chiu <chyuaner@gmail.com>
* @version 3.0 * @version 2.0.0
* @see https://github.com/shuliu/myPDO * @see https://github.com/shuliu/myPDO
* @package UElearning * @package UElearning
* @subpackage Database * @subpackage Database
@ -31,7 +31,7 @@ class MySQLDB extends PDO {
* @param string $user 資料庫伺服器帳號 * @param string $user 資料庫伺服器帳號
* @param string $passwd 資料庫伺服器密碼 * @param string $passwd 資料庫伺服器密碼
* @author Yuan Chiu <me@yuaner.tw> * @author Yuan Chiu <me@yuaner.tw>
* @since 3.0.0 * @since 2.0.0
*/ */
public function __construct($dbname, $host, $port, $user, $passwd){ public function __construct($dbname, $host, $port, $user, $passwd){
parent::__construct('mysql:dbname='.$dbname parent::__construct('mysql:dbname='.$dbname
@ -53,7 +53,7 @@ class MySQLDB extends PDO {
* @access public * @access public
* @return array 錯誤訊息 * @return array 錯誤訊息
* *
* @since 2013.8.6 * @since 2.0.0
* @author shuliu <https://github.com/shuliu> * @author shuliu <https://github.com/shuliu>
* @see https://github.com/shuliu/myPDO/blob/master/PDO.class.php * @see https://github.com/shuliu/myPDO/blob/master/PDO.class.php
*/ */

View File

@ -7,7 +7,7 @@ namespace UElearning\User\Exception;
/** /**
* 使用者帳號例外 * 使用者帳號例外
* @since 3.0.0 * @since 2.0.0
* @package UElearning * @package UElearning
* @subpackage User * @subpackage User
*/ */
@ -41,7 +41,7 @@ abstract class UserException extends \UnexpectedValueException {
// 使用者登入 ====================================================================== // 使用者登入 ======================================================================
/** /**
* 沒有找到此帳號 * 沒有找到此帳號
* @since 3.0.0 * @since 2.0.0
*/ */
class UserNoFoundException extends UserException { class UserNoFoundException extends UserException {
/** /**
@ -55,7 +55,7 @@ class UserNoFoundException extends UserException {
/** /**
* 使用者登入密碼錯誤 * 使用者登入密碼錯誤
* @since 3.0.0 * @since 2.0.0
*/ */
class UserPasswordErrException extends UserException { class UserPasswordErrException extends UserException {
/** /**
@ -69,7 +69,7 @@ class UserPasswordErrException extends UserException {
/** /**
* 此帳號未啟用 * 此帳號未啟用
* @since 3.0.0 * @since 2.0.0
*/ */
class UserNoActivatedException extends UserException { class UserNoActivatedException extends UserException {
/** /**
@ -84,7 +84,7 @@ class UserNoActivatedException extends UserException {
// 建立使用者 ====================================================================== // 建立使用者 ======================================================================
/** /**
* 已有重複的使用者名稱 * 已有重複的使用者名稱
* @since 3.0.0 * @since 2.0.0
*/ */
class UserIdExistException extends UserException { class UserIdExistException extends UserException {
/** /**