class Type extends ConcreteObject (View source)

Properties

$error from ConcreteObject
protected $ptPublishTargetTypeID
protected $ptPublishTargetTypeHandle
protected $ptPublishTargetTypeName
protected $pkgID

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

configurePageTypePublishTarget(Type $pt, $post)

No description

getPackageID()

No description

getPackageHandle()

No description

getPackageObject()

No description

string
getPageTypePublishTargetTypeDisplayName(string $format = 'html')

Returns the display name for this instance (localized and escaped accordingly to $format)

validatePageTypeRequest(Request $request)

No description

static 
getByID($ptPublishTargetTypeID)

No description

static 
getByHandle($ptPublishTargetTypeHandle)

No description

static 
static 
add($ptPublishTargetTypeHandle, $ptPublishTargetTypeName, $pkg = false)

No description

delete()

No description

static 
getList()

No description

static 
getListByPackage($pkg)

No description

export($xml)

No description

static 
exportList($xml)

No description

hasOptionsForm()

No description

includeOptionsForm($pagetype = false, $siteType = false)

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

abstract configurePageTypePublishTarget(Type $pt, $post)

Parameters

Type $pt
$post

abstract configurePageTypePublishTargetFromImport($txml)

Parameters

$txml

getPageTypePublishTargetTypeName()

getPageTypePublishTargetTypeHandle()

getPageTypePublishTargetTypeID()

getPackageID()

getPackageHandle()

getPackageObject()

string getPageTypePublishTargetTypeDisplayName(string $format = 'html')

Returns the display name for this instance (localized and escaped accordingly to $format)

Parameters

string $format = 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display name won't be escaped.

Return Value

string

validatePageTypeRequest(Request $request)

Parameters

Request $request

static getByID($ptPublishTargetTypeID)

Parameters

$ptPublishTargetTypeID

static getByHandle($ptPublishTargetTypeHandle)

Parameters

$ptPublishTargetTypeHandle

static importConfiguredPageTypePublishTarget($txml)

Parameters

$txml

static add($ptPublishTargetTypeHandle, $ptPublishTargetTypeName, $pkg = false)

Parameters

$ptPublishTargetTypeHandle
$ptPublishTargetTypeName
$pkg

delete()

static getList()

static getListByPackage($pkg)

Parameters

$pkg

export($xml)

Parameters

$xml

static exportList($xml)

Parameters

$xml

hasOptionsForm()

includeOptionsForm($pagetype = false, $siteType = false)

Parameters

$pagetype
$siteType