Documentation

Calendar_QuickCreateAjax_View extends Vtiger_QuickCreateAjax_View
in package

QuickCreate view for module Calendar.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

author

Tomasz Kur t.kur@yetiforce.com

author

Mariusz Krzaczkowski m.krzaczkowski@yetiforce.com

Table of Contents

$fields  : array<string|int, Vtiger_Field_Model>
$fromView  : string
$headers  : Headers
$hiddenInput  : array<string|int, mixed>
$record  : Calendar_QuickCreateAjax_View
$recordModel  : Vtiger_Record_Model
$recordStructure  : array<string|int, Vtiger_Field_Model>
$activatedLocale  : bool
$breadcrumbTitle  : string
Breadcrumb title.
$exposedMethods  : array<string|int, string>
Control the exposure of methods to be invoked from client (kind-of RPC).
$pageTitle  : string
Page title.
$viewer  : Vtiger_Viewer
Viewer instance.
$csrfInitiated  : bool
__construct()  : mixed
Constructor.
checkAndConvertCssStyles()  : array<string|int, Vtiger_CssScript_Model>
Check and convert css files.
checkAndConvertJsScripts()  : array<string|int, Vtiger_JsScript_Model>
Check and convert js scripts.
checkPermission()  : mixed
Function to check permission.
getBreadcrumbTitle()  : string
Get breadcrumb title.
getFooterScripts()  : mixed
{@inheritdoc}
getHeaderCss()  : mixed
{@inheritdoc}
getHeaderScripts()  : array<string|int, Vtiger_JsScript_Model>
Get header scripts files that need to loaded in the page.
getJSLanguageStrings()  : string
Function returns the Client side language string.
getPageTitle()  : mixed
{@inheritdoc}
getRecordsListFromRequest()  : mixed
getRecordStructure()  : Vtiger_RecordStructure_Model
Get record structure.
getViewer()  : Vtiger_Viewer
Static function to get the Instance of the Vtiger_Viewer.
invokeExposedMethod()  : type
Function invokes exposed methods for this class.
isMethodExposed()  : bool
Function checks if the method is exposed for client usage.
isSessionExtend()  : bool
Function to check if session is extended.
loadFieldValuesFromRequest()  : void
Load field values from request.
loadFieldValuesFromSource()  : array<string|int, Vtiger_Field_Model>
Load field values from source.
loadJsConfig()  : mixed
Load js config.
loginRequired()  : bool
Function to check login required permission.
postProcess()  : mixed
Post process function.
postProcessAjax()  : mixed
{@inheritdoc}
preProcess()  : mixed
Pre process function.
preProcessAjax()  : mixed
Pre process ajax function.
process()  : mixed
Process function.
sendHeaders()  : mixed
Send headers.
validateRequest()  : void
Function to validate request method.
exposeMethod()  : mixed
Function that will expose methods for external access.
getHeaderAdditionalTpl()  : array<string|int, Vtiger_Link_Model>
Get the list of additional TPL files to show in the header.
getMenu()  : array<string|int, mixed>
Function to get the list of menu.
getMenuHeaderLinks()  : array<string|int, Vtiger_Link_Model>
Function to get the list of Header Links.
getUserQuickMenuLinks()  : array<string|int, Vtiger_Link_Model>
Function to get the list of User Quick Menu Links.
preProcessDisplay()  : mixed
Pre process display function.
preProcessTplName()  : string
Pre process template name.
showBodyHeader()  : mixed
{@inheritdoc}
showBreadCrumbLine()  : bool
Show bread crumbs.
showFooter()  : mixed
{@inheritdoc}

Properties

$fields

public array<string|int, Vtiger_Field_Model> $fields

Field instances.

$headers

public Headers $headers

Headers instance.

$hiddenInput

public array<string|int, mixed> $hiddenInput = []

Hidden inputs.

$recordStructure

public array<string|int, Vtiger_Field_Model> $recordStructure

Field instances.

$activatedLocale

protected static bool $activatedLocale = false

Activated language locale.

$breadcrumbTitle

Breadcrumb title.

protected string $breadcrumbTitle

$exposedMethods

Control the exposure of methods to be invoked from client (kind-of RPC).

protected array<string|int, string> $exposedMethods = []

$pageTitle

Page title.

protected string $pageTitle

$csrfInitiated

private static bool $csrfInitiated = false

CSRF already initiated.

Methods

__construct()

Constructor.

public __construct() : mixed
Return values
mixed

checkAndConvertCssStyles()

Check and convert css files.

public checkAndConvertCssStyles(array<string|int, string> $fileNames[, string $fileExtension = 'css' ]) : array<string|int, Vtiger_CssScript_Model>
Parameters
$fileNames : array<string|int, string>
$fileExtension : string = 'css'
Return values
array<string|int, Vtiger_CssScript_Model>

