1: <?php
2: namespace Sphp\tools{
3: /**
4: * Description of HTMLParser
5: *
6: * @author SARTAJ
7: */
8: use Sphp\tools\SHTMLDOMOld;
9: use Sphp\tools\SHTMLDOM;
10: use Sphp\tools\HTMLDOM;
11: class HTMLParser {
12: public $curelement = null;
13: public $curlineno = 0;
14: public $codebehind = array();
15: public $blncodebehind = false;
16: /**
17: * @var \Sphp\tools\FrontFile
18: */
19: public $frontobj;
20: public $dhtmldom;
21: /** @var Sphp\Settings */
22: public $sphp_settings = null;
23: public $phppath = "";
24: public $respath = "";
25: public $comppath = "" ;
26: public $slibpath = "" ;
27: public $debug = null;
28: public function getFrontobj() {}
29: public function getSevalVar($name){}
30: public function parseHTMLObj($strData, $obj) {}
31: public function parseHTML(){}
32: public function parseComponent($compobj,$innerHTML = false){}
33: public function createTagComponent($name="mycustomtag1",$tagname="div") {}
34: public function getChildrenWrapper($compobj){}
35: public function parseComponentChildren($wrGateerElement){}
36: public function parseHTMLTag($strData,$callbackfun,$obj){}
37: public function setupcomp($element,$parentelement) {}
38: public function endupcomp($element,$parentelement) {}
39: public function startrender($element,$parentelement) {}
40: public function endrender($element,$parentelement) {}
41: public function resolvePathVar($val){}
42: /**
43: * Execute PHP code in Limited Container. Use only Template Tags ##{ }# or #{ }#
44: * @param string $strPHPCode PHP Template code
45: * @param \Sphp\tools\Component $compobj default null, Show debug information if Component
46: * run code
47: * @return string
48: */
49: public function executePHPCode($strPHPCode,$compobj=null) {}
50: }
51: }
52: