code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
#include "global.h"
#include <queue>
#include <vector>
#include <iostream>
#include <fstream>
#include <assert.h>
| zzspring2012logicsim | trunk/native/simulation.cpp | C++ | gpl3 | 120 |
#include <string>
#include "node.h"
Node::Node(int index, string name, NType type, int busIndex){
this->index = index;
this->busIndex = busIndex;
this->name = name;
this->type = type;
this->gate = NA;
this->fanin = 0;
this->fanout = 0;
this->level = -1;
this->offset ... | zzspring2012logicsim | trunk/native/node.cu | Cuda | gpl3 | 419 |
#include "type.h"
using namespace System;
using namespace System::Collections;
public ref class Node : Object
{
public:
Node(unsigned int index, String^ name, NType type);
unsigned int index;
NType type;
String^ name;
GType gate;
int fanin;
int fanout;
ArrayList^ upperNodes;
ArrayList^ do... | zzspring2012logicsim | trunk/Node.h | C++ | gpl3 | 351 |
// regex_parse.cpp
// compile with: /clr
#using <system.dll>
#include <stdio.h>
#include <stdlib.h>
#include "global.h"
using namespace System;
using namespace System::Text::RegularExpressions;
using namespace System::Collections;
#define MAXLINE 100
int findNode(String^ name){
int index = -1;
f... | zzspring2012logicsim | trunk/main.cpp | C++ | gpl3 | 12,938 |
#include "Node.h"
Node::Node(unsigned int index, String^ name, NType type)
{
this->index = index;
this->name = name;
this->type = type;
this->upperNodes = gcnew ArrayList();
this->downNodes = gcnew ArrayList();
this->fanin = 0;
this->fanout = 0;
this->level = -1;
}
| zzspring2012logicsim | trunk/Node.cpp | C++ | gpl3 | 296 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.lower.php | PHP | asf20 | 870 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.upper.php | PHP | asf20 | 824 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.count_words.php | PHP | asf20 | 914 |
<?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=... | zysms | trunk/zysms/smarty/plugins/function.html_table.php | PHP | asf20 | 5,465 |
<?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.... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.strip_tags.php | PHP | asf20 | 773 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.string_format.php | PHP | asf20 | 615 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.default.php | PHP | asf20 | 822 |
<?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... | zysms | trunk/zysms/smarty/plugins/function.html_checkboxes.php | PHP | asf20 | 4,413 |
<?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... | zysms | trunk/zysms/smarty/plugins/function.cycle.php | PHP | asf20 | 3,318 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.count_paragraphs.php | PHP | asf20 | 696 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifier.spacify.php | PHP | asf20 | 1,029 |
<?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... | zysms | trunk/zysms/smarty/plugins/function.html_radios.php | PHP | asf20 | 4,894 |
<?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... | zysms | trunk/zysms/smarty/plugins/block.textformat.php | PHP | asf20 | 2,930 |
<?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.... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.strip.php | PHP | asf20 | 820 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifier.capitalize.php | PHP | asf20 | 984 |
<?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.... | zysms | trunk/zysms/smarty/plugins/modifier.debug_print_var.php | PHP | asf20 | 2,840 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.indent.php | PHP | asf20 | 754 |
<?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... | zysms | trunk/zysms/smarty/plugins/function.fetch.php | PHP | asf20 | 8,557 |
<?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... | zysms | trunk/zysms/smarty/plugins/block.php.php | PHP | asf20 | 589 |
<?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
*/
... | zysms | trunk/zysms/smarty/plugins/shared.make_timestamp.php | PHP | asf20 | 1,232 |
<?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.... | zysms | trunk/zysms/smarty/plugins/function.html_select_date.php | PHP | asf20 | 11,433 |
<?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... | zysms | trunk/zysms/smarty/plugins/shared.escape_special_chars.php | PHP | asf20 | 754 |
<?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... | zysms | trunk/zysms/smarty/plugins/function.html_options.php | PHP | asf20 | 4,342 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.wordwrap.php | PHP | asf20 | 845 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.cat.php | PHP | asf20 | 649 |
<?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"}
... | zysms | trunk/zysms/smarty/plugins/function.html_image.php | PHP | asf20 | 4,461 |
<?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.... | zysms | trunk/zysms/smarty/plugins/function.counter.php | PHP | asf20 | 1,797 |
<?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 ... | zysms | trunk/zysms/smarty/plugins/modifier.date_format.php | PHP | asf20 | 1,976 |
<?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)
* @... | zysms | trunk/zysms/smarty/plugins/modifier.replace.php | PHP | asf20 | 764 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.count_sentences.php | PHP | asf20 | 710 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.count_characters.php | PHP | asf20 | 1,405 |
<?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
* ... | zysms | trunk/zysms/smarty/plugins/modifier.truncate.php | PHP | asf20 | 2,255 |
<?php
if(!function_exists('smarty_mb_str_replace')) {
function smarty_mb_str_replace($search, $replace, $subject, &$count=0) {
if (!is_array($search) && is_array($replace)) {
return false;
}
if (is_array($subject)) {
// call mb_replace for each single string in $subject
... | zysms | trunk/zysms/smarty/plugins/shared.mb_str_replace.php | PHP | asf20 | 1,293 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifier.escape.php | PHP | asf20 | 2,808 |
<?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... | zysms | trunk/zysms/smarty/plugins/function.math.php | PHP | asf20 | 2,715 |
<?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
* ... | zysms | trunk/zysms/smarty/plugins/modifier.regex_replace.php | PHP | asf20 | 1,237 |
<?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... | zysms | trunk/zysms/smarty/plugins/outputfilter.trimwhitespace.php | PHP | asf20 | 2,754 |
<?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... | zysms | trunk/zysms/smarty/plugins/variablefilter.htmlspecialchars.php | PHP | asf20 | 384 |
<?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.... | zysms | trunk/zysms/smarty/plugins/function.html_select_time.php | PHP | asf20 | 6,405 |
<?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:
... | zysms | trunk/zysms/smarty/plugins/function.mailto.php | PHP | asf20 | 5,341 |
<?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... | zysms | trunk/zysms/smarty/plugins/modifiercompiler.noprint.php | PHP | asf20 | 427 |
<?php
/**
* Project: Smarty: the PHP compiling template engine
* File: Smarty.class.php
* SVN: $Id: Smarty.class.php 4074 2011-04-22 02:19:14Z 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 Publi... | zysms | trunk/zysms/smarty/Smarty.class.php | PHP | asf20 | 27,931 |
{capture name='_smarty_debug' assign=debug_output}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Smarty Debug Console</title>
<style type="text/css">
{literal}
body, h1, h2, td, th, p {
fo... | zysms | trunk/zysms/smarty/debug.tpl | Smarty | asf20 | 2,827 |
<?php
/**
* Smarty Internal Plugin Compile Config Load
*
* Compiles the {config load} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Config Load Class
*/
class Smarty_Internal_Compile_Config_Load extends Smarty_Internal_CompileBase {
// attribut... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_config_load.php | PHP | asf20 | 1,995 |
<?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 {
//... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_section.php | PHP | asf20 | 6,931 |
<?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
*/
require_once("smarty_internal_parsetree.php");
/**
* Class SmartyTemplat... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php | PHP | asf20 | 2,526 |
<?php
/**
* Smarty Internal Plugin Resource File
*
* Implements the file system as resource for Smarty templates
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource File
*/
class Smarty_Internal_Resource_File {
public function __construct($... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_resource_file.php | PHP | asf20 | 3,852 |
<?php
/**
* Smarty Internal Plugin Compile Function_Call
*
* Compiles the calls of user defined tags defined by {function}
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Function_Call Class
*/
class Smarty_Internal_Compile_Call extends Smarty_Interna... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_call.php | PHP | asf20 | 4,213 |
<?php
/**
* Smarty read include path plugin
*
* @package Smarty
* @subpackage PluginsInternal
* @author Monte Ohrt
*/
/**
* Smarty Internal Read Include Path Class
*/
class Smarty_Internal_Get_Include_Path {
/**
* Return full file path from PHP include_path
*
* @param st... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_get_include_path.php | PHP | asf20 | 1,037 |
<?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(... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_resource_string.php | PHP | asf20 | 3,860 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_private_special_variable.php | PHP | asf20 | 3,475 |
<?php
/**
* Smarty Internal Plugin Resource PHP
*
* Implements the file system as resource for PHP templates
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource PHP
*/
class Smarty_Internal_Resource_PHP {
/**
* Class constructor, enable... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_resource_php.php | PHP | asf20 | 3,506 |
<?php
/**
* Project: Smarty: the PHP compiling template engine
* File: smarty_internal_wrapper.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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_wrapper.php | PHP | asf20 | 5,254 |
<?php
/**
* Smarty Internal Plugin Compile Assign
*
* Compiles the {assign} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Assign Class
*/
class Smarty_Internal_Compile_Assign extends Smarty_Internal_CompileBase {
/**
* Compiles code for... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_assign.php | PHP | asf20 | 2,542 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_private_modifier.php | PHP | asf20 | 2,992 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_private_registered_function.php | PHP | asf20 | 2,695 |
<?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 $to... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_configfilelexer.php | PHP | asf20 | 17,782 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_parsetree.php | PHP | asf20 | 7,030 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_utility.php | PHP | asf20 | 12,027 |
<?php
/**
* Smarty Internal Plugin Compile Break
*
* Compiles the {break} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Break Class
*/
class Smarty_Internal_Compile_Break extends Smarty_Internal_CompileBase {
// attribute definiti... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_break.php | PHP | asf20 | 2,137 |
<?php
/**
* Smarty Internal Plugin Config
*
* Main class for config variables
*
* @ignore
* @package Smarty
* @subpackage Config
* @author Uwe Tews
*/
class Smarty_Internal_Config {
static $config_objects = array();
public function __construct($config_resource, $smarty, $data = null)
{
... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_config.php | PHP | asf20 | 10,553 |
<?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
p... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_block.php | PHP | asf20 | 8,469 |
<?php
/**
* Smarty Internal Plugin Resource Registered
*
* Implements the registered resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource Registered
*/
class Smarty_Internal_Resource_Registered {
public function ... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_resource_registered.php | PHP | asf20 | 4,845 |
<?php
/**
* Smarty Internal Plugin Templatelexer
*
* This is the lexer to break the template source into tokens
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Templatelexer
*/
class Smarty_Internal_Templatelexer
{
public $data;
public $counter;
public $token;
... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_templatelexer.php | PHP | asf20 | 35,941 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_private_function_plugin.php | PHP | asf20 | 1,804 |
<?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();
... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_debug.php | PHP | asf20 | 4,562 |
<?php
/**
* Smarty Internal Plugin Configfileparser
*
* This is the config file parser.
* It is generated from the internal.configfileparser.y file
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
class TPC_yyToken implements ArrayAccess
{
public $string = '';
public $metadata = array();
fun... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_configfileparser.php | PHP | asf20 | 32,583 |
<?php
/**
* Smarty Internal Plugin Data
*
* This file contains the basic classes and methodes for template and variable creation
*
* @package Smarty
* @subpackage Templates
* @author Uwe Tews
*/
/**
* Base class with template and variable methodes
*/
class Smarty_Internal_Data {
// class used for templa... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_data.php | PHP | asf20 | 15,649 |
<?php
/**
* Smarty Internal Plugin Compile Capture
*
* Compiles the {capture} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Capture Class
*/
class Smarty_Internal_Compile_Capture extends Smarty_Internal_CompileBase {
// attribute definitions
... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_capture.php | PHP | asf20 | 2,528 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_cacheresource_file.php | PHP | asf20 | 8,077 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_private_print_expression.php | PHP | asf20 | 3,069 |
<?php
/**
* Smarty Internal Plugin Compile Ldelim
*
* Compiles the {ldelim} tag
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Ldelim Class
*/
class Smarty_Internal_Compile_Ldelim extends Smarty_Internal_CompileBase {
/**
* Compiles code for the... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_ldelim.php | PHP | asf20 | 1,004 |
<?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($smarty)
{... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_resource_stream.php | PHP | asf20 | 2,687 |
<?php
/**
* Smarty Internal Plugin Register
*
* External Smarty methods register/unregister
*
* @package Smarty
* @author Uwe Tews
*/
/**
* Class for register/unregister methods
*/
class Smarty_Internal_Register {
function __construct($smarty)
{
$this->smarty = $smarty;
}
/**
... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_register.php | PHP | asf20 | 4,959 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_eval.php | PHP | asf20 | 1,587 |
<?php
/**
* Smarty Internal Plugin Compile Debug
*
* Compiles the {debug} tag
* It opens a window the the Smarty Debugging Console
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Debug Class
*/
class Smarty_Internal_Compile_Debug extends Smarty_Internal_... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_debug.php | PHP | asf20 | 1,004 |
<?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_TemplateCom... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_templatecompilerbase.php | PHP | asf20 | 22,063 |
<?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 function... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_function_call_handler.php | PHP | asf20 | 1,917 |
<?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
... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_template.php | PHP | asf20 | 42,713 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage Security
* @author Uwe Tews
*/
/**
* This class does contain the security settings
*/
class Smarty_Security {
/**
* This determines how Smarty handles "<?php ... ?>" tags in templates.
* possible values:
* <ul>
* <li>Smart... | zysms | trunk/zysms/smarty/sysplugins/smarty_security.php | PHP | asf20 | 7,140 |
<?php
/**
* Smarty Internal Plugin Compile Continue
*
* Compiles the {continue} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Continue Class
*/
class Smarty_Internal_Compile_Continue extends Smarty_Internal_CompileBase {
// attrib... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_continue.php | PHP | asf20 | 2,152 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_private_object_function.php | PHP | asf20 | 2,440 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_rdelim.php | PHP | asf20 | 1,005 |
<?php
/**
* Smarty Internal Plugin Compile Insert
*
* Compiles the {insert} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Insert Class
*/
class Smarty_Internal_Compile_Insert extends Smarty_Internal_CompileBase {
// attribute definitions
pu... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_insert.php | PHP | asf20 | 5,020 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_config_file_compiler.php | PHP | asf20 | 4,042 |
<?php
/**
* Smarty Internal Plugin Compile Append
*
* Compiles the {append} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Append Class
*/
class Smarty_Internal_Compile_Append extends Smarty_Internal_Compile_Assign {
/**
* Compiles code ... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_append.php | PHP | asf20 | 1,547 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_write_file.php | PHP | asf20 | 1,466 |
<?php
/**
* Smarty Internal Plugin Compile extend
*
* Compiles the {extends} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile extend Class
*/
class Smarty_Internal_Compile_Extends extends Smarty_Internal_CompileBase {
// attribute definitions
pub... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_extends.php | PHP | asf20 | 4,087 |
<?php
/**
* Smarty Internal Plugin Nocache Insert
*
* Compiles the {insert} tag into the cache file
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Insert Class
*/
class Smarty_Internal_Nocache_Insert {
/**
* Compiles code fo... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_nocache_insert.php | PHP | asf20 | 1,627 |
<?php
/**
* Smarty Internal Plugin Compile Object Block Function
*
* Compiles code for registered objects as block function
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Object Block Function Class
*/
class Smarty_Internal_Compile_Private_Object_Bloc... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_private_object_block_function.php | PHP | asf20 | 3,562 |
<?php
/**
* Smarty Internal Plugin Compile Include PHP
*
* Compiles the {include_php} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Insert Class
*/
class Smarty_Internal_Compile_Include_Php extends Smarty_Internal_CompileBase {
// attribute def... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_include_php.php | PHP | asf20 | 2,979 |
<?php
/**
* Smarty Internal Plugin Compile While
*
* Compiles the {while} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile While Class
*/
class Smarty_Internal_Compile_While extends Smarty_Internal_CompileBase {
/**
* Compiles code for the {while} tag... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_while.php | PHP | asf20 | 3,373 |
<?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... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_compile_for.php | PHP | asf20 | 6,210 |
<?php
/**
* Smarty Internal Plugin Filter
*
* External Smarty filter methods
*
* @package Smarty
* @author Uwe Tews
*/
/**
* Class for filter methods
*/
class Smarty_Internal_Filter {
function __construct($smarty)
{
$this->smarty = $smarty;
}
/**
* Registers a filter functio... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_filter.php | PHP | asf20 | 2,137 |
<?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 __... | zysms | trunk/zysms/smarty/sysplugins/smarty_internal_resource_eval.php | PHP | asf20 | 2,383 |