PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

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
Extended by TApplicationComponent
Extended by TService implements IService
Extended by TPageService
Extended by TWsatService
Package: Wsat
Copyright: Copyright © 2005-2013 PradoSoft
License: http://www.pradosoft.com/license/
Author: Daniel Sampedro Bello <darthdaniel85@gmail.com>
Located at Wsat/TWsatService.php
Methods summary
public
# init( TXmlElement $config )

Initializes the service. This method is required by IService interface and is invoked by application.

Initializes the service. This method is required by IService interface and is invoked by application.

Parameters

$config
TXmlElement
service configuration

Overrides

TPageService::init()
public string
# getBasePath( )

Returns

string
the root directory for storing pages. Defaults to the 'pages' directory under the application base path.

Overrides

TPageService::getBasePath()
public
# getPassword( )
public
# setPassword( mixed $_pass )
Methods inherited from TPageService
applyConfiguration(), constructUrl(), createPage(), determineRequestedPagePath(), getBasePageClass(), getClientScriptManagerClass(), getDefaultPage(), getDefaultPageUrl(), getRequestedPage(), getRequestedPagePath(), getTemplateManager(), getThemeManager(), initPageContext(), loadPageConfig(), run(), runPage(), setBasePageClass(), setBasePath(), setClientScriptManagerClass(), setDefaultPage(), setTemplateManager(), setThemeManager()
Methods inherited from TService
getEnabled(), getID(), setEnabled(), setID()
Methods inherited from TApplicationComponent
getApplication(), getRequest(), getResponse(), getService(), getSession(), getUser(), publishAsset(), publishFilePath()
Methods inherited from TComponent
__call(), __construct(), __destruct(), __get(), __isset(), __set(), __sleep(), __unset(), __wakeup(), addParsedObject(), asa(), attachBehavior(), attachBehaviors(), attachClassBehavior(), attachEventHandler(), canGetProperty(), canSetProperty(), clearBehaviors(), createdOnTemplate(), detachBehavior(), detachBehaviors(), detachClassBehavior(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), evaluateStatements(), fxAttachClassBehavior(), fxDetachClassBehavior(), getAutoGlobalListen(), getBehaviorsEnabled(), getClassHierarchy(), getEventHandlers(), getListeningToGlobalEvents(), getSubProperty(), hasEvent(), hasEventHandler(), hasProperty(), isa(), listen(), raiseEvent(), setSubProperty(), unlisten()
Constants inherited from TPageService
CONFIG_CACHE_PREFIX, CONFIG_FILE_PHP, CONFIG_FILE_XML, DEFAULT_BASEPATH, FALLBACK_BASEPATH, PAGE_FILE_EXT
Constants inherited from TComponent
GLOBAL_RAISE_EVENT_LISTENER
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO