Methods |
public
|
setup(TempFile $tempobj)
Advance function for change the behavior of app
Advance function for change the behavior of app
Overriden by
|
#
|
public
|
process(TempFile $tempobj)
Advance function for change the behavior of app
Advance function for change the behavior of app
Overriden by
|
#
|
public
|
processEvent()
Advance function for change the behavior of app
Advance function for change the behavior of app
Overriden by
|
#
|
public
|
setTempFile(TempFile $obj)
Assign Default TempFile to App for render
Assign Default TempFile to App for render
|
#
|
public
|
getTempFile(): TempFile
Get Current TempFile assign to app for render
Get Current TempFile assign to app for render
|
#
|
public
|
showTempFile()
Rendering Permission to default assigned TempFile
Rendering Permission to default assigned TempFile
|
#
|
public
|
showNotTempFile()
Disable Rendering Permission to default assigned TempFile
Disable Rendering Permission to default assigned TempFile
|
#
|
public
|
setTableName(string $dbtable)
Set default table of Database to Sphp\Page object and this application.
This information is important for controls and…
Set default table of Database to Sphp\Page object and this application.
This information is important for controls and other database users objects.
|
#
|
public
|
getTableName(): string
get default database table assigned to application
get default database table assigned to application
|
#
|
public
|
getEvent(): string
get controller event name trigger by browser
get controller event name trigger by browser
|
#
|
public
|
getEventParameter(): string
get controller event parameter post by browser
get controller event parameter post by browser
|
#
|
public
|
onstart()
override this event handler in your application to handle it.
trigger when application start
override this event handler in your application to handle it.
trigger when application start
Overriden by
|
#
|
public
|
onready()
override this event handler in your application to handle it.
trigger when application finish process of default…
override this event handler in your application to handle it.
trigger when application finish process of default TempFile
|
#
|
public
|
ontempinit($tempobj)
override this event handler in your application to handle it.
trigger when application initialize TempFile Object
override this event handler in your application to handle it.
trigger when application initialize TempFile Object
|
#
|
public
|
ontempprocess($tempobj)
override this event handler in your application to handle it.
trigger when application start process on TempFile Object
override this event handler in your application to handle it.
trigger when application start process on TempFile Object
|
#
|
public
|
page_delete()
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser get (url=index-delete…
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser get (url=index-delete.html)
where index is controller of application and application path is in reg.php file
Overriden by
|
#
|
public
|
page_view()
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser get (url=index-view-19…
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser get (url=index-view-19.html)
where index is controller of application and application path is in reg.php file
view = event name
19 = recid of database table or any other value.
|
#
|
public
|
page_submit()
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser post form (url=index…
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser post form (url=index.html)
where index is controller of application and application path is in reg.php file
|
#
|
public
|
page_insert()
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser post form (url=index…
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser post form (url=index.html) as new form
where index is controller of application and application path is in reg.php file
Overriden by
|
#
|
public
|
page_update()
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser post form (url=index…
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser post form (url=index.html) as filled form
from database with view_data function
where index is controller of application and application path is in reg.php file
Overriden by
|
#
|
public
|
page_new()
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser get (url=index.html)…
Inbuilt Event
override this event handler in your application to handle it.
trigger when browser get (url=index.html) first time
where index is controller of application and application path is in reg.php file
Overriden by
|
#
|
public
|
onrun()
Inbuilt Event
override this event handler in your application to handle it.
trigger when application run after ready…
Inbuilt Event
override this event handler in your application to handle it.
trigger when application run after ready event and before trigger any event handler
|
#
|
public
|
onrender()
Inbuilt Event
override this event handler in your application to handle it.
trigger when application render after run…
Inbuilt Event
override this event handler in your application to handle it.
trigger when application render after run TempFile but before start master
file process. You can't manage TempFile output here but you can replace TempFile
output in SphpBase::$dynData or change master file or add front place for master filepath
|
#
|
public
|
run()
Advance function for change the behavior of app
Advance function for change the behavior of app
Overriden by
|
#
|
public
|
render()
Advance function for change the behavior of app
Advance function for change the behavior of app
Overriden by
|
#
|
public
|
setMasterFile(string $masterFile)
set path of master design file name
set path of master design file name
|
#
|
public
|
getAuthenticate(string $authenticates)
Set which user can access this application. Default user is GUEST.
You can set session variable in login app
SphpBase:…
Set which user can access this application. Default user is GUEST.
You can set session variable in login app
SphpBase::sphp_request()->session('logType','ADMIN');
If user is not login with specific type then application exit and
redirect according to the getWelcome function in comp.php
Parameters
$authenticates |
comma separated list of string. Example:- getAuthenticate("GUEST,ADMIN") or getAuthenticate("ADNIN")
|
|
#
|
public
|
getSesSecurity()
Check if user has session secure url. This application can't work with cross session.
Every app has unique url and…
Check if user has session secure url. This application can't work with cross session.
Every app has unique url and expired with end of session.
|
#
|