code stringlengths 1 2.01M | language stringclasses 1
value |
|---|---|
<?php
/**
* Description of ErroMeta
*
* @author Magno
*/
class ErroMeta {
private $classe;
private $atributo;
private $mensagem;
function __construct($classe = "", $atributo = "", $mensagem = "") {
$this->classe = $classe;
$this->atributo = $atributo;
$this->mensage... | PHP |
<?php
header('Content-type: text/html; charset=utf-8');
include_once 'autoload.php';
include_once 'include/php/Conexao.class.php';
include_once 'include/php/Constantes.class.php';
include_once 'include/php/Util.class.php';
include_once 'include/php/Seguranca.class.php';
$action = new SystemAction();... | PHP |
<?php
/**
* Description of MenuViewGenerator
*
* @author Magno
*/
class MenuViewGenerator {
private $tablesMeta;
private $templateMenu;
private $params;
function __construct($tablesMeta, $params) {
$this->tablesMeta = $tablesMeta;
$this->params = $params;
i... | PHP |
<?php
/**
* Description of ActionGenerator
*
* @author BloumGenerator
*/
class ActionGenerator {
private $tableMeta;
private $parentTbMeta;
private $templateAction;
private $attPK;
private $params;
function __construct($tableMeta, $params) {
$this->tableMeta = $tableMeta;
... | PHP |
<?php
/**
* Description of ViewGenerator
*
* @author BloumGenerator
*/
abstract class ViewGenerator {
protected $tableMeta;
protected $viewParams;
protected $parentTbMeta;
protected $templateView;
protected $attPK;
function __construct($tableMeta, $viewParams, $templateView) {
... | PHP |
<?php
/**
* Description of CadastroViewGenerator
*
* @author Magno
*/
class CadastroViewGenerator extends ViewGenerator{
public function __construct($tableMeta, $viewParams) {
parent::__construct($tableMeta, $viewParams, Constantes::$TEMPLATES_VIEW_DIR."cadastro.bloum");
}
public function gene... | PHP |
<?php
/**
* Description of DetalhesViewGenerator
*
* @author Magno
*/
class DetalhesViewGenerator extends ViewGenerator{
public function __construct($tableMeta, $viewParams) {
parent::__construct($tableMeta, $viewParams, Constantes::$TEMPLATES_VIEW_DIR."detalhes.bloum");
}
public function gene... | PHP |
<?php
/**
* Description of DetalhesIncludeViewGenerator
*
* @author Magno
*/
class DetalhesIncludeViewGenerator extends ViewGenerator{
public function __construct($tableMeta, $viewParams) {
parent::__construct($tableMeta, $viewParams, Constantes::$TEMPLATES_VIEW_DIR."detalhesInclude.bloum");
}
... | PHP |
<?php
/**
* Description of DAOGenerator
*
* @author BloumGenerator
*/
class DAOGenerator {
private $tableMeta;
private $parentTbMeta;
private $templateDAO;
private $attPK;
private $params;
function __construct($tableMeta, $params) {
$this->tableMeta = $tableMeta;
$this-... | PHP |
<?php
/**
* Description of FormBuscaViewGenerator
*
* @author Magno
*/
class FormBuscaViewGenerator extends ViewGenerator{
private $attBuscaForm;
public function __construct($tableMeta, $viewParams) {
$this->attBuscaForm = "";
parent::__construct($tableMeta, $viewParams, Constantes::$TEMPL... | PHP |
<?php
/**
* Description of FormComboViewGenerator
*
* @author Magno
*/
class FormComboViewGenerator extends ViewGenerator{
public function __construct($tableMeta, $viewParams) {
parent::__construct($tableMeta, $viewParams, Constantes::$TEMPLATES_VIEW_DIR."formCombo.bloum");
}
public function g... | PHP |
<?php
/**
* Description of BeanGenerator
*
* @author BloumGenerator
*/
class BeanGenerator {
private $tableMeta;
private $attributes;
private $templateBean;
private $params;
function __construct($tableMeta, $params) {
$this->tableMeta = $tableMeta;
$this->params = $params;
... | PHP |
<?php
/**
* Description of ListarViewGenerator
*
* @author Magno
*/
class ListarViewGenerator extends ViewGenerator{
public function __construct($tableMeta, $viewParams) {
parent::__construct($tableMeta, $viewParams, Constantes::$TEMPLATES_VIEW_DIR."listar.bloum");
}
public function generate()... | PHP |
<?php
/**
* Description of FormIncludeViewGenerator
*
* @author Magno
*/
class FormIncludeViewGenerator extends ViewGenerator{
public function __construct($tableMeta, $viewParams) {
parent::__construct($tableMeta, $viewParams, Constantes::$TEMPLATES_VIEW_DIR."formInclude.bloum");
}
public func... | PHP |
<?php
/**
* Description of TabelaViewGenerator
*
* @author Magno
*/
class TabelaViewGenerator extends ViewGenerator{
public function __construct($tableMeta, $viewParams) {
parent::__construct($tableMeta, $viewParams, Constantes::$TEMPLATES_VIEW_DIR."tabela.bloum");
}
public function generate()... | PHP |
<?php
/**
* Description of ServiceGenerator
*
* @author BloumGenerator
*/
class ServiceGenerator {
private $tableMeta;
private $parentTbMeta;
private $templateService;
private $attPK;
private $params;
function __construct($tableMeta, $params) {
$this->tableMeta = $tableMeta;
... | PHP |
<?php
/**
* Description of FKReferenceStringManager
*
* @author Magno
*/
class FKReferenceStringManager {
private $tableString;
private $tableMeta;
private $tablesMeta;
function __construct($tableString, $tableMeta, $tablesMeta) {
$this->tableString = $tableString;
$this->table... | PHP |
<?php
/**
* Description of UploadManager
*
* @author Magno
*/
class UploadManager {
function __construct() {
}
public static function salvarArquivoSimples($nome, $destino = ""){
//NOME TEMPORÁRIO NO SERVIDOR
$arquivo_temp = @$_FILES[$nome]["tmp_name"];
//NOME DO ARQUIV... | PHP |
<?php
/**
* Description of AttributeStringManager
*
* @author Magno
*/
class AttributeStringManager {
private $attributeString;
private $attributes;
function __construct($attributeString) {
$this->attributeString = $attributeString;
}
public function generateAttributesString(){
... | PHP |
<?php
/**
* Description of FileManager
*
* @author Magno
*/
class FileStringManager {
//put your code here
private $file;
private $fileString;
function __construct($file) {
$this->file = $file;
if(!file_exists($file))
throw new Exception ("File Not Foun... | PHP |
<?php
/**
* Description of TableManager
*
* @author Magno
*/
class TableStringManager {
private $fileString;
private $tablesMeta;
function __construct($fileString) {
$this->fileString = $fileString;
$this->tablesMeta = null;
}
public function getTables(){
... | PHP |
<?php
#if (!function_exists('__autoload')) {
function loadClass($class) {
if (strpos($class,'Generator')) {
require_once("generator/".$class.".class.php");
}else if (strpos($class,'Manager')) {
require_once("manager/".$class.".class.php");
}else if (strpos(... | PHP |
<?php
header('Content-type: text/html; charset=utf-8');
include_once 'autoload.php';
include_once 'include/php/Constantes.class.php';
include_once 'include/php/Util.class.php';
$action = new SystemAction();
$action->run();
?>
| PHP |
<?php
/**
* jsmin.php - PHP implementation of Douglas Crockford's JSMin.
*
* This is pretty much a direct port of jsmin.c to PHP with just a few
* PHP-specific performance tweaks. Also, whereas jsmin.c reads from stdin and
* outputs to stdout, this library accepts a string as input and returns another
* string a... | PHP |
<?php
/**
* Simple script to combine and compress JS files, to reduce the number of file request the server has to handle.
* For more options/flexibility, see Minify : http://code.google.com/p/minify/
*/
// If no file requested
if (!isset($_GET['files']) or strlen($_GET['files']) == 0)
{
header('Status: 4... | PHP |
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty lower modifier plugin
*
* Type: modifier<br>
* Name: lower<br>
* Purpose: convert string to lowercase
*
* @link http://smarty.php.net/manual/en/language.modifier.lower.php lower (Smarty... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty capitalize modifier plugin
*
* Type: modifier<br>
* Name: capitalize<br>
* Purpose: capitalize words in the string
*
* @link
* @author Monte Ohrt <monte at ohrt dot com>
* @param string $
* @return... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty count_sentences modifier plugin
*
* Type: modifier<br>
* Name: count_sentences
* Purpose: count the number of sentences in a text
* @link http://smarty.php.net/manual/en/language.modifi... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty date_format modifier plugin
*
* Type: modifier<br>
* Name: date_format<br>
* Purpose: format datestamps via strftime<br>
* Input:<br>
* - string: input date string
* - format: strftime ... | PHP |
<?php
/**
* Smarty plugin to format text blocks
*
* @package Smarty
* @subpackage PluginsBlock
*/
/**
* Smarty {textformat}{/textformat} block plugin
*
* Type: block function<br>
* Name: textformat<br>
* Purpose: format text a certain way with preset styles
* or custom wrap/indent setti... | PHP |
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {counter} function plugin
*
* Type: function<br>
* Name: counter<br>
* Purpose: print out a counter value
* @author Monte Ohrt <monte at ohrt dot com>
* @link http://smarty.php.net/manual/en/language.function.... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {popup_init} function plugin
*
* Type: function<br>
* Name: popup_init<br>
* Purpose: initialize overlib
* @link http://smarty.php.net/manual/en/language.function.popup.init.php {popup_init}
* ... | PHP |
<?php
/**
* Smarty shared plugin
*
* @package Smarty
* @subpackage PluginsShared
*/
/**
* Function: smarty_make_timestamp<br>
* Purpose: used by other smarty functions to make a timestamp
* from a string.
* @author Monte Ohrt <monte at ohrt dot com>
* @param string $string
* @return string
*/
... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty wordwrap modifier plugin
*
* Type: modifier<br>
* Name: wordwrap<br>
* Purpose: wrap a string of text at a given length
*
* @link http://smarty.php.net/manual/en/language.modifier.w... | PHP |
<?php
/**
* Smarty plugin to execute PHP code
*
* @package Smarty
* @subpackage PluginsBlock
* @author Uwe Tews
*/
/**
* Smarty {php}{/php} block plugin
*
* @param string $content contents of the block
* @param object $template template object
* @param boolean $ &$repeat repeat flag
* @return string con... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty strip modifier plugin
*
* Type: modifier<br>
* Name: strip<br>
* Purpose: Replace all repeated spaces, newlines, tabs
* with a single space or supplied replacement string.... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty strip_tags modifier plugin
*
* Type: modifier<br>
* Name: strip_tags<br>
* Purpose: strip html tags from text
*
* @link http://smarty.php.net/manual/en/language.modifier.strip.tags.... | PHP |
<?php
/**
* Smarty plugin
*
* This plugin is only for Smarty2 BC
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {math} function plugin
*
* Type: function<br>
* Name: math<br>
* Purpose: handle math computations in template<br>
* @link http://smarty.php.net/manual/en/language.funct... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_options} function plugin
*
* Type: function<br>
* Name: html_options<br>
* Purpose: Prints the list of <option> tags generated from
* the passed parameters
*
* @link http://smarty.php.n... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage Debug
*/
/**
* Smarty debug_print_var modifier plugin
*
* Type: modifier<br>
* Name: debug_print_var<br>
* Purpose: formats variable contents for display in the console
*
* @link http://smarty.php.net/manual/en/language.modifier.debug.... | PHP |
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty spacify modifier plugin
*
* Type: modifier<br>
* Name: spacify<br>
* Purpose: add spaces between characters in a string
*
* @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty escape modifier plugin
*
* Type: modifier<br>
* Name: escape<br>
* Purpose: escape string for output
*
* @link http://smarty.php.net/manual/en/language.modifier.count.characters.php count_characters (Sm... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty default modifier plugin
*
* Type: modifier<br>
* Name: default<br>
* Purpose: designate default value for empty variables
*
* @link http://smarty.php.net/manual/en/language.modifier... | PHP |
<?php
// <button class="grey" type="button"></button>
function smarty_function_action_button($params, $template) {
$label = isset ($params['label']) ? $params['label'] : '';
$acao = isset ($params['action']) ? trim($params['action']) : '';
$class = isset ($params['class']) ? trim($params['cla... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_checkboxes} function plugin
*
* File: function.html_checkboxes.php<br>
* Type: function<br>
* Name: html_checkboxes<br>
* Date: 24.Feb.2003<br>
* Purpose: Prints out a list of checkb... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty noprint modifier plugin
*
* Type: modifier<br>
* Name: noprint<br>
* Purpose: return an empty string
* @author Uwe Tews
* @param array $params parameters
* @return string with com... | PHP |
<?php
/**
* Smarty shared plugin
*
* @package Smarty
* @subpackage PluginsShared
*/
/**
* escape_special_chars common function
*
* Function: smarty_function_escape_special_chars<br>
* Purpose: used by other smarty functions to escape
* special chars except for already escaped ones
* @author Mon... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_select_time} function plugin
*
* Type: function<br>
* Name: html_select_time<br>
* Purpose: Prints the dropdowns for time selection
*
* @link http://smarty.php.net/manual/en/language.function.html.... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_image} function plugin
*
* Type: function<br>
* Name: html_image<br>
* Date: Feb 24, 2003<br>
* Purpose: format HTML tags for the image<br>
* Examples: {html_image file="/images/masthead.gif"}
... | PHP |
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty replace modifier plugin
*
* Type: modifier<br>
* Name: replace<br>
* Purpose: simple search/replace
*
* @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
* @... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_select_date} plugin
*
* Type: function<br>
* Name: html_select_date<br>
* Purpose: Prints the dropdowns for date selection.
*
* ChangeLog:<br>
* - 1.0 initial release
* - 1.... | PHP |
<?php
/** <p>
<label for="field1">Default block label</label>
<input type="text" id="field1" name="field1"/>
</p>
* **/
function smarty_function_form_input($params, $template) {
$required = isset ($params['required']) ? $params['required'] : false;
$label = isset ($params['label']) ? $pa... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFilter
*/
/**
* Smarty trimwhitespace outputfilter plugin
*
* File: outputfilter.trimwhitespace.php<br>
* Type: outputfilter<br>
* Name: trimwhitespace<br>
* Date: Jan 25, 2003<br>
* Purpose: trim leading white space and bl... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty truncate modifier plugin
*
* Type: modifier<br>
* Name: truncate<br>
* Purpose: Truncate a string to a certain length if necessary,
* optionally splitting in the middle of a word, and
* ... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty regex_replace modifier plugin
*
* Type: modifier<br>
* Name: regex_replace<br>
* Purpose: regular expression search/replace
* @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php
* ... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty upper modifier plugin
*
* Type: modifier<br>
* Name: lower<br>
* Purpose: convert string to uppercase
*
* @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Sm... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty string_format modifier plugin
*
* Type: modifier<br>
* Name: string_format<br>
* Purpose: format strings via sprintf
*
* @link http://smarty.php.net/manual/en/language.modifier.str... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {popup} function plugin
*
* Type: function<br>
* Name: popup<br>
* Purpose: make text pop up in windows via overlib
* @link http://smarty.php.net/manual/en/language.function.popup.php {popup}
* (Sm... | PHP |
<?php
function smarty_function_display_errors($params, $template) {
$errors = isset ($params['errors']) ? $params['errors'] : null;
$autoClose = isset ($params['autoClose']) ? $params['autoClose'] : false;
if($errors == null || count($errors) <= 0) return '';
$div = ""; $script = "";
if($auto... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty count_characters modifier plugin
*
* Type: modifier<br>
* Name: count_characteres<br>
* Purpose: count the number of characters in a text
*
* @link http://smarty.php.net/manual/en/l... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty cat modifier plugin
*
* Type: modifier<br>
* Name: cat<br>
* Date: Feb 24, 2003
* Purpose: catenate a value to a variable
* Input: string to catenate
* Example: {$var|cat:"f... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {fetch} plugin
*
* Type: function<br>
* Name: fetch<br>
* Purpose: fetch file, web or ftp data and display results
* @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch}
* (Smarty... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {mailto} function plugin
*
* Type: function<br>
* Name: mailto<br>
* Date: May 21, 2002
* Purpose: automate mailto address link creation, and optionally
* encode them.<br>
*
* Examples:
... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFilter
*/
/**
* Smarty htmlspecialchars variablefilter plugin
*
* @param string $source input string
* @param object $ &$smarty Smarty object
* @return string filtered output
*/
function smarty_variablefilter_htmlspecialchars($source, $sm... | PHP |
<?php
/** MODELO PADRAO
<p class="message error"></p>
/**
* MODELO MENOR
*
* <p class="message error"></p>
*
*/
function smarty_function_msg($params, $template) {
$obj = isset ($params['obj']) ? $params['obj'] : null;
$tam = isset ($params['tam']) ? $params[... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {cycle} function plugin
*
* Type: function<br>
* Name: cycle<br>
* Date: May 3, 2002<br>
* Purpose: cycle through given values<br>
* Input:
* - name = name of cycle (optional)
* - valu... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_radios} function plugin
*
* File: function.html_radios.php<br>
* Type: function<br>
* Name: html_radios<br>
* Date: 24.Feb.2003<br>
* Purpose: Prints out a list of radio input type... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty count_paragraphs modifier plugin
*
* Type: modifier<br>
* Name: count_paragraphs<br>
* Purpose: count the number of paragraphs in a text
* @link http://smarty.php.net/manual/en/language... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty count_words modifier plugin
*
* Type: modifier<br>
* Name: count_words<br>
* Purpose: count the number of words in a text
*
* @link http://smarty.php.net/manual/en/language.modifie... | PHP |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_table} function plugin
*
* Type: function<br>
* Name: html_table<br>
* Date: Feb 17, 2003<br>
* Purpose: make an html table from an array of data<br>
*
*
* Examples:
* <pre>
* {table loop=... | PHP |
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty indent modifier plugin
*
* Type: modifier<br>
* Name: indent<br>
* Purpose: indent lines of text
* @link http://smarty.php.net/manual/en/language.modifier.indent.php
* indent (Sm... | PHP |
<?php
/**
* Project: Smarty: the PHP compiling template engine
* File: Smarty.class.php
* SVN: $Id: Smarty.class.php 3845 2010-12-05 17:21:02Z uwe.tews@googlemail.com $
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | PHP |
<?php
/**
* Smarty Internal Plugin Debug
*
* Class to collect data for the Smarty Debugging Consol
*
* @package Smarty
* @subpackage Debug
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Debug Class
*/
class Smarty_Internal_Debug extends Smarty_Internal_Data {
// template data
static $template_data = array();
... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Modifier
*
* Compiles code for modifier execution
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Modifier Class
*/
class Smarty_Internal_Compile_Private_Modifier extends Smarty_Internal_CompileB... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Rdelim
*
* Compiles the {rdelim} tag
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Rdelim Class
*/
class Smarty_Internal_Compile_Rdelim extends Smarty_Internal_CompileBase {
/**
* Compiles code for the... | PHP |
<?php
/**
* Smarty Internal Plugin Resource Stream
*
* Implements the streams as resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource Stream
*/
class Smarty_Internal_Resource_Stream {
public function __construct(... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Eval
*
* Compiles the {eval} tag
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Eval Class
*/
class Smarty_Internal_Compile_Eval extends Smarty_Internal_CompileBase {
public $required_attributes = array('var... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Nocache
*
* Compiles the {nocache} {/nocache} tags
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Nocache Class
*/
class Smarty_Internal_Compile_Nocache extends Smarty_Internal_CompileBase {
/**
* Compi... | PHP |
<?php
/**
* Smarty Internal Plugin Template
*
* This file contains the Smarty template engine
*
* @package Smarty
* @subpackage Templates
* @author Uwe Tews
*/
/**
* Main class with template data structures and methods
*/
class Smarty_Internal_Template extends Smarty_Internal_Data {
// object cache
... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Function Plugin
*
* Compiles code for the execution of function plugin
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Function Plugin Class
*/
class Smarty_Internal_Compile_Private_Function_Plugin extends Sma... | PHP |
<?php
/**
* Smarty Internal Plugin CacheResource File
*
* Implements the file system as resource for the HTML cache
* Version ussing nocache inserts
*
* @package Smarty
* @subpackage Cacher
* @author Uwe Tews
*/
/**
* This class does contain all necessary methods for the HTML cache on file system
*/
cla... | PHP |
<?php
/**
* Smarty Internal Plugin Filter Handler
*
* Smarty filter handler class
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
/**
* Class for filter processing
*/
class Smarty_Internal_Filter_Handler {
/**
* Run filters over content
*
* The filters will be ... | PHP |
<?php
/**
* Smarty Internal Plugin Templateparser
*
* This is the template parser.
* It is generated from the internal.templateparser.y file
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
class TP_yyToken implements ArrayAccess
{
public $string = '';
public $metadata = array();
function __... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Object Funtion
*
* Compiles code for registered objects as function
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Object Function Class
*/
class Smarty_Internal_Compile_Private_Object_Function extends Smarty... | PHP |
<?php
/**
* Smarty Internal Plugin Resource String
*
* Implements the strings as resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource String
*/
class Smarty_Internal_Resource_String {
public function __construct(... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Registered Function
*
* Compiles code for the execution of a registered function
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Registered Function Class
*/
class Smarty_Internal_Compile_Privat... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Print Expression
*
* Compiles any tag which will output an expression or variable
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Print Expression Class
*/
class Smarty_Internal_Compile_Private_Print_Expressio... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Section
*
* Compiles the {section} {sectionelse} {/section} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Section Class
*/
class Smarty_Internal_Compile_Section extends Smarty_Internal_CompileBase {
//... | PHP |
<?php
/**
* Smarty Internal Plugin Function Call Handler
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
/**
* This class does call function defined with the {function} tag
*/
class Smarty_Internal_Function_Call_Handler extends Smarty_Internal_Template {
static functi... | PHP |
<?php
/**
* Project: Smarty: the PHP compiling template engine
* File: smarty_internal_utility.php
* SVN: $Id: $
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundati... | PHP |
<?php
/**
* Smarty Internal Plugin Configfilelexer
*
* This is the lexer to break the config file source into tokens
* @package Smarty
* @subpackage Config
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Configfilelexer
*/
class Smarty_Internal_Configfilelexer
{
public $data;
public $counter;
public ... | PHP |
<?php
/**
* Smarty write file plugin
*
* @package Smarty
* @subpackage PluginsInternal
* @author Monte Ohrt
*/
/**
* Smarty Internal Write File Class
*/
class Smarty_Internal_Write_File {
/**
* Writes file in a save way to disk
*
* @param string $_filepath complete filepath
* @param... | PHP |
<?php
/**
* Smarty Internal Plugin Resource Eval
*
* Implements the strings as resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource Eval
*/
class Smarty_Internal_Resource_Eval {
public function __... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Block
*
* Compiles the {block}{/block} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Block Class
*/
class Smarty_Internal_Compile_Block extends Smarty_Internal_CompileBase {
// attribute definitions
... | PHP |
<?php
/**
* Smarty Internal Plugin Config File Compiler
*
* This is the config file compiler class. It calls the lexer and parser to
* perform the compiling.
*
* @package Smarty
* @subpackage Config
* @author Uwe Tews
*/
/**
* Main config file compiler class
*/
class Smarty_Internal_Config_File_Compile... | PHP |
<?php
/**
* Smarty Internal Plugin Compile Special Smarty Variable
*
* Compiles the special $smarty variables
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile special Smarty Variable Class
*/
class Smarty_Internal_Compile_Private_Special_Variable extend... | PHP |
<?php
/**
* Smarty Internal Plugin Compile For
*
* Compiles the {for} {forelse} {/for} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile For Class
*/
class Smarty_Internal_Compile_For extends Smarty_Internal_CompileBase {
/**
* Compiles cod... | PHP |
<?php
/**
* Smarty Internal Plugin Templateparser Parsetrees
*
* These are classes to build parsetrees in the template parser
*
* @package Smarty
* @subpackage Compiler
* @author Thue Kristensen
* @author Uwe Tews
*/
abstract class _smarty_parsetree {
abstract public function to_smarty_php... | PHP |
<?php
/**
* Smarty Internal Plugin Smarty Template Compiler Base
*
* This file contains the basic classes and methodes for compiling Smarty templates with lexer/parser
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Main compiler class
*/
class Smarty_Internal_Template... | PHP |
<?php
/**
* Smarty Internal Plugin Resource Extends
*
* Implements the file system as resource for Smarty which does extend a chain of template files templates
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource Extends
*/
class Smarty_Internal_... | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.