File: examples/formcontroller/example1.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/formcontroller/example1.php  >  Download  
File: examples/formcontroller/example1.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 5 years ago
Size: 471 bytes
 

Contents

Class file image Download
<?php
require_once 'config.php';
require_once
dirname(__FILE__) . '/../../A/Locator.php';
#require_once('A/Http/Request.php');
#require_once('A/Http/Response.php');

$Locator = new A_Locator();
$Locator->autoload();
#$Response = new A_Http_Response();
$Locator->set('Request', new A_Http_Request());
#$Locator->set('Response', $Response);

require_once('controllers/Form1.php');
$Controller = new Form1();
$Controller->index($Locator);
#$Response->out();

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