Contentserv PHP API

CSSmartGui
in package

Gui API that provides several functions around the Graphical User Interface

Tags
since

CS14.0

access

public

Table of Contents

getHeight()  : mixed
getJSForExportDialog()  : string
Creates javascript code, that opens the Smart Export Window
getWidth()  : mixed

Methods

getHeight()

public static getHeight([mixed $large = FALSE ]) : mixed
Parameters
$large : mixed = FALSE
Tags
Return values
mixed

getJSForExportDialog()

Creates javascript code, that opens the Smart Export Window

public static getJSForExportDialog(mixed $IDString[, string $class = 'Pdmarticle' ][, bool|false $bForPopUp = false ][, string $language = '' ]) : string
Parameters
$IDString : mixed

ID or IDs as comma separated list or array

$class : string = 'Pdmarticle'

Class name or sample record

$bForPopUp : bool|false = false

Set to TRUE if the javascript code is for a popup action.

$language : string = ''
Tags
access

public

Return values
string

string pure javascript code that can be used to open a smart export dialog

getWidth()

public static getWidth([mixed $large = FALSE ]) : mixed
Parameters
$large : mixed = FALSE
Tags
Return values
mixed

        

Search results