Class InlineQuotes
Class for creating quotes from a contact view.
This is used for creating, updating, deleting, duplicating a quote or invoice
from the contact view page. It makes heavy use of javascript and ajax calls to
the QuotesController.
-
CComponent
-
CBaseController
-
CWidget
-
X2Widget
-
InlineQuotes
Methods summary
public
|
#
init( )
Initializes the widget. This method is called by CBaseController::createWidget and CBaseController::beginWidget after
the widget's properties have been initialized.
Initializes the widget. This method is called by CBaseController::createWidget and CBaseController::beginWidget after
the widget's properties have been initialized.
Overrides
|
public
|
#
getContactId( )
Getter and setter for contactId will also update recordId in order to remain
backwards compatible.
Getter and setter for contactId will also update recordId in order to remain
backwards compatible.
|
public
|
|
public
array
|
#
getRelatedQuotes( boolean $invoices = false )
Returns all related invoices or quotes
Returns all related invoices or quotes
Parameters
- $invoices
boolean $invoices
Returns
array array of related quotes models
|
public
|
#
run( )
Executes the widget. This method is called by CBaseController::endWidget.
Executes the widget. This method is called by CBaseController::endWidget.
Overrides
CWidget::run()
|
Methods inherited from CWidget
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
|
Methods inherited from CBaseController
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderInternal(),
widget()
|
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()
|
Properties inherited from CWidget
$actionPrefix,
$skin
|
Magic properties inherited from CWidget
$controller,
$id,
$owner,
$viewPath
|