├── README.md ├── application ├── .htaccess ├── cache │ ├── .htaccess │ └── index.html ├── config │ ├── autoload.php │ ├── config.php │ ├── constants.php │ ├── database.php │ ├── doctypes.php │ ├── foreign_chars.php │ ├── hooks.php │ ├── index.html │ ├── migration.php │ ├── mimes.php │ ├── profiler.php │ ├── routes.php │ ├── smileys.php │ └── user_agents.php ├── controllers │ ├── index.html │ └── welcome.php ├── core │ └── index.html ├── errors │ ├── error_404.php │ ├── error_db.php │ ├── error_general.php │ ├── error_php.php │ └── index.html ├── helpers │ └── index.html ├── hooks │ └── index.html ├── index.html ├── language │ ├── english │ │ └── index.html │ └── index.html ├── libraries │ └── index.html ├── logs │ └── index.html ├── models │ └── index.html ├── third_party │ └── index.html └── views │ ├── .gitignore │ ├── ReactJS.php │ ├── build │ ├── Main.js │ └── RowRender.js │ ├── index.html │ ├── package.json │ ├── src │ ├── Main.js │ ├── RowRender.js │ └── TopNav.js │ ├── webpack.config.js │ └── welcome_message.php ├── index.php ├── license.txt ├── system ├── .htaccess ├── core │ ├── Benchmark.php │ ├── CodeIgniter.php │ ├── Common.php │ ├── Config.php │ ├── Controller.php │ ├── Exceptions.php │ ├── Hooks.php │ ├── Input.php │ ├── Lang.php │ ├── Loader.php │ ├── Model.php │ ├── Output.php │ ├── Router.php │ ├── Security.php │ ├── URI.php │ ├── Utf8.php │ └── index.html ├── database │ ├── DB.php │ ├── DB_active_rec.php │ ├── DB_cache.php │ ├── DB_driver.php │ ├── DB_forge.php │ ├── DB_result.php │ ├── DB_utility.php │ ├── drivers │ │ ├── cubrid │ │ │ ├── cubrid_driver.php │ │ │ ├── cubrid_forge.php │ │ │ ├── cubrid_result.php │ │ │ ├── cubrid_utility.php │ │ │ └── index.html │ │ ├── index.html │ │ ├── mssql │ │ │ ├── index.html │ │ │ ├── mssql_driver.php │ │ │ ├── mssql_forge.php │ │ │ ├── mssql_result.php │ │ │ └── mssql_utility.php │ │ ├── mysql │ │ │ ├── index.html │ │ │ ├── mysql_driver.php │ │ │ ├── mysql_forge.php │ │ │ ├── mysql_result.php │ │ │ └── mysql_utility.php │ │ ├── mysqli │ │ │ ├── index.html │ │ │ ├── mysqli_driver.php │ │ │ ├── mysqli_forge.php │ │ │ ├── mysqli_result.php │ │ │ └── mysqli_utility.php │ │ ├── oci8 │ │ │ ├── index.html │ │ │ ├── oci8_driver.php │ │ │ ├── oci8_forge.php │ │ │ ├── oci8_result.php │ │ │ └── oci8_utility.php │ │ ├── odbc │ │ │ ├── index.html │ │ │ ├── odbc_driver.php │ │ │ ├── odbc_forge.php │ │ │ ├── odbc_result.php │ │ │ └── odbc_utility.php │ │ ├── pdo │ │ │ ├── index.html │ │ │ ├── pdo_driver.php │ │ │ ├── pdo_forge.php │ │ │ ├── pdo_result.php │ │ │ └── pdo_utility.php │ │ ├── postgre │ │ │ ├── index.html │ │ │ ├── postgre_driver.php │ │ │ ├── postgre_forge.php │ │ │ ├── postgre_result.php │ │ │ └── postgre_utility.php │ │ ├── sqlite │ │ │ ├── index.html │ │ │ ├── sqlite_driver.php │ │ │ ├── sqlite_forge.php │ │ │ ├── sqlite_result.php │ │ │ └── sqlite_utility.php │ │ └── sqlsrv │ │ │ ├── index.html │ │ │ ├── sqlsrv_driver.php │ │ │ ├── sqlsrv_forge.php │ │ │ ├── sqlsrv_result.php │ │ │ └── sqlsrv_utility.php │ └── index.html ├── fonts │ ├── index.html │ └── texb.ttf ├── helpers │ ├── array_helper.php │ ├── captcha_helper.php │ ├── cookie_helper.php │ ├── date_helper.php │ ├── directory_helper.php │ ├── download_helper.php │ ├── email_helper.php │ ├── file_helper.php │ ├── form_helper.php │ ├── html_helper.php │ ├── index.html │ ├── inflector_helper.php │ ├── language_helper.php │ ├── number_helper.php │ ├── path_helper.php │ ├── security_helper.php │ ├── smiley_helper.php │ ├── string_helper.php │ ├── text_helper.php │ ├── typography_helper.php │ ├── url_helper.php │ └── xml_helper.php ├── index.html ├── language │ ├── english │ │ ├── calendar_lang.php │ │ ├── date_lang.php │ │ ├── db_lang.php │ │ ├── email_lang.php │ │ ├── form_validation_lang.php │ │ ├── ftp_lang.php │ │ ├── imglib_lang.php │ │ ├── index.html │ │ ├── migration_lang.php │ │ ├── number_lang.php │ │ ├── profiler_lang.php │ │ ├── unit_test_lang.php │ │ └── upload_lang.php │ └── index.html └── libraries │ ├── Cache │ ├── Cache.php │ ├── drivers │ │ ├── Cache_apc.php │ │ ├── Cache_dummy.php │ │ ├── Cache_file.php │ │ ├── Cache_memcached.php │ │ └── index.html │ └── index.html │ ├── Calendar.php │ ├── Cart.php │ ├── Driver.php │ ├── Email.php │ ├── Encrypt.php │ ├── Form_validation.php │ ├── Ftp.php │ ├── Image_lib.php │ ├── Javascript.php │ ├── Log.php │ ├── Migration.php │ ├── Pagination.php │ ├── Parser.php │ ├── Profiler.php │ ├── Session.php │ ├── Sha1.php │ ├── Table.php │ ├── Trackback.php │ ├── Typography.php │ ├── Unit_test.php │ ├── Upload.php │ ├── User_agent.php │ ├── Xmlrpc.php │ ├── Xmlrpcs.php │ ├── Zip.php │ ├── index.html │ └── javascript │ ├── Jquery.php │ └── index.html └── user_guide ├── changelog.html ├── database ├── active_record.html ├── caching.html ├── call_function.html ├── configuration.html ├── connecting.html ├── examples.html ├── fields.html ├── forge.html ├── helpers.html ├── index.html ├── queries.html ├── results.html ├── table_data.html ├── transactions.html └── utilities.html ├── doc_style ├── index.html └── template.html ├── general ├── alternative_php.html ├── ancillary_classes.html ├── autoloader.html ├── caching.html ├── cli.html ├── common_functions.html ├── controllers.html ├── core_classes.html ├── creating_drivers.html ├── creating_libraries.html ├── credits.html ├── drivers.html ├── environments.html ├── errors.html ├── helpers.html ├── hooks.html ├── libraries.html ├── managing_apps.html ├── models.html ├── profiling.html ├── quick_reference.html ├── requirements.html ├── reserved_names.html ├── routing.html ├── security.html ├── styleguide.html ├── urls.html └── views.html ├── helpers ├── array_helper.html ├── captcha_helper.html ├── cookie_helper.html ├── date_helper.html ├── directory_helper.html ├── download_helper.html ├── email_helper.html ├── file_helper.html ├── form_helper.html ├── html_helper.html ├── inflector_helper.html ├── language_helper.html ├── number_helper.html ├── path_helper.html ├── security_helper.html ├── smiley_helper.html ├── string_helper.html ├── text_helper.html ├── typography_helper.html ├── url_helper.html └── xml_helper.html ├── images ├── appflowchart.gif ├── arrow.gif ├── ci_logo.jpg ├── ci_logo_flame.jpg ├── ci_quick_ref.png ├── codeigniter_1.7.1_helper_reference.pdf ├── codeigniter_1.7.1_helper_reference.png ├── codeigniter_1.7.1_library_reference.pdf ├── codeigniter_1.7.1_library_reference.png ├── file.gif ├── folder.gif ├── nav_bg_darker.jpg ├── nav_separator_darker.jpg ├── nav_toggle_darker.jpg ├── reactor-bullet.png ├── smile.gif └── transparent.gif ├── index.html ├── installation ├── downloads.html ├── index.html ├── troubleshooting.html ├── upgrade_120.html ├── upgrade_130.html ├── upgrade_131.html ├── upgrade_132.html ├── upgrade_133.html ├── upgrade_140.html ├── upgrade_141.html ├── upgrade_150.html ├── upgrade_152.html ├── upgrade_153.html ├── upgrade_154.html ├── upgrade_160.html ├── upgrade_161.html ├── upgrade_162.html ├── upgrade_163.html ├── upgrade_170.html ├── upgrade_171.html ├── upgrade_172.html ├── upgrade_200.html ├── upgrade_201.html ├── upgrade_202.html ├── upgrade_203.html ├── upgrade_210.html ├── upgrade_211.html ├── upgrade_212.html ├── upgrade_213.html ├── upgrade_214.html ├── upgrade_220.html ├── upgrade_221.html ├── upgrade_222.html ├── upgrade_223.html ├── upgrade_224.html ├── upgrade_225.html ├── upgrade_226.html ├── upgrade_b11.html └── upgrading.html ├── libraries ├── benchmark.html ├── caching.html ├── calendar.html ├── cart.html ├── config.html ├── email.html ├── encryption.html ├── file_uploading.html ├── form_validation.html ├── ftp.html ├── image_lib.html ├── input.html ├── javascript.html ├── language.html ├── loader.html ├── migration.html ├── output.html ├── pagination.html ├── parser.html ├── security.html ├── sessions.html ├── table.html ├── trackback.html ├── typography.html ├── unit_testing.html ├── uri.html ├── user_agent.html ├── xmlrpc.html └── zip.html ├── license.html ├── nav ├── hacks.txt ├── moo.fx.js ├── nav.js ├── prototype.lite.js └── user_guide_menu.js ├── overview ├── appflow.html ├── at_a_glance.html ├── cheatsheets.html ├── features.html ├── getting_started.html ├── goals.html ├── index.html └── mvc.html ├── toc.html ├── tutorial ├── conclusion.html ├── create_news_items.html ├── hard_coded_pages.html ├── index.html ├── news_section.html └── static_pages.html └── userguide.css /README.md: -------------------------------------------------------------------------------- 1 | # codeigniter-reactjs-example 2 | 3 | ## Getting started 4 | 5 | 1. install php55-v8js by command `brew install homebrew/php/php55-v8js` 6 | 2. add `export PATH="$(brew --prefix homebrew/php/php55)/bin:$PATH"` to your `~/.bash_profile` 7 | 3. run `brew services start homebrew/php/php55` 8 | 4. `cd application/views` and run `npm install` 9 | 4. start php dev server from root folder of project `php -S localhost:8000` 10 | 5. optionally: `cp /usr/local/opt/php55/homebrew.mxcl.php55.plist ~/Library/LaunchAgents/` 11 | `launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist` 12 | -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | Deny from all -------------------------------------------------------------------------------- /application/cache/.htaccess: -------------------------------------------------------------------------------- 1 | Deny from all -------------------------------------------------------------------------------- /application/cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/config/autoload.php: -------------------------------------------------------------------------------- 1 | '', 5 | 'xhtml1-strict' => '', 6 | 'xhtml1-trans' => '', 7 | 'xhtml1-frame' => '', 8 | 'html5' => '', 9 | 'html4-strict' => '', 10 | 'html4-trans' => '', 11 | 'html4-frame' => '' 12 | ); 13 | 14 | /* End of file doctypes.php */ 15 | /* Location: ./application/config/doctypes.php */ -------------------------------------------------------------------------------- /application/config/foreign_chars.php: -------------------------------------------------------------------------------- 1 | 'ae', 12 | '/ö|œ/' => 'oe', 13 | '/ü/' => 'ue', 14 | '/Ä/' => 'Ae', 15 | '/Ü/' => 'Ue', 16 | '/Ö/' => 'Oe', 17 | '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ/' => 'A', 18 | '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª/' => 'a', 19 | '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', 20 | '/ç|ć|ĉ|ċ|č/' => 'c', 21 | '/Ð|Ď|Đ/' => 'D', 22 | '/ð|ď|đ/' => 'd', 23 | '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě/' => 'E', 24 | '/è|é|ê|ë|ē|ĕ|ė|ę|ě/' => 'e', 25 | '/Ĝ|Ğ|Ġ|Ģ/' => 'G', 26 | '/ĝ|ğ|ġ|ģ/' => 'g', 27 | '/Ĥ|Ħ/' => 'H', 28 | '/ĥ|ħ/' => 'h', 29 | '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ/' => 'I', 30 | '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı/' => 'i', 31 | '/Ĵ/' => 'J', 32 | '/ĵ/' => 'j', 33 | '/Ķ/' => 'K', 34 | '/ķ/' => 'k', 35 | '/Ĺ|Ļ|Ľ|Ŀ|Ł/' => 'L', 36 | '/ĺ|ļ|ľ|ŀ|ł/' => 'l', 37 | '/Ñ|Ń|Ņ|Ň/' => 'N', 38 | '/ñ|ń|ņ|ň|ʼn/' => 'n', 39 | '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ/' => 'O', 40 | '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º/' => 'o', 41 | '/Ŕ|Ŗ|Ř/' => 'R', 42 | '/ŕ|ŗ|ř/' => 'r', 43 | '/Ś|Ŝ|Ş|Š/' => 'S', 44 | '/ś|ŝ|ş|š|ſ/' => 's', 45 | '/Ţ|Ť|Ŧ/' => 'T', 46 | '/ţ|ť|ŧ/' => 't', 47 | '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ/' => 'U', 48 | '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ/' => 'u', 49 | '/Ý|Ÿ|Ŷ/' => 'Y', 50 | '/ý|ÿ|ŷ/' => 'y', 51 | '/Ŵ/' => 'W', 52 | '/ŵ/' => 'w', 53 | '/Ź|Ż|Ž/' => 'Z', 54 | '/ź|ż|ž/' => 'z', 55 | '/Æ|Ǽ/' => 'AE', 56 | '/ß/'=> 'ss', 57 | '/IJ/' => 'IJ', 58 | '/ij/' => 'ij', 59 | '/Œ/' => 'OE', 60 | '/ƒ/' => 'f' 61 | ); 62 | 63 | /* End of file foreign_chars.php */ 64 | /* Location: ./application/config/foreign_chars.php */ -------------------------------------------------------------------------------- /application/config/hooks.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/config/migration.php: -------------------------------------------------------------------------------- 1 | migration->latest() this is the version that schema will 21 | | be upgraded / downgraded to. 22 | | 23 | */ 24 | $config['migration_version'] = 0; 25 | 26 | 27 | /* 28 | |-------------------------------------------------------------------------- 29 | | Migrations Path 30 | |-------------------------------------------------------------------------- 31 | | 32 | | Path to your migrations folder. 33 | | Typically, it will be within your application path. 34 | | Also, writing permission is required within the migrations path. 35 | | 36 | */ 37 | $config['migration_path'] = APPPATH . 'migrations/'; 38 | 39 | 40 | /* End of file migration.php */ 41 | /* Location: ./application/config/migration.php */ -------------------------------------------------------------------------------- /application/config/profiler.php: -------------------------------------------------------------------------------- 1 | array('grin.gif', '19', '19', 'grin'), 20 | ':lol:' => array('lol.gif', '19', '19', 'LOL'), 21 | ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), 22 | ':)' => array('smile.gif', '19', '19', 'smile'), 23 | ';-)' => array('wink.gif', '19', '19', 'wink'), 24 | ';)' => array('wink.gif', '19', '19', 'wink'), 25 | ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), 26 | ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), 27 | ':-S' => array('confused.gif', '19', '19', 'confused'), 28 | ':wow:' => array('surprise.gif', '19', '19', 'surprised'), 29 | ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), 30 | ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), 31 | '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), 32 | ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), 33 | ':P' => array('raspberry.gif', '19', '19', 'raspberry'), 34 | ':blank:' => array('blank.gif', '19', '19', 'blank stare'), 35 | ':long:' => array('longface.gif', '19', '19', 'long face'), 36 | ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), 37 | ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), 38 | ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), 39 | '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), 40 | ':down:' => array('downer.gif', '19', '19', 'downer'), 41 | ':red:' => array('embarrassed.gif', '19', '19', 'red face'), 42 | ':sick:' => array('sick.gif', '19', '19', 'sick'), 43 | ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), 44 | ':-/' => array('hmm.gif', '19', '19', 'hmmm'), 45 | '>:(' => array('mad.gif', '19', '19', 'mad'), 46 | ':mad:' => array('mad.gif', '19', '19', 'mad'), 47 | '>:-(' => array('angry.gif', '19', '19', 'angry'), 48 | ':angry:' => array('angry.gif', '19', '19', 'angry'), 49 | ':zip:' => array('zip.gif', '19', '19', 'zipper'), 50 | ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), 51 | ':ahhh:' => array('shock.gif', '19', '19', 'shock'), 52 | ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), 53 | ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), 54 | ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), 55 | ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), 56 | ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), 57 | ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), 58 | ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), 59 | ':snake:' => array('snake.gif', '19', '19', 'snake'), 60 | ':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'), 61 | ':question:' => array('question.gif', '19', '19', 'question') // no comma after last item 62 | 63 | ); 64 | 65 | /* End of file smileys.php */ 66 | /* Location: ./application/config/smileys.php */ -------------------------------------------------------------------------------- /application/controllers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/controllers/welcome.php: -------------------------------------------------------------------------------- 1 | 18 | * @see http://codeigniter.com/user_guide/general/urls.html 19 | */ 20 | public function index() 21 | { 22 | $this->load->view('welcome_message'); 23 | } 24 | } 25 | 26 | /* End of file welcome.php */ 27 | /* Location: ./application/controllers/welcome.php */ -------------------------------------------------------------------------------- /application/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/errors/error_404.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 404 Page Not Found 5 | 55 | 56 | 57 |
58 |

