PHP Classes

File: src/Interfaces/View.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu   Jaxon Sentry   src/Interfaces/View.php   Download  
File: src/Interfaces/View.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon Sentry
Common classes for Jaxon based Ajax applications
Author: By
Last change: Update of src/Interfaces/View.php
Date: 3 years ago
Size: 733 bytes
 

Contents

Class file image Download
<?php

namespace Jaxon\Sentry\Interfaces;

use
Jaxon\Sentry\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);
}