Login   Register  
PHP Classes
elePHPant
Icontem

File: classes/Parser/IParser.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bogdan  >  Simple Tags  >  classes/Parser/IParser.php  >  Download  
File: classes/Parser/IParser.php
Role: Configuration script
Content type: text/plain
Description: Interface for the parser class
Class: Simple Tags
Template engine that replaces tags within brackets
Author: By
Last change:
Date: 5 years ago
Size: 585 bytes
 

Contents

Class file image Download
<?php
if (! interface_exists('IParser'FALSE)) {

/**
 * class Parser interface
 */
interface IParser {
    
/**
     * Sets the array of data
     * 
     * @param string $data
     * @return array $this->_parsingData
     */
    
function setData($data);
    
    
/**
     * Return search result
     * 
     * @return array
     */
    
function getFoundTags();
    
    
/**
     * Return array of the values after tags was convert
     * 
     * @return array convertedTags
     */
    
function getConvertedTags();
    
    
/**
     * Return modify data after parsing tags
     * 
     * @return string $this->_parsingData
     */
    
function parseResult() ;
}

}
?>