| 1: | <?php |
| 2: | namespace Sphp\core { |
| 3: | class SphpPreRunP { |
| 4: | /** |
| 5: | * Start Event Handler for prerun.php file. include any library here will be available |
| 6: | * in whole project |
| 7: | */ |
| 8: | public function onstart() {} |
| 9: | } |
| 10: | /** |
| 11: | * Description of AppLoader |
| 12: | * |
| 13: | * @author Sartaj Singh |
| 14: | */ |
| 15: | class AppLoader { |
| 16: | /** |
| 17: | * Advance Function, Internal use |
| 18: | * @return array |
| 19: | * @ignore |
| 20: | */ |
| 21: | public function load() {} |
| 22: | /** |
| 23: | * Advance Function, Internal use |
| 24: | * @return array |
| 25: | * @ignore |
| 26: | */ |
| 27: | public function startApp() {} |
| 28: | } |
| 29: | /** |
| 30: | * \Sphp\core\Exception |
| 31: | */ |
| 32: | class Exception extends \Exception { |
| 33: | /** |
| 34: | * Set Line Number of Error |
| 35: | * @param int $line |
| 36: | */ |
| 37: | public function setLine($line) {} |
| 38: | /** |
| 39: | * Set File Path where Error trigger |
| 40: | * @param string $filepath |
| 41: | */ |
| 42: | public function setFile($filepath) {} |
| 43: | } |
| 44: | class FrontPlace { |
| 45: | /** |
| 46: | * Create Front Place Object |
| 47: | * @param string $frontname Unique Name of Front Place |
| 48: | * @param string $filepath File Path of Front Place |
| 49: | * @param string $secname Section Name of master file where to display Front PLace |
| 50: | * @param string $type <p> Type of file using in File Path. |
| 51: | * $type = TempFile(*.front) or PHP |
| 52: | * </p> |
| 53: | */ |
| 54: | /** |
| 55: | * Run Front Place before processing master file getHeaderHTML() code |
| 56: | */ |
| 57: | public function run() {} |
| 58: | /** |
| 59: | * Call Render in master file where to display html code |
| 60: | */ |
| 61: | public function render() {} |
| 62: | } |
| 63: | /** |
| 64: | * SphpVersion class |
| 65: | * |
| 66: | * This class is parent class of all Controls. You can Develop SartajPHP Application with version control |
| 67: | * of this class or simple use SphpBase::page() to implement page object in any php module. |
| 68: | * |
| 69: | * @author Sartaj Singh |
| 70: | * @copyright 2007 |
| 71: | */ |
| 72: | class SphpVersion { |
| 73: | public function setVersion($val) {} |
| 74: | public function setMinVersionSphp($val) {} |
| 75: | public function setMaxVersionSphp($val) {} |
| 76: | public function setMinVersionPHP($val) {} |
| 77: | public function setMaxVersionPHP($val) {} |
| 78: | public function getVersion() {} |
| 79: | public function getMinVersionSphp() {} |
| 80: | public function getMaxVersionSphp() {} |
| 81: | public function getMinVersionPHP() {} |
| 82: | public function getMaxVersionPHP() {} |
| 83: | } |
| 84: | } |
| 85: |