1: <?php
2: namespace{
3: class FrontFile extends Sphp\tools\FrontFile { }
4: /**
5: * Generate URL for a Gate
6: * @param string $gate_param Gate like index
7: * @param string $extra <P> Extra query string in URL
8: * $extra = 'test=1&mpid=13'
9: * </p>
10: * @param string $newbasePath <p> new domain url
11: * $newbasePath = 'https://domain.com/test
12: * </p>
13: * @param boolean $blnSesID Add session id default false, url expired with session (Gate can allow expired url)
14: * @param string $ext change url file extension as Gate default empty and use html or set in comp file.
15: * @param boolean $noncache default false, if true, cache can not save this url in browser or in proxy
16: * @return string
17: */
18: function getGateURL($gate_param,$extra="",$newbasePath="",$blnSesID=false,$ext='',$noncache=false){}
19: /**
20: * Generate URL for Current Gate
21: * @param string $extra <P> Extra query string in URL
22: * $extra = 'test=1&mpid=13'
23: * </p>
24: * @param boolean $blnSesID Add session id default false, url expired with session (Gate can allow expired url)
25: * @param string $ext change url file extension as Gate default empty and use html or set in comp file.
26: * @param boolean $noncache default false, if true, cache can not save this url in browser or in proxy
27: * @return string
28: */
29: function getThisGateURL($extra="",$blnSesID=false,$ext='',$noncache=false){}
30: /**
31: * Generate Secure URL for a Event of Gate
32: * @param string $eventName <p> Name of Event
33: * class index extends Sphp\tools\BasicGate{
34: * public function page_event_test($evtp){
35: *
36: * }
37: * }
38: * $eventName = test
39: * $gate_param = index
40: * Registered Gate = Gates/index.Gate
41: * </p>
42: * @param string $evtp Event Parameter pass to URL
43: * @param string $gate_param Gate like index
44: * @param string $extra <P> Extra query string in URL
45: * $extra = 'test=1&mpid=13'
46: * </p>
47: * @param string $newbasePath <p> new domain url
48: * $newbasePath = 'https://domain.com/test
49: * </p>
50: * @param boolean $blnSesID Add session id default false, url expired with session (Gate can allow expired url)
51: * @param string $ext change url file extension as Gate default empty and use html or set in comp file.
52: * @param boolean $noncache default false, if true, cache can not save this url in browser or in proxy
53: * @return string
54: */
55: function getEventURLSecure($eventName,$evtp="",$gate_param="",$extra="",$newbasePath="",$blnSesID=false,$ext='',$noncache=false){}
56: /**
57: * Generate URL for a Event of Gate
58: * @param string $eventName <p> Name of Event
59: * class index extends Sphp\tools\BasicGate{
60: * public function page_event_test($evtp){
61: *
62: * }
63: * }
64: * $eventName = test
65: * $gate_param = index
66: * Registered Gate = Gates/index.Gate
67: * </p>
68: * @param string $evtp Event Parameter pass to URL
69: * @param string $gate_param Gate like index
70: * @param string $extra <P> Extra query string in URL
71: * $extra = 'test=1&mpid=13'
72: * </p>
73: * @param string $newbasePath <p> new domain url
74: * $newbasePath = 'https://domain.com/test
75: * </p>
76: * @param boolean $blnSesID Add session id default false, url expired with session (Gate can allow expired url)
77: * @param string $ext change url file extension as Gate default empty and use html or set in comp file.
78: * @param boolean $noncache default false, if true, cache can not save this url in browser or in proxy
79: * @return string
80: */
81: function getEventURL($eventName,$evtp="",$gate_param="",$extra="",$newbasePath="",$blnSesID=false,$ext='',$noncache=false){}
82: function getCurrentRequest(){}
83: function isRegisterCurrentRequest(){}
84: function registerCurrentRequest($gate_dir_path,$s_namespace="",$permtitle="",$permlist=null){}
85: function registerCurrentGate($gate){}
86: function registerGate($gate,$gate_dir_path,$s_namespace="",$permtitle="",$permlist=null){}
87: function isRegisterGate($gate){}
88: function setSession($lType,$uid1){}
89: function destSession(){}
90: function addFileLink($fileURL,$renderonce=false,$aname="",$ext="",$ver="0",$assets=array()){}
91: function updateFileLink($fileURL,$renderonce=false,$aname="",$ext="",$ver="0",$assets=array()){}
92: function removeFileLink($fileURL,$renderonce=false,$aname="",$ext=""){}
93: function addFileLinkCode($name,$code,$renderonce=false){}
94: function issetFileLink($filename, $ext, $renderonce = false) {}
95: function isHeaderJSFunctionExist($funname, $rendertype = "private") {}
96: function isFooterJSFunctionExist($funname, $rendertype = "private") {}
97: function addHeaderJSFunction($funname, $startcode, $endcode, $renderonce = false) {}
98: function addFooterJSFunction($funname, $startcode, $endcode, $renderonce = false) {}
99: function addHeaderJSFunctionCode($funname, $name, $code, $renderonce = false) {}
100: function addFooterJSFunctionCode($funname, $name, $code, $renderonce = false) {}
101: function addHeaderJSCode($name, $code, $renderonce = false) {}
102: function addHeaderCSS($name, $code, $renderonce = false) {}
103: function addFooterJSCode($name, $code, $renderonce = false) {}
104: function getHeaderHTML($htmltag=true,$global=true,$blockJSCode = 0){}
105: function getFooterHTML($htmltag = true, $global = true,$blockJSCode = 0) {}
106: function traceError($blnDontJS = false) {}
107: function setErr($name, $msg) {}
108: function getCheckErr() {}
109: function unsetCheckErr() {}
110: function getErrMsg($name) {}
111: function traceMsg($blnDontJS = false) {}
112: function setMsg($name, $msg) {}
113: function getMsg($name) {}
114: function traceErrorInner($blnDontJS = false) {}
115: function setErrInner($name, $msg) {}
116: function getErrMsgInner($name) {}
117: function setFrontPlacePath($frontname, $basepath, $secname = "left") {}
118: function removeFrontPlace($frontname, $secname = "left") {}
119: function addFrontPlace($frontname, $filepath = "", $secname = "left") {}
120: function getFrontPlace($frontname, $secname = "left") {}
121: function runFrontPlace($frontname, $secname = "left") {}
122: function renderFrontPlace($frontname, $secname = "left") {}
123: function renderFrontPlaceManually($frontname, $secname = "left") {}
124: function runFrontSection($secname = "left") {}
125: function addrunFrontSection($secname = "left") {}
126: function ListNotrenderFrontSection($secname = "left") {}
127: function renderFrontSection($secname = "left") {}
128: function getMyResPath($filepath){}
129: /**
130: *
131: * @param string $str
132: * @param string $ky secure key in hexa decimal
133: * @return string
134: */
135: function endec($str, $ky = "CD098ABA") {}
136: function is_valid_num($val,$datatype){}
137: function is_valid_email($email){}
138: function getKeyword(){}
139: function genAutoText($para,$paraRepeated=1,$startIndex=1){}
140: function stopOutput(){}
141: }
142: