用户指南概述 | User guide: Overview 应用程序流程图 | Application Flow Chart CodeIgniter一览 | CodeIgniter at a Glance CodeIgniter功能 | CodeIgniter Features CodeIgniter总览 | CodeIgniter Overview 设计和建筑目标 | Design and Architectural Goals
classUser_modelextendsCI_Model{publicfunction__construct(){parent::__construct();// Your own constructor code}} 你的文件将是这样的: 代码语言:javascript 复制 application/models/User_model.php 加载模型 您的模型通常会从您的控制器方法中加载和调用。要加载模型,您将使用以下方法: ...
CodeIgniter-Chinese/codeigniter-user-guide master BranchesTags Code Folders and files Latest commit 353 Commits cilexer Makefile deploy-gh-pages.sh CodeIgniter 3.x 中文手册 这里是 CodeIgniter 3.x 的中文手册,翻译自 CodeIgniter官方的英文手册, 以aneasystone翻译的手册为基础制作。
CodeIgniter User GuideLicense Agreement Change Log Welcome Basic Info Installation Introduction Tutorial Contributing to CodeIgniter General Topics Library Reference Database Reference Helper ReferenceWelcome Welcome to CodeIgniter Basic Info Server Requirements Credits ...
开发者通常希望在开发环境和生产环境有不同的行为。例如错误信息在开发中有用,而在项目上线后者可能会造成一些安全问题。 ENVIRONMENT 常量 默认情况下,CodeIgniter 把环境常量$_SERVER['CI_ENV']设置为 'development',在 index.php 的顶部,你会看到:
CodeIgniter Home › User Guide Home › Hooks - Extending the Framework Core Search User Guide Hooks - Extending the Framework CoreCodeIgniter's Hooks feature provides a means to tap into and modify the inner workings of the framework without hacking the core files. When CodeIgniter runs it ...
CodeIgniter Home › User Guide Home › Tutorial › Create news items Search User Guide Tutorial - Create news items You now know how you can read data from a database using CodeIgnite, but you haven't written any information to the database yet. In this section you'll expand your ...
默认情况下,你仅会用 CodeIgniter 管理一个应用程序,这个程序位于application/文件夹中。当然,也有可能多个程序共享一个 CodeIgniter,甚至对application/重命名或更换路径。 重命名应用文件夹 如果你想重命名应用文件夹,你可以打开 index.php 文件,并使用变量$application_folder设置它的名字。
Search User Guide Managing your ApplicationsBy default it is assumed that you only intend to use CodeIgniter to manage one application, which you will build in your application/ directory. It is possible, however, to have multiple sets of applications that share a single CodeIgniter installation, ...
CodeIgniter User GuideWelcome to CodeIgniterCodeIgniter is an Application Development Framework-a toolkit-for people who buildweb sites using PHP. Its goal is to enable you to develop projects much faster than youcould if you were writing code from scratch, by providing a rich set of libraries ...