All snippets of the tag template |
|
1-5 of 5 Entries |
|
|
runPhpCode (PHP::Function) |
Created by Marko Schulz at 2010-02-08 16:51:34 |
/**********************************************
* This function execute PHP code inside in a
* function block.
*
* @param $input The php code to execute
* @return string
*/
function runPhpCode( $input = Null ) {
ob_start();
eval( $input );... |
|
get_template (PHP::Snippets) |
Created by Marko Schulz at 2010-01-20 12:48:07 |
// $template = get_template ( './template/header.tpl' );
// $template = str_replace( '[%PHP_SELF%]', $_SERVER['PHP_SELF'], $template );
// echo $template;
//
// ***************************************************************
// get_template -- load cu... |
|
template.class.php (PHP::Class) |
Created by Marko Schulz at 2009-01-12 16:26:55 |
<?php
/**
* Klasse Template
*
* Über die Klasse Template kann ein Template-Objekt erzeugt werden.
* Darüber hinaus lassen sich die Attribute pattern1, pattern2 anpassen.
* Die Template Datei kann als String oder Assoc Array "file" definiert werd... |
|
return_template (PHP::Function) |
Created by Marko Schulz at 2008-12-27 03:09:07 |
// *************************************************************
// This function load the current defined template file. If the
// template file not exists, the function dies with an error message.
//
// (string) string return_template( (string) ... |
|
return_template (Python::Function) |
Created by Marko Schulz at 2008-12-27 03:04:02 |
def return_template( file ):
"""return_template --- This function load the current defined template file.
If the template file not exists, the function dies with an error message.
(string) string return_template( (string) file )"""
... |
|
1-5 of 5 Entries |
|
|