59 | 60 |
61 | 62 | -------------------------------------------------------------------------------- /application/errors/error_db.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Database Error 5 | 55 | 56 | 57 |
58 |

59 | 60 |
61 | 62 | -------------------------------------------------------------------------------- /application/errors/error_general.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Error 5 | 55 | 56 | 57 |
58 |

59 | 60 |
61 | 62 | -------------------------------------------------------------------------------- /application/errors/error_php.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

A PHP Error was encountered

4 | 5 |

Severity:

6 |

Message:

7 |

Filename:

8 |

Line Number:

9 | 10 |
-------------------------------------------------------------------------------- /application/errors/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/hooks/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/models/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/third_party/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/views/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # Dependency directory 12 | node_modules 13 | -------------------------------------------------------------------------------- /application/views/build/RowRender.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Row = React.createClass({ 4 | displayName: "Row", 5 | 6 | render: function render() { 7 | return React.createElement( 8 | "tr", 9 | null, 10 | this.props.cells 11 | ); 12 | } 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /application/views/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /application/views/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "reactjs-php-test", 3 | "version": "0.0.1", 4 | "description": "reactjs + php test", 5 | "scripts": { 6 | "test": "echo \"Error: no test specified\" && exit 1", 7 | "start": "./node_modules/.bin/webpack-dev-server --progress --colors --inline --host 0.0.0.0 --port 8082 --hot", 8 | "build": "NODE_ENV=production npm run webpack-build", 9 | "webpack-build": "./node_modules/.bin/webpack --progress --colors -p" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/drdavidg/rankmarket-server.git" 14 | }, 15 | "license": "MIT", 16 | "homepage": "http://redux.js.org", 17 | "dependencies": { 18 | "babel": "^6.5.2", 19 | "babel-cli": "^6.14.0", 20 | "babel-loader": "^6.2.5", 21 | "babel-plugin-transform-object-rest-spread": "^6.8.0", 22 | "babel-polyfill": "^6.9.0", 23 | "browserify": "^13.1.0", 24 | "fast-react-render": "^1.0.4", 25 | "material-ui": "^0.15.4", 26 | "react": "^15.3.1", 27 | "react-dom": "^15.3.1", 28 | "react-tap-event-plugin": "^1.0.0", 29 | "webpack": "^1.13.2" 30 | }, 31 | "devDependencies": { 32 | "babel-core": "^6.14.0", 33 | "babel-preset-es2015": "^6.14.0", 34 | "babel-preset-react": "^6.3.13", 35 | "babel-preset-react-hmre": "^1.1.1", 36 | "babel-preset-stage-0": "^6.5.0", 37 | "babelify": "^7.3.0" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /application/views/src/Main.js: -------------------------------------------------------------------------------- 1 | import AppBar from 'material-ui/AppBar' 2 | import { Table, TableBody, TableRow, TableRowColumn } from 'material-ui/Table' 3 | import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider' 4 | import getMuiTheme from 'material-ui/styles/getMuiTheme' 5 | import React, { Component, PropTypes } from 'react' 6 | import RowRender from './RowRender' 7 | 8 | import TopNav from './TopNav' 9 | 10 | const theme = getMuiTheme({ 11 | palette: { 12 | // primary1Color: '#f4511e' 13 | } 14 | }) 15 | 16 | class Main extends Component { 17 | 18 | render () { 19 | const rows = this.props.data.map((row) => { 20 | const cells = row.map((cell) => { 21 | return {cell} 22 | }) 23 | return 24 | }) 25 | 26 | return ( 27 |
28 | 29 | 30 |
31 | 36 | 37 | 38 | 39 | {rows} 40 | 41 |
42 |
43 |
44 |
45 | ) 46 | } 47 | 48 | } 49 | 50 | global.Main = Main 51 | -------------------------------------------------------------------------------- /application/views/src/RowRender.js: -------------------------------------------------------------------------------- 1 | import React, { Component, PropTypes } from 'react' 2 | 3 | export default class RowRender extends Component { 4 | render () { 5 | return {this.props.cells} 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /application/views/src/TopNav.js: -------------------------------------------------------------------------------- 1 | import React, { Component, PropTypes } from 'react' 2 | 3 | export default class TopNav extends Component { 4 | render () { 5 | const sectionsArray = ['Home', 'Appliance', 'Furniture', 'Electronics', 'Gaming', 'Music', 'Jewelry', 'Fashion', 'Automotive', 'Sports'] 6 | const sections = sectionsArray.map((section) => { 7 | return
{section}
8 | }) 9 | return ( 10 |
11 | {sections} 12 |
13 | ) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /application/views/webpack.config.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const path = require('path') 3 | const webpack = require('webpack') 4 | 5 | const NODE_ENV = process.env.NODE_ENV ? process.env.NODE_ENV.toLowerCase() : 'development' 6 | 7 | console.info('webpack', `${NODE_ENV.toUpperCase()} mode`) 8 | 9 | // const plugins = [ 10 | // new webpack.DefinePlugin({ 11 | // 'process.env.NODE_ENV': JSON.stringify('development') 12 | // }), 13 | // new webpack.optimize.OccurenceOrderPlugin() 14 | // ] 15 | const plugins = [] 16 | 17 | var babelQuery = { 18 | cacheDirectory: true, 19 | presets: [ 20 | 'react', 21 | 'stage-0', 22 | 'es2015' 23 | ] 24 | } 25 | 26 | // if (NODE_ENV === 'development') { 27 | // babelQuery = { cacheDirectory: true, presets: ['react-hmre'] } 28 | // } 29 | 30 | // console.log('babelQuery:', babelQuery, NODE_ENV) 31 | 32 | module.exports = { 33 | devtool: 'eval', 34 | entry: [ './src/Main.js' ], 35 | debug: !(NODE_ENV === 'production'), 36 | output: { 37 | path: path.join(__dirname, 'build'), 38 | filename: 'Main.js', 39 | publicPath: '/build/' 40 | }, 41 | module: { 42 | loaders: [ 43 | { 44 | test: /\.js$/, 45 | loader: 'babel', 46 | exclude: /node_modules/, 47 | include: __dirname, 48 | query: babelQuery 49 | } 50 | ] 51 | }, 52 | externals: { 53 | react: 'React', 54 | 'react-dom': 'ReactDOM', 55 | jquery: 'jQuery' 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /application/views/welcome_message.php: -------------------------------------------------------------------------------- 1 | array( 6 | array('dummy data 1', 2, 3), 7 | array(4, 5, 'dummy data 6'), 8 | array(7, 11, 9), 9 | array('foo', 'bar', 'hello') 10 | )); 11 | $propsJson = json_encode($props); 12 | 13 | $react = [ 14 | file_get_contents(__DIR__.'/node_modules/react/dist/react.js'), 15 | file_get_contents(__DIR__.'/node_modules/react-dom/dist/react-dom.min.js'), 16 | file_get_contents(__DIR__.'/node_modules/react-dom/dist/react-dom-server.min.js'), 17 | file_get_contents(__DIR__.'/build/Main.js'), 18 | 'ReactDOMServer.renderToString(React.createElement(Main, ' . $propsJson . '))' 19 | ]; 20 | 21 | try { 22 | $reactStr = $v8->executeString(implode(PHP_EOL, $react)); 23 | } catch (Exception $e) { 24 | echo '

', $e->getMessage(), '

'; 25 | echo '
', $e->getTraceAsString(), '
'; 26 | exit; 27 | } 28 | 29 | ?> 30 | 31 | 32 | 33 | 34 | CodeIgniter + ReactJS views working together, yay 35 | 36 | 37 |
38 | 39 | 40 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2008 - 2014, EllisLab, Inc. 2 | Copyright (c) 2014 - 2015, British Columbia Institute of Technology 3 | All rights reserved. 4 | 5 | This license is a legal agreement between you and the British Columbia 6 | Institute of Technology for the use of CodeIgniter Software (the 7 | "Software"). By obtaining the Software you agree to comply with the terms 8 | and conditions of this license. 9 | 10 | PERMITTED USE 11 | You are permitted to use, copy, modify, and distribute the Software and its 12 | documentation, with or without modification, for any purpose, provided that 13 | the following conditions are met: 14 | 15 | 1. A copy of this license agreement must be included with the distribution. 16 | 17 | 2. Redistributions of source code must retain the above copyright notice in 18 | all source code files. 19 | 20 | 3. Redistributions in binary form must reproduce the above copyright notice 21 | in the documentation and/or other materials provided with the distribution. 22 | 23 | 4. Any files that have been modified must carry notices stating the nature 24 | of the change and the names of those who changed them. 25 | 26 | 5. Products derived from the Software must include an acknowledgment that 27 | they are derived from CodeIgniter in their documentation and/or other 28 | materials provided with the distribution. 29 | 30 | 6. Products derived from the Software may not be called "CodeIgniter", 31 | nor may "CodeIgniter" appear in their name, without prior written 32 | permission from British Columbia Institute of Technology. 33 | 34 | INDEMNITY 35 | You agree to indemnify and hold harmless the authors of the Software and 36 | any contributors for any direct, indirect, incidental, or consequential 37 | third-party claims, actions or suits, as well as any related expenses, 38 | liabilities, damages, settlements or fees arising from your use or misuse 39 | of the Software, or a violation of any terms of this license. 40 | 41 | DISCLAIMER OF WARRANTY 42 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR 43 | IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF QUALITY, PERFORMANCE, 44 | NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. 45 | 46 | LIMITATIONS OF LIABILITY 47 | YOU ASSUME ALL RISK ASSOCIATED WITH THE INSTALLATION AND USE OF THE SOFTWARE. 48 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OF THE SOFTWARE BE LIABLE 49 | FOR CLAIMS, DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION 50 | WITH THE SOFTWARE. LICENSE HOLDERS ARE SOLELY RESPONSIBLE FOR DETERMINING THE 51 | APPROPRIATENESS OF USE AND ASSUME ALL RISKS ASSOCIATED WITH ITS USE, INCLUDING 52 | BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO EQUIPMENT, LOSS OF 53 | DATA OR SOFTWARE PROGRAMS, OR UNAVAILABILITY OR INTERRUPTION OF OPERATIONS. 54 | -------------------------------------------------------------------------------- /system/.htaccess: -------------------------------------------------------------------------------- 1 | Deny from all -------------------------------------------------------------------------------- /system/core/Benchmark.php: -------------------------------------------------------------------------------- 1 | marker[$name] = microtime(); 55 | } 56 | 57 | // -------------------------------------------------------------------- 58 | 59 | /** 60 | * Calculates the time difference between two marked points. 61 | * 62 | * If the first parameter is empty this function instead returns the 63 | * {elapsed_time} pseudo-variable. This permits the full system 64 | * execution time to be shown in a template. The output class will 65 | * swap the real value for this variable. 66 | * 67 | * @access public 68 | * @param string a particular marked point 69 | * @param string a particular marked point 70 | * @param integer the number of decimal places 71 | * @return mixed 72 | */ 73 | function elapsed_time($point1 = '', $point2 = '', $decimals = 4) 74 | { 75 | if ($point1 == '') 76 | { 77 | return '{elapsed_time}'; 78 | } 79 | 80 | if ( ! isset($this->marker[$point1])) 81 | { 82 | return ''; 83 | } 84 | 85 | if ( ! isset($this->marker[$point2])) 86 | { 87 | $this->marker[$point2] = microtime(); 88 | } 89 | 90 | list($sm, $ss) = explode(' ', $this->marker[$point1]); 91 | list($em, $es) = explode(' ', $this->marker[$point2]); 92 | 93 | return number_format(($em + $es) - ($sm + $ss), $decimals); 94 | } 95 | 96 | // -------------------------------------------------------------------- 97 | 98 | /** 99 | * Memory Usage 100 | * 101 | * This function returns the {memory_usage} pseudo-variable. 102 | * This permits it to be put it anywhere in a template 103 | * without the memory being calculated until the end. 104 | * The output class will swap the real value for this variable. 105 | * 106 | * @access public 107 | * @return string 108 | */ 109 | function memory_usage() 110 | { 111 | return '{memory_usage}'; 112 | } 113 | 114 | } 115 | 116 | // END CI_Benchmark class 117 | 118 | /* End of file Benchmark.php */ 119 | /* Location: ./system/core/Benchmark.php */ -------------------------------------------------------------------------------- /system/core/Controller.php: -------------------------------------------------------------------------------- 1 | $class) 46 | { 47 | $this->$var =& load_class($class); 48 | } 49 | 50 | $this->load =& load_class('Loader', 'core'); 51 | 52 | $this->load->initialize(); 53 | 54 | log_message('debug', "Controller Class Initialized"); 55 | } 56 | 57 | public static function &get_instance() 58 | { 59 | return self::$instance; 60 | } 61 | } 62 | // END Controller class 63 | 64 | /* End of file Controller.php */ 65 | /* Location: ./system/core/Controller.php */ -------------------------------------------------------------------------------- /system/core/Model.php: -------------------------------------------------------------------------------- 1 | $key; 53 | } 54 | } 55 | // END Model Class 56 | 57 | /* End of file Model.php */ 58 | /* Location: ./system/core/Model.php */ -------------------------------------------------------------------------------- /system/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/cubrid/cubrid_utility.php: -------------------------------------------------------------------------------- 1 | conn_id) 42 | { 43 | return "SELECT '" . $this->database . "'"; 44 | } 45 | else 46 | { 47 | return FALSE; 48 | } 49 | } 50 | 51 | // -------------------------------------------------------------------- 52 | 53 | /** 54 | * Optimize table query 55 | * 56 | * Generates a platform-specific query so that a table can be optimized 57 | * 58 | * @access private 59 | * @param string the table name 60 | * @return object 61 | * @link http://www.cubrid.org/manual/840/en/Optimize%20Database 62 | */ 63 | function _optimize_table($table) 64 | { 65 | // No SQL based support in CUBRID as of version 8.4.0. Database or 66 | // table optimization can be performed using CUBRID Manager 67 | // database administration tool. See the link above for more info. 68 | return FALSE; 69 | } 70 | 71 | // -------------------------------------------------------------------- 72 | 73 | /** 74 | * Repair table query 75 | * 76 | * Generates a platform-specific query so that a table can be repaired 77 | * 78 | * @access private 79 | * @param string the table name 80 | * @return object 81 | * @link http://www.cubrid.org/manual/840/en/Checking%20Database%20Consistency 82 | */ 83 | function _repair_table($table) 84 | { 85 | // Not supported in CUBRID as of version 8.4.0. Database or 86 | // table consistency can be checked using CUBRID Manager 87 | // database administration tool. See the link above for more info. 88 | return FALSE; 89 | } 90 | 91 | // -------------------------------------------------------------------- 92 | /** 93 | * CUBRID Export 94 | * 95 | * @access private 96 | * @param array Preferences 97 | * @return mixed 98 | */ 99 | function _backup($params = array()) 100 | { 101 | // No SQL based support in CUBRID as of version 8.4.0. Database or 102 | // table backup can be performed using CUBRID Manager 103 | // database administration tool. 104 | return $this->db->display_error('db_unsuported_feature'); 105 | } 106 | } 107 | 108 | /* End of file cubrid_utility.php */ 109 | /* Location: ./system/database/drivers/cubrid/cubrid_utility.php */ -------------------------------------------------------------------------------- /system/database/drivers/cubrid/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/mssql_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsuported_feature'); 84 | } 85 | 86 | } 87 | 88 | /* End of file mssql_utility.php */ 89 | /* Location: ./system/database/drivers/mssql/mssql_utility.php */ -------------------------------------------------------------------------------- /system/database/drivers/mysql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/mysqli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/mysqli/mysqli_utility.php: -------------------------------------------------------------------------------- 1 | db->_escape_identifiers($table); 53 | } 54 | 55 | // -------------------------------------------------------------------- 56 | 57 | /** 58 | * Repair table query 59 | * 60 | * Generates a platform-specific query so that a table can be repaired 61 | * 62 | * @access private 63 | * @param string the table name 64 | * @return object 65 | */ 66 | function _repair_table($table) 67 | { 68 | return "REPAIR TABLE ".$this->db->_escape_identifiers($table); 69 | } 70 | 71 | // -------------------------------------------------------------------- 72 | 73 | /** 74 | * MySQLi Export 75 | * 76 | * @access private 77 | * @param array Preferences 78 | * @return mixed 79 | */ 80 | function _backup($params = array()) 81 | { 82 | // Currently unsupported 83 | return $this->db->display_error('db_unsuported_feature'); 84 | } 85 | } 86 | 87 | /* End of file mysqli_utility.php */ 88 | /* Location: ./system/database/drivers/mysqli/mysqli_utility.php */ -------------------------------------------------------------------------------- /system/database/drivers/oci8/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/oci8_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsuported_feature'); 84 | } 85 | } 86 | 87 | /* End of file oci8_utility.php */ 88 | /* Location: ./system/database/drivers/oci8/oci8_utility.php */ -------------------------------------------------------------------------------- /system/database/drivers/odbc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/odbc_utility.php: -------------------------------------------------------------------------------- 1 | db->db_debug) 38 | { 39 | return $this->db->display_error('db_unsuported_feature'); 40 | } 41 | return FALSE; 42 | } 43 | 44 | // -------------------------------------------------------------------- 45 | 46 | /** 47 | * Optimize table query 48 | * 49 | * Generates a platform-specific query so that a table can be optimized 50 | * 51 | * @access private 52 | * @param string the table name 53 | * @return object 54 | */ 55 | function _optimize_table($table) 56 | { 57 | // Not a supported ODBC feature 58 | if ($this->db->db_debug) 59 | { 60 | return $this->db->display_error('db_unsuported_feature'); 61 | } 62 | return FALSE; 63 | } 64 | 65 | // -------------------------------------------------------------------- 66 | 67 | /** 68 | * Repair table query 69 | * 70 | * Generates a platform-specific query so that a table can be repaired 71 | * 72 | * @access private 73 | * @param string the table name 74 | * @return object 75 | */ 76 | function _repair_table($table) 77 | { 78 | // Not a supported ODBC feature 79 | if ($this->db->db_debug) 80 | { 81 | return $this->db->display_error('db_unsuported_feature'); 82 | } 83 | return FALSE; 84 | } 85 | 86 | // -------------------------------------------------------------------- 87 | 88 | /** 89 | * ODBC Export 90 | * 91 | * @access private 92 | * @param array Preferences 93 | * @return mixed 94 | */ 95 | function _backup($params = array()) 96 | { 97 | // Currently unsupported 98 | return $this->db->display_error('db_unsuported_feature'); 99 | } 100 | 101 | } 102 | 103 | /* End of file odbc_utility.php */ 104 | /* Location: ./system/database/drivers/odbc/odbc_utility.php */ -------------------------------------------------------------------------------- /system/database/drivers/pdo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/pdo_utility.php: -------------------------------------------------------------------------------- 1 | db->db_debug) 38 | { 39 | return $this->db->display_error('db_unsuported_feature'); 40 | } 41 | return FALSE; 42 | } 43 | 44 | // -------------------------------------------------------------------- 45 | 46 | /** 47 | * Optimize table query 48 | * 49 | * Generates a platform-specific query so that a table can be optimized 50 | * 51 | * @access private 52 | * @param string the table name 53 | * @return object 54 | */ 55 | function _optimize_table($table) 56 | { 57 | // Not a supported PDO feature 58 | if ($this->db->db_debug) 59 | { 60 | return $this->db->display_error('db_unsuported_feature'); 61 | } 62 | return FALSE; 63 | } 64 | 65 | // -------------------------------------------------------------------- 66 | 67 | /** 68 | * Repair table query 69 | * 70 | * Generates a platform-specific query so that a table can be repaired 71 | * 72 | * @access private 73 | * @param string the table name 74 | * @return object 75 | */ 76 | function _repair_table($table) 77 | { 78 | // Not a supported PDO feature 79 | if ($this->db->db_debug) 80 | { 81 | return $this->db->display_error('db_unsuported_feature'); 82 | } 83 | return FALSE; 84 | } 85 | 86 | // -------------------------------------------------------------------- 87 | 88 | /** 89 | * PDO Export 90 | * 91 | * @access private 92 | * @param array Preferences 93 | * @return mixed 94 | */ 95 | function _backup($params = array()) 96 | { 97 | // Currently unsupported 98 | return $this->db->display_error('db_unsuported_feature'); 99 | } 100 | 101 | } 102 | 103 | /* End of file pdo_utility.php */ 104 | /* Location: ./system/database/drivers/pdo/pdo_utility.php */ -------------------------------------------------------------------------------- /system/database/drivers/postgre/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/postgre/postgre_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsuported_feature'); 84 | } 85 | } 86 | 87 | 88 | /* End of file postgre_utility.php */ 89 | /* Location: ./system/database/drivers/postgre/postgre_utility.php */ -------------------------------------------------------------------------------- /system/database/drivers/sqlite/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/sqlite_utility.php: -------------------------------------------------------------------------------- 1 | db_debug) 42 | { 43 | return $this->db->display_error('db_unsuported_feature'); 44 | } 45 | return array(); 46 | } 47 | 48 | // -------------------------------------------------------------------- 49 | 50 | /** 51 | * Optimize table query 52 | * 53 | * Is optimization even supported in SQLite? 54 | * 55 | * @access private 56 | * @param string the table name 57 | * @return object 58 | */ 59 | function _optimize_table($table) 60 | { 61 | return FALSE; 62 | } 63 | 64 | // -------------------------------------------------------------------- 65 | 66 | /** 67 | * Repair table query 68 | * 69 | * Are table repairs even supported in SQLite? 70 | * 71 | * @access private 72 | * @param string the table name 73 | * @return object 74 | */ 75 | function _repair_table($table) 76 | { 77 | return FALSE; 78 | } 79 | 80 | // -------------------------------------------------------------------- 81 | 82 | /** 83 | * SQLite Export 84 | * 85 | * @access private 86 | * @param array Preferences 87 | * @return mixed 88 | */ 89 | function _backup($params = array()) 90 | { 91 | // Currently unsupported 92 | return $this->db->display_error('db_unsuported_feature'); 93 | } 94 | } 95 | 96 | /* End of file sqlite_utility.php */ 97 | /* Location: ./system/database/drivers/sqlite/sqlite_utility.php */ -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/sqlsrv_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsuported_feature'); 84 | } 85 | 86 | } 87 | 88 | /* End of file mssql_utility.php */ 89 | /* Location: ./system/database/drivers/mssql/mssql_utility.php */ -------------------------------------------------------------------------------- /system/database/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/fonts/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/fonts/texb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/system/fonts/texb.ttf -------------------------------------------------------------------------------- /system/helpers/array_helper.php: -------------------------------------------------------------------------------- 1 | input->set_cookie($name, $value, $expire, $domain, $path, $prefix, $secure); 53 | } 54 | } 55 | 56 | // -------------------------------------------------------------------- 57 | 58 | /** 59 | * Fetch an item from the COOKIE array 60 | * 61 | * @access public 62 | * @param string 63 | * @param bool 64 | * @return mixed 65 | */ 66 | if ( ! function_exists('get_cookie')) 67 | { 68 | function get_cookie($index = '', $xss_clean = FALSE) 69 | { 70 | $CI =& get_instance(); 71 | 72 | $prefix = ''; 73 | 74 | if ( ! isset($_COOKIE[$index]) && config_item('cookie_prefix') != '') 75 | { 76 | $prefix = config_item('cookie_prefix'); 77 | } 78 | 79 | return $CI->input->cookie($prefix.$index, $xss_clean); 80 | } 81 | } 82 | 83 | // -------------------------------------------------------------------- 84 | 85 | /** 86 | * Delete a COOKIE 87 | * 88 | * @param mixed 89 | * @param string the cookie domain. Usually: .yourdomain.com 90 | * @param string the cookie path 91 | * @param string the cookie prefix 92 | * @return void 93 | */ 94 | if ( ! function_exists('delete_cookie')) 95 | { 96 | function delete_cookie($name = '', $domain = '', $path = '/', $prefix = '') 97 | { 98 | set_cookie($name, '', '', $domain, $path, $prefix); 99 | } 100 | } 101 | 102 | 103 | /* End of file cookie_helper.php */ 104 | /* Location: ./system/helpers/cookie_helper.php */ -------------------------------------------------------------------------------- /system/helpers/directory_helper.php: -------------------------------------------------------------------------------- 1 | 0) && @is_dir($source_dir.$file)) 62 | { 63 | $filedata[$file] = directory_map($source_dir.$file.DIRECTORY_SEPARATOR, $new_depth, $hidden); 64 | } 65 | else 66 | { 67 | $filedata[] = $file; 68 | } 69 | } 70 | 71 | closedir($fp); 72 | return $filedata; 73 | } 74 | 75 | return FALSE; 76 | } 77 | } 78 | 79 | 80 | /* End of file directory_helper.php */ 81 | /* Location: ./system/helpers/directory_helper.php */ -------------------------------------------------------------------------------- /system/helpers/download_helper.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/helpers/language_helper.php: -------------------------------------------------------------------------------- 1 | lang->line($line); 47 | 48 | if ($id != '') 49 | { 50 | $line = '"; 51 | } 52 | 53 | return $line; 54 | } 55 | } 56 | 57 | // ------------------------------------------------------------------------ 58 | /* End of file language_helper.php */ 59 | /* Location: ./system/helpers/language_helper.php */ -------------------------------------------------------------------------------- /system/helpers/number_helper.php: -------------------------------------------------------------------------------- 1 | lang->load('number'); 44 | 45 | if ($num >= 1000000000000) 46 | { 47 | $num = round($num / 1099511627776, $precision); 48 | $unit = $CI->lang->line('terabyte_abbr'); 49 | } 50 | elseif ($num >= 1000000000) 51 | { 52 | $num = round($num / 1073741824, $precision); 53 | $unit = $CI->lang->line('gigabyte_abbr'); 54 | } 55 | elseif ($num >= 1000000) 56 | { 57 | $num = round($num / 1048576, $precision); 58 | $unit = $CI->lang->line('megabyte_abbr'); 59 | } 60 | elseif ($num >= 1000) 61 | { 62 | $num = round($num / 1024, $precision); 63 | $unit = $CI->lang->line('kilobyte_abbr'); 64 | } 65 | else 66 | { 67 | $unit = $CI->lang->line('bytes'); 68 | return number_format($num).' '.$unit; 69 | } 70 | 71 | return number_format($num, $precision).' '.$unit; 72 | } 73 | } 74 | 75 | 76 | /* End of file number_helper.php */ 77 | /* Location: ./system/helpers/number_helper.php */ -------------------------------------------------------------------------------- /system/helpers/path_helper.php: -------------------------------------------------------------------------------- 1 | security->xss_clean($str, $is_image); 45 | } 46 | } 47 | 48 | // ------------------------------------------------------------------------ 49 | 50 | /** 51 | * Sanitize Filename 52 | * 53 | * @access public 54 | * @param string 55 | * @return string 56 | */ 57 | if ( ! function_exists('sanitize_filename')) 58 | { 59 | function sanitize_filename($filename) 60 | { 61 | $CI =& get_instance(); 62 | return $CI->security->sanitize_filename($filename); 63 | } 64 | } 65 | 66 | // -------------------------------------------------------------------- 67 | 68 | /** 69 | * Hash encode a string 70 | * 71 | * @access public 72 | * @param string 73 | * @return string 74 | */ 75 | if ( ! function_exists('do_hash')) 76 | { 77 | function do_hash($str, $type = 'sha1') 78 | { 79 | if ($type == 'sha1') 80 | { 81 | return sha1($str); 82 | } 83 | else 84 | { 85 | return md5($str); 86 | } 87 | } 88 | } 89 | 90 | // ------------------------------------------------------------------------ 91 | 92 | /** 93 | * Strip Image Tags 94 | * 95 | * @access public 96 | * @param string 97 | * @return string 98 | */ 99 | if ( ! function_exists('strip_image_tags')) 100 | { 101 | function strip_image_tags($str) 102 | { 103 | $str = preg_replace("##", "\\1", $str); 104 | $str = preg_replace("##", "\\1", $str); 105 | 106 | return $str; 107 | } 108 | } 109 | 110 | // ------------------------------------------------------------------------ 111 | 112 | /** 113 | * Convert PHP tags to entities 114 | * 115 | * @access public 116 | * @param string 117 | * @return string 118 | */ 119 | if ( ! function_exists('encode_php_tags')) 120 | { 121 | function encode_php_tags($str) 122 | { 123 | return str_replace(array(''), array('<?php', '<?PHP', '<?', '?>'), $str); 124 | } 125 | } 126 | 127 | 128 | /* End of file security_helper.php */ 129 | /* Location: ./system/helpers/security_helper.php */ -------------------------------------------------------------------------------- /system/helpers/typography_helper.php: -------------------------------------------------------------------------------- 1 | load->library('typography'); 45 | 46 | return $CI->typography->nl2br_except_pre($str); 47 | } 48 | } 49 | 50 | // ------------------------------------------------------------------------ 51 | 52 | /** 53 | * Auto Typography Wrapper Function 54 | * 55 | * 56 | * @access public 57 | * @param string 58 | * @param bool whether to allow javascript event handlers 59 | * @param bool whether to reduce multiple instances of double newlines to two 60 | * @return string 61 | */ 62 | if ( ! function_exists('auto_typography')) 63 | { 64 | function auto_typography($str, $strip_js_event_handlers = TRUE, $reduce_linebreaks = FALSE) 65 | { 66 | $CI =& get_instance(); 67 | $CI->load->library('typography'); 68 | return $CI->typography->auto_typography($str, $strip_js_event_handlers, $reduce_linebreaks); 69 | } 70 | } 71 | 72 | 73 | // -------------------------------------------------------------------- 74 | 75 | /** 76 | * HTML Entities Decode 77 | * 78 | * This function is a replacement for html_entity_decode() 79 | * 80 | * @access public 81 | * @param string 82 | * @return string 83 | */ 84 | if ( ! function_exists('entity_decode')) 85 | { 86 | function entity_decode($str, $charset='UTF-8') 87 | { 88 | global $SEC; 89 | return $SEC->entity_decode($str, $charset); 90 | } 91 | } 92 | 93 | /* End of file typography_helper.php */ 94 | /* Location: ./system/helpers/typography_helper.php */ -------------------------------------------------------------------------------- /system/helpers/xml_helper.php: -------------------------------------------------------------------------------- 1 | ","\"", "'", "-"), 54 | array("&", "<", ">", """, "'", "-"), 55 | $str); 56 | 57 | // Decode the temp markers back to entities 58 | $str = preg_replace("/$temp(\d+);/","&#\\1;",$str); 59 | 60 | if ($protect_all === TRUE) 61 | { 62 | $str = preg_replace("/$temp(\w+);/","&\\1;", $str); 63 | } 64 | 65 | return $str; 66 | } 67 | } 68 | 69 | // ------------------------------------------------------------------------ 70 | 71 | /* End of file xml_helper.php */ 72 | /* Location: ./system/helpers/xml_helper.php */ -------------------------------------------------------------------------------- /system/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/language/english/calendar_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/language/english/migration_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/libraries/Cache/drivers/Cache_apc.php: -------------------------------------------------------------------------------- 1 | $time + $ttl, 121 | 'mtime' => $time, 122 | 'data' => $data 123 | ); 124 | } 125 | 126 | // ------------------------------------------------------------------------ 127 | 128 | /** 129 | * is_supported() 130 | * 131 | * Check to see if APC is available on this system, bail if it isn't. 132 | */ 133 | public function is_supported() 134 | { 135 | if ( ! extension_loaded('apc') OR ini_get('apc.enabled') != "1") 136 | { 137 | log_message('error', 'The APC PHP extension must be loaded to use APC Cache.'); 138 | return FALSE; 139 | } 140 | 141 | return TRUE; 142 | } 143 | 144 | } 145 | 146 | /* End of file Cache_apc.php */ 147 | /* Location: ./system/libraries/Cache/drivers/Cache_apc.php */ -------------------------------------------------------------------------------- /system/libraries/Cache/drivers/Cache_dummy.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/libraries/Cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/libraries/Log.php: -------------------------------------------------------------------------------- 1 | '1', 'DEBUG' => '2', 'INFO' => '3', 'ALL' => '4'); 35 | 36 | /** 37 | * Constructor 38 | */ 39 | public function __construct() 40 | { 41 | $config =& get_config(); 42 | 43 | $this->_log_path = ($config['log_path'] != '') ? $config['log_path'] : APPPATH.'logs/'; 44 | 45 | if ( ! is_dir($this->_log_path) OR ! is_really_writable($this->_log_path)) 46 | { 47 | $this->_enabled = FALSE; 48 | } 49 | 50 | if (is_numeric($config['log_threshold'])) 51 | { 52 | $this->_threshold = $config['log_threshold']; 53 | } 54 | 55 | if ($config['log_date_format'] != '') 56 | { 57 | $this->_date_fmt = $config['log_date_format']; 58 | } 59 | } 60 | 61 | // -------------------------------------------------------------------- 62 | 63 | /** 64 | * Write Log File 65 | * 66 | * Generally this function will be called using the global log_message() function 67 | * 68 | * @param string the error level 69 | * @param string the error message 70 | * @param bool whether the error is a native PHP error 71 | * @return bool 72 | */ 73 | public function write_log($level = 'error', $msg, $php_error = FALSE) 74 | { 75 | if ($this->_enabled === FALSE) 76 | { 77 | return FALSE; 78 | } 79 | 80 | $level = strtoupper($level); 81 | 82 | if ( ! isset($this->_levels[$level]) OR ($this->_levels[$level] > $this->_threshold)) 83 | { 84 | return FALSE; 85 | } 86 | 87 | $filepath = $this->_log_path.'log-'.date('Y-m-d').'.php'; 88 | $message = ''; 89 | 90 | if ( ! file_exists($filepath)) 91 | { 92 | $message .= "<"."?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?".">\n\n"; 93 | } 94 | 95 | if ( ! $fp = @fopen($filepath, FOPEN_WRITE_CREATE)) 96 | { 97 | return FALSE; 98 | } 99 | 100 | $message .= $level.' '.(($level == 'INFO') ? ' -' : '-').' '.date($this->_date_fmt). ' --> '.$msg."\n"; 101 | 102 | flock($fp, LOCK_EX); 103 | fwrite($fp, $message); 104 | flock($fp, LOCK_UN); 105 | fclose($fp); 106 | 107 | @chmod($filepath, FILE_WRITE_MODE); 108 | return TRUE; 109 | } 110 | 111 | } 112 | // END Log Class 113 | 114 | /* End of file Log.php */ 115 | /* Location: ./system/libraries/Log.php */ -------------------------------------------------------------------------------- /system/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /system/libraries/javascript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /user_guide/doc_style/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Writing Documentation : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Writing Documentation

59 | 60 |

To help facilitate a consistent, easy-to-read documentation style for CodeIgniter projects, EllisLab is making the markup and CSS from the CodeIgniter user guide freely available to the community for their use. For your convenience, a template file has been created that includes the primary blocks of markup used with brief samples.

61 | 62 |

Files

63 | 64 | 68 | 69 | 70 |
71 | 72 | 73 | 74 | 75 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /user_guide/general/creating_drivers.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Creating Drivers : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Creating Drivers

59 | 60 |

Driver Directory and File Structure

61 | 62 |

Sample driver directory and file structure layout:

63 | 64 |
    65 |
  • /application/libraries/Driver_name 66 |
      67 |
    • Driver_name.php
    • 68 |
    • drivers 69 |
        70 |
      • Driver_name_subclass_1.php
      • 71 |
      • Driver_name_subclass_2.php
      • 72 |
      • Driver_name_subclass_3.php
      • 73 |
      74 |
    • 75 |
    76 |
  • 77 |
78 | 79 |

NOTE: In order to maintain compatibility on case-sensitive file systems, the Driver_name directory must be ucfirst()

80 | 81 | 82 | 83 | 84 |
85 | 86 | 87 | 88 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /user_guide/general/quick_reference.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Quick Reference Chart : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Quick Reference Chart

59 | 60 |

For a PDF version of this chart, click here.

61 | 62 |

63 | 64 |
65 | 66 | 67 | 68 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /user_guide/general/requirements.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Server Requirements : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Server Requirements

59 | 60 |
    61 |
  • PHP version 5.1.6 or newer.
  • 62 |
  • A Database is required for most web application programming. Current supported databases are MySQL (4.1+), MySQLi, MS SQL, Postgres, Oracle, SQLite, and ODBC.
  • 63 |
64 | 65 | 66 | 67 |
68 | 69 | 70 | 71 | 72 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /user_guide/helpers/xml_helper.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | XML Helper : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 | 59 |

XML Helper

60 | 61 |

The XML Helper file contains functions that assist in working with XML data.

62 | 63 | 64 |

Loading this Helper

65 | 66 |

This helper is loaded using the following code:

67 | $this->load->helper('xml'); 68 | 69 |

The following functions are available:

70 | 71 |

xml_convert('string')

72 | 73 |

Takes a string as input and converts the following reserved XML characters to entities:

74 | 75 |

76 | Ampersands: &
77 | Less then and greater than characters: < >
78 | Single and double quotes: '  "
79 | Dashes: -

80 | 81 |

This function ignores ampersands if they are part of existing character entities. Example:

82 | 83 | $string = xml_convert($string); 84 | 85 | 86 | 87 | 88 | 89 | 90 |
91 | 92 | 93 | 94 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /user_guide/images/appflowchart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/appflowchart.gif -------------------------------------------------------------------------------- /user_guide/images/arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/arrow.gif -------------------------------------------------------------------------------- /user_guide/images/ci_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/ci_logo.jpg -------------------------------------------------------------------------------- /user_guide/images/ci_logo_flame.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/ci_logo_flame.jpg -------------------------------------------------------------------------------- /user_guide/images/ci_quick_ref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/ci_quick_ref.png -------------------------------------------------------------------------------- /user_guide/images/codeigniter_1.7.1_helper_reference.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/codeigniter_1.7.1_helper_reference.pdf -------------------------------------------------------------------------------- /user_guide/images/codeigniter_1.7.1_helper_reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/codeigniter_1.7.1_helper_reference.png -------------------------------------------------------------------------------- /user_guide/images/codeigniter_1.7.1_library_reference.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/codeigniter_1.7.1_library_reference.pdf -------------------------------------------------------------------------------- /user_guide/images/codeigniter_1.7.1_library_reference.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/codeigniter_1.7.1_library_reference.png -------------------------------------------------------------------------------- /user_guide/images/file.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/file.gif -------------------------------------------------------------------------------- /user_guide/images/folder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/folder.gif -------------------------------------------------------------------------------- /user_guide/images/nav_bg_darker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/nav_bg_darker.jpg -------------------------------------------------------------------------------- /user_guide/images/nav_separator_darker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/nav_separator_darker.jpg -------------------------------------------------------------------------------- /user_guide/images/nav_toggle_darker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/nav_toggle_darker.jpg -------------------------------------------------------------------------------- /user_guide/images/reactor-bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/reactor-bullet.png -------------------------------------------------------------------------------- /user_guide/images/smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/smile.gif -------------------------------------------------------------------------------- /user_guide/images/transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/makasimenator/codeigniter-reactjs-example/05da4b107cb735acb818fac6a1ac710e446d0f6b/user_guide/images/transparent.gif -------------------------------------------------------------------------------- /user_guide/installation/troubleshooting.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Troubleshooting : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Troubleshooting

59 | 60 |

If you find that no matter what you put in your URL only your default page is loading, it might be that your server 61 | does not support the PATH_INFO variable needed to serve search-engine friendly URLs. 62 | 63 | As a first step, open your application/config/config.php file and look for the URI Protocol 64 | information. It will recommend that you try a couple alternate settings. If it still doesn't work after you've tried this you'll need 65 | to force CodeIgniter to add a question mark to your URLs. To do this open your application/config/config.php file and change this:

66 | 67 | $config['index_page'] = "index.php"; 68 | 69 |

To this:

70 | 71 | $config['index_page'] = "index.php?"; 72 | 73 | 74 |
75 | 76 | 77 | 78 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_120.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading From Beta 1.0 to Final 1.2

59 | 60 |

To upgrade to Version 1.2 please replace the following directories with the new versions:

61 | 62 |

Note: If you have any custom developed files in these folders please make copies of them first.

63 | 64 |
    65 |
  • drivers
  • 66 |
  • helpers
  • 67 |
  • init
  • 68 |
  • language
  • 69 |
  • libraries
  • 70 |
  • plugins
  • 71 |
  • scaffolding
  • 72 |
73 | 74 |

Please also replace your local copy of the user guide with the new version.

75 | 76 |
77 | 78 | 79 | 80 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_210.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Upgrading from 2.0.3 to 2.1.0 : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading from 2.0.3 to 2.1.0

59 | 60 |

Before performing an update you should take your site offline by replacing the index.php file with a static one.

61 | 62 |

Step 1: Update your CodeIgniter files

63 | 64 |

Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

65 | 66 |

Note: If you have any custom developed files in these folders please make copies of them first.

67 | 68 |

Step 2: Replace config/user_agents.php

69 | 70 |

This config file has been updated to contain more user agent types, please copy it to application/config/user_agents.php.

71 | 72 | 73 |
74 | 75 | 76 | 77 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_212.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Upgrading from 2.1.1 to 2.1.2 : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading from 2.1.1 to 2.1.2

59 | 60 |

Before performing an update you should take your site offline by replacing the index.php file with a static one.

61 | 62 |

Step 1: Update your CodeIgniter files

63 | 64 |

Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

65 | 66 |

Note: If you have any custom developed files in these folders please make copies of them first.

67 | 68 |
69 | 70 | 71 | 72 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_213.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Upgrading from 2.1.2 to 2.1.3 : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading from 2.1.2 to 2.1.3

59 | 60 |

Before performing an update you should take your site offline by replacing the index.php file with a static one.

61 | 62 |

Step 1: Update your CodeIgniter files

63 | 64 |

Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

65 | 66 |

Note: If you have any custom developed files in these folders please make copies of them first.

67 | 68 |
69 | 70 | 71 | 72 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_214.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Upgrading from 2.1.3 to 2.1.4 : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading from 2.1.3 to 2.1.4

59 | 60 |

Before performing an update you should take your site offline by replacing the index.php file with a static one.

61 | 62 |

Step 1: Update your CodeIgniter files

63 | 64 |

Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

65 | 66 |

Note: If you have any custom developed files in these folders please make copies of them first.

67 | 68 |
69 | 70 | 71 | 72 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_221.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Upgrading from 2.2.0 to 2.2.1 : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading from 2.2.0 to 2.2.1

59 | 60 |

Before performing an update you should take your site offline by replacing the index.php file with a static one.

61 | 62 |

Step 1: Update your CodeIgniter files

63 | 64 |

Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

65 | 66 |

Note: If you have any custom developed files in these folders please make copies of them first.

67 | 68 |
69 | 70 | 71 | 72 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_222.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Upgrading from 2.2.1 to 2.2.2 : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading from 2.2.1 to 2.2.2

59 | 60 |

Before performing an update you should take your site offline by replacing the index.php file with a static one.

61 | 62 |

Step 1: Update your CodeIgniter files

63 | 64 |

Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

65 | 66 |

Note: If you have any custom developed files in these folders please make copies of them first.

67 | 68 |
69 | 70 | 71 | 72 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_223.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Upgrading from 2.2.2 to 2.2.3 : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading from 2.2.2 to 2.2.3

59 | 60 |

Before performing an update you should take your site offline by replacing the index.php file with a static one.

61 | 62 |

Step 1: Update your CodeIgniter files

63 | 64 |

Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

65 | 66 |

Note: If you have any custom developed files in these folders please make copies of them first.

67 | 68 |
69 | 70 | 71 | 72 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_224.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Upgrading from 2.2.3 to 2.2.4 : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading from 2.2.3 to 2.2.4

59 | 60 |

Before performing an update you should take your site offline by replacing the index.php file with a static one.

61 | 62 |

Step 1: Update your CodeIgniter files

63 | 64 |

Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

65 | 66 |

Note: If you have any custom developed files in these folders please make copies of them first.

67 | 68 |
69 | 70 | 71 | 72 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /user_guide/installation/upgrade_225.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Upgrading from 2.2.4 to 2.2.5 : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

Upgrading from 2.2.4 to 2.2.5

59 | 60 |

Before performing an update you should take your site offline by replacing the index.php file with a static one.

61 | 62 |

Step 1: Update your CodeIgniter files

63 | 64 |

Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

65 | 66 |

Note: If you have any custom developed files in these folders please make copies of them first.

67 | 68 |
69 | 70 | 71 | 72 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /user_guide/nav/hacks.txt: -------------------------------------------------------------------------------- 1 | I did the following hack in moo.fx.js: 2 | 3 | At line 79 in the toggle: function() function, I added: 4 | 5 | document.getElementById('nav').style.display = 'block'; 6 | 7 | -- Rick Ellis 8 | 9 | 10 | Also removed fx.Opacity and fx.Height from moo.fx.js -- Pascal -------------------------------------------------------------------------------- /user_guide/nav/moo.fx.js: -------------------------------------------------------------------------------- 1 | /* 2 | moo.fx, simple effects library built with prototype.js (http://prototype.conio.net). 3 | by Valerio Proietti (http://mad4milk.net) MIT-style LICENSE. 4 | for more info (http://moofx.mad4milk.net). 5 | 10/24/2005 6 | v(1.0.2) 7 | */ 8 | 9 | //base 10 | var fx = new Object(); 11 | fx.Base = function(){}; 12 | fx.Base.prototype = { 13 | setOptions: function(options) { 14 | this.options = { 15 | duration: 500, 16 | onComplete: '' 17 | } 18 | Object.extend(this.options, options || {}); 19 | }, 20 | 21 | go: function() { 22 | this.duration = this.options.duration; 23 | this.startTime = (new Date).getTime(); 24 | this.timer = setInterval (this.step.bind(this), 13); 25 | }, 26 | 27 | step: function() { 28 | var time = (new Date).getTime(); 29 | var Tpos = (time - this.startTime) / (this.duration); 30 | if (time >= this.duration+this.startTime) { 31 | this.now = this.to; 32 | clearInterval (this.timer); 33 | this.timer = null; 34 | if (this.options.onComplete) setTimeout(this.options.onComplete.bind(this), 10); 35 | } 36 | else { 37 | this.now = ((-Math.cos(Tpos*Math.PI)/2) + 0.5) * (this.to-this.from) + this.from; 38 | //this time-position, sinoidal transition thing is from script.aculo.us 39 | } 40 | this.increase(); 41 | }, 42 | 43 | custom: function(from, to) { 44 | if (this.timer != null) return; 45 | this.from = from; 46 | this.to = to; 47 | this.go(); 48 | }, 49 | 50 | hide: function() { 51 | this.now = 0; 52 | this.increase(); 53 | }, 54 | 55 | clearTimer: function() { 56 | clearInterval(this.timer); 57 | this.timer = null; 58 | } 59 | } 60 | 61 | //stretchers 62 | fx.Layout = Class.create(); 63 | fx.Layout.prototype = Object.extend(new fx.Base(), { 64 | initialize: function(el, options) { 65 | this.el = $(el); 66 | this.el.style.overflow = "hidden"; 67 | this.el.iniWidth = this.el.offsetWidth; 68 | this.el.iniHeight = this.el.offsetHeight; 69 | this.setOptions(options); 70 | } 71 | }); 72 | 73 | fx.Height = Class.create(); 74 | Object.extend(Object.extend(fx.Height.prototype, fx.Layout.prototype), { 75 | increase: function() { 76 | this.el.style.height = this.now + "px"; 77 | }, 78 | 79 | toggle: function() { 80 | if (this.el.offsetHeight > 0) this.custom(this.el.offsetHeight, 0); 81 | else this.custom(0, this.el.scrollHeight); 82 | } 83 | }); 84 | -------------------------------------------------------------------------------- /user_guide/nav/prototype.lite.js: -------------------------------------------------------------------------------- 1 | /* Prototype JavaScript framework 2 | * (c) 2005 Sam Stephenson 3 | * 4 | * Prototype is freely distributable under the terms of an MIT-style license. 5 | * 6 | * For details, see the Prototype web site: http://prototype.conio.net/ 7 | * 8 | /*--------------------------------------------------------------------------*/ 9 | 10 | 11 | //note: this is a stripped down version of prototype, to be used with moo.fx by mad4milk (http://moofx.mad4milk.net). 12 | 13 | var Class = { 14 | create: function() { 15 | return function() { 16 | this.initialize.apply(this, arguments); 17 | } 18 | } 19 | } 20 | 21 | Object.extend = function(destination, source) { 22 | for (property in source) { 23 | destination[property] = source[property]; 24 | } 25 | return destination; 26 | } 27 | 28 | Function.prototype.bind = function(object) { 29 | var __method = this; 30 | return function() { 31 | return __method.apply(object, arguments); 32 | } 33 | } 34 | 35 | function $() { 36 | var elements = new Array(); 37 | 38 | for (var i = 0; i < arguments.length; i++) { 39 | var element = arguments[i]; 40 | if (typeof element == 'string') 41 | element = document.getElementById(element); 42 | 43 | if (arguments.length == 1) 44 | return element; 45 | 46 | elements.push(element); 47 | } 48 | 49 | return elements; 50 | } 51 | 52 | //------------------------- 53 | 54 | document.getElementsByClassName = function(className) { 55 | var children = document.getElementsByTagName('*') || document.all; 56 | var elements = new Array(); 57 | 58 | for (var i = 0; i < children.length; i++) { 59 | var child = children[i]; 60 | var classNames = child.className.split(' '); 61 | for (var j = 0; j < classNames.length; j++) { 62 | if (classNames[j] == className) { 63 | elements.push(child); 64 | break; 65 | } 66 | } 67 | } 68 | 69 | return elements; 70 | } 71 | 72 | //------------------------- 73 | 74 | if (!window.Element) { 75 | var Element = new Object(); 76 | } 77 | 78 | Object.extend(Element, { 79 | remove: function(element) { 80 | element = $(element); 81 | element.parentNode.removeChild(element); 82 | }, 83 | 84 | hasClassName: function(element, className) { 85 | element = $(element); 86 | if (!element) 87 | return; 88 | var a = element.className.split(' '); 89 | for (var i = 0; i < a.length; i++) { 90 | if (a[i] == className) 91 | return true; 92 | } 93 | return false; 94 | }, 95 | 96 | addClassName: function(element, className) { 97 | element = $(element); 98 | Element.removeClassName(element, className); 99 | element.className += ' ' + className; 100 | }, 101 | 102 | removeClassName: function(element, className) { 103 | element = $(element); 104 | if (!element) 105 | return; 106 | var newClassName = ''; 107 | var a = element.className.split(' '); 108 | for (var i = 0; i < a.length; i++) { 109 | if (a[i] != className) { 110 | if (i > 0) 111 | newClassName += ' '; 112 | newClassName += a[i]; 113 | } 114 | } 115 | element.className = newClassName; 116 | }, 117 | 118 | // removes whitespace-only text node children 119 | cleanWhitespace: function(element) { 120 | element = $(element); 121 | for (var i = 0; i < element.childNodes.length; i++) { 122 | var node = element.childNodes[i]; 123 | if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) 124 | Element.remove(node); 125 | } 126 | } 127 | }); -------------------------------------------------------------------------------- /user_guide/nav/user_guide_menu.js: -------------------------------------------------------------------------------- 1 | window.onload = function() { 2 | myHeight = new fx.Height('nav', {duration: 400}); 3 | myHeight.hide(); 4 | } -------------------------------------------------------------------------------- /user_guide/overview/cheatsheets.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CodeIgniter Cheatsheets : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

CodeIgniter Cheatsheets

59 | 60 |

Library Reference

61 | 62 |
CodeIgniter Library Reference
63 | 64 |

Helpers Reference

65 |
CodeIgniter Library Reference
66 | 67 |
68 | 69 | 70 | 71 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /user_guide/overview/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CodeIgniter Overview : CodeIgniter User Guide 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | 34 |

CodeIgniter User Guide Version 2.2.6

35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 47 | 48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 |
57 | 58 |

CodeIgniter Overview

59 | 60 |

The following pages describe the broad concepts behind CodeIgniter:

61 | 62 | 70 | 71 | 72 | 73 | 74 |
75 | 76 | 77 | 78 | 82 | 83 | 84 | --------------------------------------------------------------------------------