Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • None
  • system
    • base
    • caching
    • console
    • db
      • ar
      • schema
    • validators
    • web
      • actions
      • auth
      • helpers
      • widgets
        • captcha
        • pagers
  • zii
    • widgets
      • grid

Classes

  • CreateWebFormAction
  • GetActionsBetweenAction
  • MobileAction
  • MobileActivityAction
  • MobileCreateAction
  • MobileDeleteAction
  • MobileIndexAction
  • MobileProfileViewAction
  • MobilePublisherAction
  • MobileResetPasswordAction
  • MobileTopicsCreateAction
  • MobileTopicsDeleteReplyAction
  • MobileTopicsIndexAction
  • MobileTopicsUpdateAction
  • MobileTopicsUpdateReplyAction
  • MobileTopicsViewAction
  • MobileUpdateAction
  • MobileViewAction
  • MobileViewEventAction
  • RecordAliasesCreateAction
  • RecordAliasesDeleteAction
  • WebFormAction
  • X2GridViewMassActionAction
  • X2ModelConversionAction
  • Overview
  • Package
  • Class
  • Tree

Class WebFormAction

CAction is the base class for all controller action classes.

CAction provides a way to divide a complex controller into smaller actions in separate class files.

Derived classes must implement WebFormAction::run() which is invoked by controller when the action is requested.

An action instance can access its controller via getController controller property.

CComponent
Extended by CAction implements IAction
Extended by WebFormAction
Package: system\web\actions
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/protected/components/WebFormAction.php
Methods summary
public static
# sanitizeGetParams( )
public
# run( )

Create a web lead form with a custom style

Create a web lead form with a custom style

There are currently two methods of specifying web form options. Method 1 (legacy): Web form options are sent in the GET parameters (limited options: css, web form id for retrieving custom header) Method 2 (new): CSS options are passed in the GET parameters and all other options (custom fields, custom html, and email templates) are stored in the database and accessed via a web form id sent in the GET parameters.

This get request is for weblead/service type only, marketing/weblist/view supplies the form that posts for weblist type

Methods inherited from CAction
__construct(), getController(), getId(), runWithParams(), runWithParamsInternal()
Methods inherited from CComponent
__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()
Magic methods inherited from CAction
run()
Magic properties inherited from CAction
$controller, $id
X2CRM Documentation API documentation generated by ApiGen 2.8.0