From 227ef973f923ec201a1ece197f6242b3248c66ae Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 25 Nov 2013 12:49:07 -0500 Subject: WSAT beta release with doc. --- framework/Wsat/TWsatService.php | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'framework/Wsat/TWsatService.php') diff --git a/framework/Wsat/TWsatService.php b/framework/Wsat/TWsatService.php index 3af34d49..f2d852ea 100644 --- a/framework/Wsat/TWsatService.php +++ b/framework/Wsat/TWsatService.php @@ -1,11 +1,25 @@ + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2013 PradoSoft + * @license http://www.pradosoft.com/license/ + * @version $Id$ + * @since 3.3 + * @package Wsat + */ + +/** + * 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: * @@ -16,6 +30,8 @@ * * ...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. */ class TWsatService extends TPageService { @@ -43,7 +59,7 @@ class TWsatService extends TPageService { $themeManager = new TThemeManager; $themeManager->BasePath = "System.Wsat.themes"; $url = Prado::getApplication()->getAssetManager()->publishFilePath(Prado::getPathOfNamespace('System.Wsat')); - $themeManager->BaseUrl = $url . DIRECTORY_SEPARATOR . "themes"; + $themeManager->BaseUrl = $url . "/themes"; $themeManager->init(null); $this->setThemeManager($themeManager); -- cgit v1.2.3