|
28 | 28 | * |
29 | 29 | * @author Michel Roca |
30 | 30 | * |
31 | | - * @property CI_Benchmark $benchmark This class enables you to mark points and calculate the time difference between them. Memory consumption can also be displayed. |
32 | | - * @property CI_Calendar $calendar This class enables the creation of calendars |
33 | | - * @property CI_Cache $cache Caching Class |
34 | | - * @property CI_Cart $cart Shopping Cart Class |
35 | | - * @property CI_Config $config This class contains functions that enable config files to be managed |
36 | | - * @property CI_Controller $controller This class object is the super class that every library in CodeIgniter will be assigned to |
37 | | - * @property CI_DB_forge $dbforge Database Forge Class |
| 31 | + * @property CI_Benchmark $benchmark This class enables you to mark points and calculate the time difference between them. Memory consumption can also be displayed. |
| 32 | + * @property CI_Calendar $calendar This class enables the creation of calendars |
| 33 | + * @property CI_Cache $cache Caching Class |
| 34 | + * @property CI_Cart $cart Shopping Cart Class |
| 35 | + * @property CI_Config $config This class contains functions that enable config files to be managed |
| 36 | + * @property CI_Controller $controller This class object is the super class that every library in CodeIgniter will be assigned to |
| 37 | + * @property CI_DB_forge $dbforge Database Forge Class |
38 | 38 | * @property CI_DB_pdo_driver|CI_DB_query_builder|CI_DB_driver $db This is the platform-independent base Query Builder implementation class |
39 | | - * @property CI_DB_utility $dbutil Database Utility Class |
40 | | - * @property CI_Driver_Library $driver Driver Library Class |
41 | | - * @property CI_Email $email Permits email to be sent using Mail, Sendmail, or SMTP |
42 | | - * @property CI_Encrypt $encrypt Provides two-way keyed encoding using Mcrypt |
43 | | - * @property CI_Encryption $encryption Provides two-way keyed encryption via PHP's MCrypt and/or OpenSSL extensions |
44 | | - * @property CI_Exceptions $exceptions Exceptions Class |
45 | | - * @property CI_Form_validation $form_validation Form Validation Class |
46 | | - * @property CI_FTP $ftp FTP Class |
47 | | - * @property CI_Hooks $hooks Provides a mechanism to extend the base system without hacking |
48 | | - * @property CI_Image_lib $image_lib Image Manipulation class |
49 | | - * @property CI_Input $input Pre-processes global input data for security |
50 | | - * @property CI_Javascript $javascript Javascript Class |
51 | | - * @property CI_Jquery $jquery Jquery Class |
52 | | - * @property CI_Lang $lang Language Class |
53 | | - * @property CI_Loader $load Loads framework components |
54 | | - * @property CI_Log $log Logging Class |
55 | | - * @property CI_Migration $migration All migrations should implement this, forces up() and down() and gives access to the CI super-global |
56 | | - * @property CI_Model $model CodeIgniter Model Class |
57 | | - * @property CI_Output $output Responsible for sending final output to the browser |
58 | | - * @property CI_Pagination $pagination Pagination Class |
59 | | - * @property CI_Parser $parser Parser Class |
60 | | - * @property CI_Profiler $profiler This class enables you to display benchmark, query, and other data in order to help with debugging and optimization. |
61 | | - * @property CI_Router $router Parses URIs and determines routing |
62 | | - * @property CI_Security $security Security Class |
63 | | - * @property CI_Session $session Session Class |
64 | | - * @property CI_Table $table Lets you create tables manually or from database result objects, or arrays |
65 | | - * @property CI_Trackback $trackback Trackback Sending/Receiving Class |
66 | | - * @property CI_Typography $typography Typography Class |
67 | | - * @property CI_Unit_test $unit Simple testing class |
68 | | - * @property CI_Upload $upload File Uploading Class |
69 | | - * @property CI_URI $uri Parses URIs and determines routing |
70 | | - * @property CI_User_agent $agent Identifies the platform, browser, robot, or mobile device of the browsing agent |
71 | | - * @property CI_Xmlrpc $xmlrpc XML-RPC request handler class |
72 | | - * @property CI_Xmlrpcs $xmlrpcs XML-RPC server class |
73 | | - * @property CI_Zip $zip Zip Compression Class |
74 | | - * @property CI_Utf8 $utf8 Provides support for UTF-8 environments |
| 39 | + * @property CI_DB_utility $dbutil Database Utility Class |
| 40 | + * @property CI_Driver_Library $driver Driver Library Class |
| 41 | + * @property CI_Email $email Permits email to be sent using Mail, Sendmail, or SMTP |
| 42 | + * @property CI_Encrypt $encrypt Provides two-way keyed encoding using Mcrypt |
| 43 | + * @property CI_Encryption $encryption Provides two-way keyed encryption via PHP's MCrypt and/or OpenSSL extensions |
| 44 | + * @property CI_Exceptions $exceptions Exceptions Class |
| 45 | + * @property CI_Form_validation $form_validation Form Validation Class |
| 46 | + * @property CI_FTP $ftp FTP Class |
| 47 | + * @property CI_Hooks $hooks Provides a mechanism to extend the base system without hacking |
| 48 | + * @property CI_Image_lib $image_lib Image Manipulation class |
| 49 | + * @property CI_Input $input Pre-processes global input data for security |
| 50 | + * @property CI_Javascript $javascript Javascript Class |
| 51 | + * @property CI_Jquery $jquery Jquery Class |
| 52 | + * @property CI_Lang $lang Language Class |
| 53 | + * @property CI_Loader $load Loads framework components |
| 54 | + * @property CI_Log $log Logging Class |
| 55 | + * @property CI_Migration $migration All migrations should implement this, forces up() and down() and gives access to the CI super-global |
| 56 | + * @property CI_Model $model CodeIgniter Model Class |
| 57 | + * @property CI_Output $output Responsible for sending final output to the browser |
| 58 | + * @property CI_Pagination $pagination Pagination Class |
| 59 | + * @property CI_Parser $parser Parser Class |
| 60 | + * @property CI_Profiler $profiler This class enables you to display benchmark, query, and other data in order to help with debugging and optimization. |
| 61 | + * @property CI_Router $router Parses URIs and determines routing |
| 62 | + * @property CI_Security $security Security Class |
| 63 | + * @property CI_Session $session Session Class |
| 64 | + * @property CI_Table $table Lets you create tables manually or from database result objects, or arrays |
| 65 | + * @property CI_Trackback $trackback Trackback Sending/Receiving Class |
| 66 | + * @property CI_Typography $typography Typography Class |
| 67 | + * @property CI_Unit_test $unit Simple testing class |
| 68 | + * @property CI_Upload $upload File Uploading Class |
| 69 | + * @property CI_URI $uri Parses URIs and determines routing |
| 70 | + * @property CI_User_agent $agent Identifies the platform, browser, robot, or mobile device of the browsing agent |
| 71 | + * @property CI_Xmlrpc $xmlrpc XML-RPC request handler class |
| 72 | + * @property CI_Xmlrpcs $xmlrpcs XML-RPC server class |
| 73 | + * @property CI_Zip $zip Zip Compression Class |
| 74 | + * @property CI_Utf8 $utf8 Provides support for UTF-8 environments |
75 | 75 | */ |
76 | 76 | class HungNG_CI_Base_Lib_Hmvc_Migration |
77 | 77 | { |
@@ -114,9 +114,9 @@ public function __construct($config = array()) |
114 | 114 | // If the migrations table is missing, make it |
115 | 115 | if (!$this->db->table_exists('migrations')) { |
116 | 116 | $this->dbforge->add_field(array( |
117 | | - 'module' => array('type' => 'VARCHAR', 'constraint' => 20), |
118 | | - 'version' => array('type' => 'INT', 'constraint' => 3), |
119 | | - )); |
| 117 | + 'module' => array('type' => 'VARCHAR', 'constraint' => 20), |
| 118 | + 'version' => array('type' => 'INT', 'constraint' => 3), |
| 119 | + )); |
120 | 120 |
|
121 | 121 | $this->dbforge->create_table('migrations', true); |
122 | 122 |
|
@@ -360,7 +360,7 @@ public function latest() |
360 | 360 |
|
361 | 361 | // Calculate the last migration step from existing migration |
362 | 362 | // filenames and procceed to the standard version migration |
363 | | - return $this->version((int) substr($last_migration, 0, 3)); |
| 363 | + return $this->version((int)substr($last_migration, 0, 3)); |
364 | 364 | } |
365 | 365 |
|
366 | 366 | // -------------------------------------------------------------------- |
@@ -435,7 +435,7 @@ protected function _get_version($module = '') |
435 | 435 | /** |
436 | 436 | * Stores the current schema version |
437 | 437 | * |
438 | | - * @param int $migrations Migration reached |
| 438 | + * @param int $migrations Migration reached |
439 | 439 | * @param string $module |
440 | 440 | * |
441 | 441 | * @return bool |
|
0 commit comments