Chyrp

Common

Chyrp A Lightweight Blogging Engine

Version

v2.0

License

GPL-3

Chyrp Copyright

Copyright © 2008 Alex Suraci, http://toogeneric.com/

Summary
Common v2.0
Constants
CHYRP_VERSION Chyrp’s version number.
DEBUG Should Chyrp use debugging processes?  This will also toggle Twig template caching.  Disable it if you’re live-developing your theme.
ADMIN Is this the JavaScript file?
ADMIN Is the user in the admin area?
AJAX Is this being run from an AJAX request?
XML_RPC Is this being run from XML-RPC?
TRACKBACK Is this being run from a trackback request?
UPGRADING Is the user running the upgrader?  (false)
INSTALLING Is the user running the installer?  (false)
TESTER Is the site being run by the automated tester?
INDEX Is the requested file /index.php?
MAIN_DIR Absolute path to the Chyrp root
INCLUDES_DIR Absolute path to /includes
MODULES_DIR Absolute path to /modules
FEATHERS_DIR Absolute path to /feathers
THEMES_DIR Absolute path to /themes
Files
Helpers Various functions used throughout Chyrp’s code.
Gettext Gettext library.
Streams Streams library.
YAML Horde YAML parsing library.
Config Config
SQL SQL
Model Model
User User
Visitor Visitor
Post Post
Page Page
Group Group
Session Session
Flash Flash
Theme Theme
Trigger Trigger
Module Module
Feathers Feathers
Paginator Paginator
Twig Chyrp’s templating engine.
Route Route
Main Main Controller
Admin Admin Controller
Feather Feather
Constants
PREVIEWING Is the user previewing a theme?
THEME_DIR Absolute path to /themes/(current/previewed theme)
THEME_URL URL to /themes/(current/previewed theme)

Constants

CHYRP_VERSION

Chyrp’s version number.

DEBUG

Should Chyrp use debugging processes?  This will also toggle Twig template caching.  Disable it if you’re live-developing your theme.

ADMIN

Is this the JavaScript file?

ADMIN

Is the user in the admin area?

AJAX

Is this being run from an AJAX request?

XML_RPC

Is this being run from XML-RPC?

TRACKBACK

Is this being run from a trackback request?

UPGRADING

Is the user running the upgrader?  (false)

INSTALLING

Is the user running the installer?  (false)

TESTER

Is the site being run by the automated tester?

INDEX

Is the requested file /index.php?

MAIN_DIR

Absolute path to the Chyrp root

INCLUDES_DIR

Absolute path to /includes

MODULES_DIR

Absolute path to /modules

FEATHERS_DIR

Absolute path to /feathers

THEMES_DIR

Absolute path to /themes

Files

Helpers

Various functions used throughout Chyrp’s code.

Gettext

Gettext library.

Streams

Streams library.

YAML

Horde YAML parsing library.

Config

See Also

Config

SQL

See Also

SQL

Model

See Also

Model

User

See Also

User

Visitor

See Also

Visitor

Post

See Also

Post

Page

See Also

Page

Group

See Also

Group

Session

See Also

Session

Flash

See Also

Flash

Theme

See Also

Theme

Trigger

See Also

Trigger

Module

See Also

Module

Feathers

See Also

Feathers

Paginator

See Also

Paginator

Twig

Chyrp’s templating engine.

Route

See Also

Route

Main

See Also

Main Controller

Admin

Feather

See Also

Feather

Constants

PREVIEWING

Is the user previewing a theme?

THEME_DIR

Absolute path to /themes/(current/previewed theme)

THEME_URL

URL to /themes/(current/previewed theme)