PHP Classes

File: complex-example/view/include/header.inc.php

Recommend this page to a friend!
  Classes of none  >  Raw AJAX Wrapper  >  complex-example/view/include/header.inc.php  >  Download  
File: complex-example/view/include/header.inc.php
Role: Example script
Content type: text/plain
Description: Header script
Class: Raw AJAX Wrapper
Generate JavaScript to send AJAX requests
Author: By
Last change:
Date: 8 years ago
Size: 986 bytes
 

Contents

Class file image Download
<?php
/**
 * Model Layer
 */
// Include the main Propel script
require_once ROOT.'/model/vendor/propel/runtime/lib/Propel.php';
// Initialize Propel with the runtime configuration
Propel::init(ROOT."/model/build/conf/address_book-conf.php");
// Add the generated 'classes' directory to the include path
set_include_path(ROOT."/model/build/classes" . PATH_SEPARATOR . get_include_path());
/**
 * Controller Layer
 */
require_once ROOT.'/controller/PHPInterfaceTags.php';
require_once
ROOT.'/controller/PHPClassForm.php';
require_once
ROOT.'/controller/PHPClassFormInputTypes.php';
require_once
ROOT.'/../PHPClassDescribeDatabase.php';
require_once
ROOT.'/../PHPClassManageRowData.php';
require_once
ROOT.'/controller/PHPClassFormAddressBook.php';

print
'<!DOCTYPE html>
        <html>
        <head>
        <title>Address Book</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'
;
print
' <link rel="stylesheet" href="css/address-book.css" />';
print
' </head>
        <body>'
;

For more information send a message to info at phpclasses dot org.