PHP Classes

File: src/Contracts/View.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu   Jaxon   src/Contracts/View.php   Download  
File: src/Contracts/View.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change:
Date: 4 years ago
Size: 724 bytes
 

Contents

Class file image Download
<?php

namespace Jaxon\Contracts;

use
Jaxon\Utils\View\Store;

interface
View
{
   
/**
     * Add a namespace to the view renderer
     *
     * @param string $sNamespace The namespace name
     * @param string $sDirectory The namespace directory
     * @param string $sExtension The extension to append to template names
     *
     * @return void
     */
   
public function addNamespace($sNamespace, $sDirectory, $sExtension = '');

   
/**
     * Render a view
     *
     * @param Store $store A store populated with the view data
     *
     * @return string The string representation of the view
     */
   
public function render(Store $store);
}