Login   Register  
PHP Classes

File: tinyMVC/lib/FrameView.class.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alan H. Lake  >  tinyMVC  >  tinyMVC/lib/FrameView.class.php  >  Download  
File: tinyMVC/lib/FrameView.class.php
Role: Class source
Content type: text/plain
Description: RestView implementation for a view
Class: tinyMVC
MVC based Web application framework
Author: By
Last change: Added comment to Contents.
Date: 4 years ago
Size: 627 bytes


Class file image Download
// Combines the contents of a frame file with the main page code for creating a view.
// For use with RestServer
class FrameView implements RestView {

strlen($frame_file) > 0) {
$frame_code file_get_contents($frame_file);
$this->whole_page str_replace('%contents%',$page_code,$frame_code);
$this->whole_page $page_code;

show(RestServer $rest)
$rest ;