1. Define a Global Area

 $area = new Mage5Area("Home Gallery");

 $area->display();

2. Define Static Area

$area = new Mage5Area("Home Gallery", true);
$area->display();

3. Page Picker Field

$page = new Mage5Pages();

$page->outputPagePicker('displayPagesCID', $displayPagesCID);

4. File Picker Field

$f = new Mage5Files();

$f->outputFilePicker('fID', $fID);

5. Loader Class

Loader::Library('phpclass');

Loader::Model('phpclass');

Loader::Helper('phpclass');

6. Defined Variables

define('DIRNAME_APP', 'magefive1.0.0');

define('SUB_DIR', '');   // Installed Sub Directory

define('MAGE_ROOT', $_SERVER['DOCUMENT_ROOT'].'/'.SUB_DIR);

define('SITE_URL', 'http://'.$_SERVER['HTTP_HOST'].'/'.SUB_DIR);

define('DATE_APP_GENERIC_MDY', 'Y-m-d');

define('DATE_APP_DATE_PICKER', t('yy-mm-dd'));

define('DATE_FORM_HELPER_FORMAT_HOUR', '12');

define('DIRNAME_FILE_UPLOAD', MAGE_ROOT.'media/');

define('DIRNAME_CORE', 'core');

define('DIR_BASE', MAGE_ROOT.DIRNAME_APP);

define('DIR_BASE_CORE', DIR_BASE.'/'.DIRNAME_CORE);

define('DIR_REL', SITE_URL.DIRNAME_APP);

define('DIR_REL_CORE', SITE_URL.DIRNAME_APP.'/'.DIRNAME_CORE);

define('DIR_FILES_BLOCK_TYPES', DIR_BASE . '/blocks');

define('DIR_FILES_BLOCK_TYPES_CORE', DIR_BASE_CORE . '/blocks');

define('DIR_MODELS', DIR_BASE . '/models'); 

define('DIR_MODELS_CORE', DIR_BASE_CORE . '/models');