PEEL Shopping
Open source ecommerce : PEEL Shopping
String.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of Twig.
5  *
6  * (c) 2009 Fabien Potencier
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
27 {
31  public function getSource($name)
32  {
33  return $name;
34  }
35 
39  public function exists($name)
40  {
41  return true;
42  }
43 
47  public function getCacheKey($name)
48  {
49  return $name;
50  }
51 
55  public function isFresh($name, $time)
56  {
57  return true;
58  }
59 }
getSource($name)
{Gets the source code of a template, given its name.The name of the template to loadstring The templa...
Definition: String.php:31
exists($name)
{Check if we have the source code of a template, given its name.The name of the template to check if ...
Definition: String.php:39
Adds an exists() method for loaders.
isFresh($name, $time)
{Returns true if the template is still fresh.The template name The last modification time of the cach...
Definition: String.php:55
getCacheKey($name)
{Gets the cache key to use for the cache for a given template name.The name of the template to loadst...
Definition: String.php:47
Loads a template from a string.
Definition: String.php:26
Interface all loaders must implement.

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:30:08 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.