Contentserv PHP API

CSDownloadContextItem
in package

This class defines a download context item

Tags

Table of Contents

createItem()  : CSDownloadContextItem
Creates a download context item based on record class and id
getClass()  : string
Returns the record class of the download item.
getId()  : int
Returns the id of the download item.

Methods

createItem()

Creates a download context item based on record class and id

public static createItem(string $sClass, int $iId) : CSDownloadContextItem
Parameters
$sClass : string

The record class of the item to add

$iId : int

The id of the record

Tags
access

public

Return values
CSDownloadContextItem

The created download item

getClass()

Returns the record class of the download item.

public getClass() : string
Tags
access

public

Return values
string

The record class of the download item

getId()

Returns the id of the download item.

public getId() : int
Tags
access

public

Return values
int

The id of the download item.


        

Search results