<?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() ;
}
}
?>
|