checkAndConvertJsScripts()

Check and convert js scripts.

public checkAndConvertJsScripts(array<string|int, string> $jsFileNames) : array<string|int, Vtiger_JsScript_Model>
Parameters
$jsFileNames : array<string|int, string>
Return values
array<string|int, Vtiger_JsScript_Model>

checkPermission()

Function to check permission.

public checkPermission(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

getBreadcrumbTitle()

Get breadcrumb title.

public getBreadcrumbTitle(Request $request) : string
Parameters
$request : Request
Return values
string

getHeaderScripts()

Get header scripts files that need to loaded in the page.

public getHeaderScripts(Request $request) : array<string|int, Vtiger_JsScript_Model>
Parameters
$request : Request

Request instance

Return values
array<string|int, Vtiger_JsScript_Model>

getJSLanguageStrings()

Function returns the Client side language string.

public getJSLanguageStrings(Request $request) : string
Parameters
$request : Request
Return values
string

getRecordsListFromRequest()

public getRecordsListFromRequest(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

getRecordStructure()

Get record structure.

public getRecordStructure() : Vtiger_RecordStructure_Model
Return values
Vtiger_RecordStructure_Model

invokeExposedMethod()

Function invokes exposed methods for this class.

public invokeExposedMethod() : type
Tags
throws
AppException
Return values
type

isMethodExposed()

Function checks if the method is exposed for client usage.

public isMethodExposed(string $name) : bool
Parameters
$name : string
  • method name
Return values
bool

isSessionExtend()

Function to check if session is extended.

public isSessionExtend(Request $request) : bool
Parameters
$request : Request
Return values
bool

loadFieldValuesFromRequest()

Load field values from request.

public loadFieldValuesFromRequest(Request $request) : void
Parameters
$request : Request
Return values
void

loadFieldValuesFromSource()

Load field values from source.

public loadFieldValuesFromSource(Request $request) : array<string|int, Vtiger_Field_Model>
Parameters
$request : Request
Return values
array<string|int, Vtiger_Field_Model>

Field instances

loadJsConfig()

Load js config.

public loadJsConfig(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

loginRequired()

Function to check login required permission.

public loginRequired() : bool
Return values
bool

postProcess()

Post process function.

public postProcess(Request $request[, bool $display = true ]) : mixed
Parameters
$request : Request
$display : bool = true
Return values
mixed

preProcess()

Pre process function.

public preProcess(Request $request[, bool $display = true ]) : mixed
Parameters
$request : Request
$display : bool = true
Return values
mixed

preProcessAjax()

Pre process ajax function.

public preProcessAjax(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

process()

Process function.

public abstract process(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

sendHeaders()

Send headers.

public sendHeaders() : mixed
Return values
mixed

validateRequest()

Function to validate request method.

public validateRequest(Request $request) : void
Parameters
$request : Request
Return values
void

exposeMethod()

Function that will expose methods for external access.

protected exposeMethod(string $name) : mixed
Parameters
$name : string
  • method name
Return values
mixed

getHeaderAdditionalTpl()

Get the list of additional TPL files to show in the header.

protected getHeaderAdditionalTpl(Request $request) : array<string|int, Vtiger_Link_Model>
Parameters
$request : Request
Return values
array<string|int, Vtiger_Link_Model>
  • List of Vtiger_Link_Model instances

getMenu()

Function to get the list of menu.

protected getMenu() : array<string|int, mixed>
Return values
array<string|int, mixed>

Function to get the list of Header Links.

protected getMenuHeaderLinks(Request $request) : array<string|int, Vtiger_Link_Model>
Parameters
$request : Request
Return values
array<string|int, Vtiger_Link_Model>
  • List of Vtiger_Link_Model instances

Function to get the list of User Quick Menu Links.

protected getUserQuickMenuLinks(Request $request) : array<string|int, Vtiger_Link_Model>
Parameters
$request : Request
Return values
array<string|int, Vtiger_Link_Model>
  • List of Vtiger_Link_Model instances

preProcessDisplay()

Pre process display function.

protected preProcessDisplay(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

preProcessTplName()

Pre process template name.

protected preProcessTplName(Request $request) : string
Parameters
$request : Request
Return values
string

showBodyHeader()

{@inheritdoc}

protected showBodyHeader() : mixed
Return values
mixed

showBreadCrumbLine()

Show bread crumbs.

protected showBreadCrumbLine() : bool
Return values
bool

showFooter()

{@inheritdoc}

protected showFooter() : mixed
Return values
mixed

        

Search results