Class TWsatService
TWsatService class
Wsat is inspired in both Asp.Net - Web Site Administration Tool(WSAT) and Yii's Gii. Wsat enables you to generate code saving your time in too many tedious tasks in a GUI fashion.
Current options: 1- Generate one or all Active Record Classes from your DataBase. 1.1- Automatically generate all relations between the AR Classes (new). 1.2- Automatically generate the __toString() magic method in a smart way (new).
To use TWsatService, configure it in the application configuration file like following:
<services> ... <service id="wsat" class="System.Wsat.TWsatService" Password="my_secret_password" /> </services>
...and then you need to go to http://localhost/yoursite/index.php?wsat=TWsatLogin and generate code and configure your site.
Warning: You should only use Wsat in development mode.
- TComponent
-
TApplicationComponent
-
TService implements IService
-
TPageService
-
TWsatService
Copyright: Copyright © 2005-2013 PradoSoft
License: http://www.pradosoft.com/license/
Author: Daniel Sampedro Bello <darthdaniel85@gmail.com>
Located at Wsat/TWsatService.php
public
|
#
init(
Initializes the service. This method is required by IService interface and is invoked by application. |
public
string
|
|
public
|
|
public
|
getEnabled(),
getID(),
setEnabled(),
setID()
|
getApplication(),
getRequest(),
getResponse(),
getService(),
getSession(),
getUser(),
publishAsset(),
publishFilePath()
|
CONFIG_CACHE_PREFIX,
CONFIG_FILE_PHP,
CONFIG_FILE_XML,
DEFAULT_BASEPATH,
FALLBACK_BASEPATH,
PAGE_FILE_EXT
|
GLOBAL_RAISE_EVENT_LISTENER
|