File structure

  • [forms]
    • controller.php
  • [libs]
  • [logs]
    • .htaccess
  • [public_html]
    • [content]
      • [_templates]
        • _email.php
        • 404.php
        • sitemap_xml.php
        • robots_txt.php
    • [media]
      • [flash]
      • [images]
      • [js]
      • [styles]
    • .htaccess
    • config.dev.php
    • config.staging.php
    • config.live.php
    • index.php
    • helpers.php
    • sitemap.php

Constants

Basic

Name Default Description
BASE_URL
BASE_PATH
LIBS_PATH
FORMS_PATH
PUBLIC_PATH
CONTENT_PATH
EXT
REQUEST_CHARACTERS \/a-zA-Z0-9_-

Email

Name Description
MAIL_TO
MAIL_FROM
MAIL_SUBJECT
MAIL_METHOD mail,smtp,debug
MAIL_SMTP
MAIL_PORT
MAIL_SSL
MAIL_USER
MAIL_PASSWORD

Meta

Name Description
SITE_NAME
SITE_TITLE

Helpers

name Description
get_title( $request, $sitemap )
get_breadcrumb( $request, $sitemap, $base_url = ”” )
active_class($segment)
post($key, $default = FALSE)
a_int($uri, $title) internal link
a_ext($url, $title = NULL)
img($uri, $alt = ””, $attributes = ””)
safe_mailto($email, $title = ””, $attributes = ””) © Code Igniter
form_value( $name )
form_checkbox( $name, $value )
form_select( $name, $value )
valid_email($address)
convert_sitemap( $sitemap )
display_sitemap( $sitemap_array, $sitemap )
 
pihp.txt · Last modified: 2009/09/07 00:00 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki