1: <?php
2: namespace Sphp\tools {
3: /**
4: * Description of CompApp
5: *
6: * @author Sartaj Singh
7: */
8: class CompGate extends SphpGate {
9: public $parentFrontObj = null;
10: public $parentComponent = null;
11: public $parentgate = null;
12: /** @var \Sphp\kit\Page page */
13: public $page = "";
14: /** @var FrontFile frontform */
15: public $frontform;
16: /** @var FrontFile mainfrontform */
17: public $mainfrontform;
18: public $gate_dir_path = "";
19: public $mypath = "";
20: public $myrespath = "";
21: public $phppath = "";
22: public $respath = "";
23: public $nameprefix = "";
24: /** @var \Sphp\kit\JSServer JSServer */
25: public $JSServer = null;
26: /** @var \Sphp\kit\Request Client */
27: public $Client = null;
28: /** @var \Sphp\kit\MySQL dbEngine */
29: public $dbEngine = null;
30: /** @var \Sphp\core\DebugProfiler debug */
31: public $debug = null;
32: /**
33: *
34: * @param string $filepath front file path
35: * @param boolean $noprefix false mean add prefix as parent-component name to all Components
36: * @return \Sphp\tools\FrontFile
37: */
38: public function createFrontFile($filepath,$noprefix=false) {}
39: public function setup($frontobj) {}
40: public function process($frontobj) {}
41: public function processEvent() {}
42: /**
43: * Set Internal Front File. Internal Front File Also render Page Components.
44: * @param FrontFile $obj
45: */
46: public function setFrontFile($obj) {}
47: public function getFrontFile() {}
48: public function showFrontFile() {}
49: public function showNotFrontFile() {}
50: public function setTableName($dbtable) {}
51: public function getTableName(){}
52: public function onstart() {}
53: public function onready() {}
54: public function onfrontinit($frontobj) {}
55: public function onfrontprocess($frontobj) {}
56: public function page_delete() {}
57: public function page_view() {}
58: public function page_submit() {}
59: public function page_insert() {}
60: public function page_update() {}
61: public function page_new() {}
62: public function getEvent() {}
63: public function getEventParameter() {}
64: public function onrun() {}
65: public function onrender() {}
66: public function run() {}
67: public function render() {}
68: public function getReturnData() {}
69: }
70: }
71: