This repository was archived by the owner on Dec 8, 2022. It is now read-only.
forked from mako-framework/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started: Constants
Marco Montalbano edited this page Jul 31, 2017
·
1 revision
The following constants are defined by the Mako framework:
| Name | Description |
|---|---|
| MAKO_VERSION | Holds the Mako framework version. |
| MAKO_CHARSET | Default charset used internally in the framework. |
| MAKO_APPLICATION_PATH | Defines the path to the app directory (without trailing slash). |
| MAKO_APPLICATION_PARENT_PATH | Defines the path to the parent directory of the app directory (without trailing slash). |
| MAKO_START | Starting point of the framework execution in ms. |
| MAKO_MAGIC_QUOTES | Holds the return value of get_magic_quotes_gpc(). |
| MAKO_IS_WINDOWS | Is set to TRUE if Mako runs on a Windows system and FALSE if not. |
| MAKO_APPLICATION_ID | MD5 hash of the application path. |
| MAKO_PACKAGES_PATH | Path to the packages directory. |
The following constants can modify the behavior of the framework if defined:
| Name | Description |
|---|---|
| MAKO_XHTML | If this constant is defined then the HTML helper will return XHTML compatible tags. |
- Getting started: Installation
- Getting started: Configuration
- Getting started: Error handling
- Getting started: Constants
- Getting started: Coding standards
- Controllers: Controllers
- Controllers: Request
- Controllers: Response
- Databases: Basics
- Databases: Query builder
- Databases: Orm
- Databases: Migrations
- Command line: Basics
- Command line: Custom tasks
- Packages: Basics
- Packages: Composer packages
- Learn more: Array helper
- Learn more: Asset manager
- Learn more: Autoloading
- Learn more: Caching
- Learn more: Cookies
- Learn more: Events
- Learn more: File helper
- Learn more: Html helper
- Learn more: Internationalization
- Learn more: Logging
- Learn more: Number helper
- Learn more: Pagination
- Learn more: Redis client
- Learn more: Rest client
- Learn more: Security helpers
- Learn more: Sessions
- Learn more: String helper
- Learn more: Url helper
- Learn more: Uuid helper
- Learn more: Validation
- Learn more: Views