diff options
author | Daniel <darthdaniel85@gmail.com> | 2013-11-25 12:49:07 -0500 |
---|---|---|
committer | Daniel <darthdaniel85@gmail.com> | 2013-11-25 12:49:07 -0500 |
commit | 227ef973f923ec201a1ece197f6242b3248c66ae (patch) | |
tree | 9eae95c47d7ac19a15d1f61f19d417e354b943c0 /framework/Wsat/TWsatService.php | |
parent | efde949d00b808f55710abbd3d82ceb490545116 (diff) |
WSAT beta release with doc.
Diffstat (limited to 'framework/Wsat/TWsatService.php')
-rw-r--r-- | framework/Wsat/TWsatService.php | 28 |
1 files changed, 22 insertions, 6 deletions
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 @@ <?php /** - * Description of TWsat - * Inspired in both Microsoft Web Site Administration Tool(WSAT) and Yii's Gii. - * @version 1.0 - * @author Daniel Sampedro darthdaniel85@gmail.com - * @since Prado 3.3 + * @author Daniel Sampedro Bello <darthdaniel85@gmail.com> + * @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: * <code> @@ -16,6 +30,8 @@ * </code> * ...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); |