class PageTypeType extends Type (View source)

Properties

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

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

from  Type
from  Type
from  Type
getPackageID()

No description

from  Type
getPackageHandle()

No description

from  Type
getPackageObject()

No description

from  Type
string
getPageTypePublishTargetTypeDisplayName(string $format = 'html')

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

from  Type
validatePageTypeRequest(Request $request)

No description

static 
getByID($ptPublishTargetTypeID)

No description

from  Type
static 
getByHandle($ptPublishTargetTypeHandle)

No description

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

No description

from  Type
delete()

No description

from  Type
static 
getList()

No description

from  Type
static 
getListByPackage($pkg)

No description

from  Type
export($xml)

No description

from  Type
static 
exportList($xml)

No description

from  Type
hasOptionsForm()

No description

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

No description

from  Type

Details

loadError($error)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

configurePageTypePublishTarget(Type $pt, $post)

No description

Parameters

Type $pt
$post

configurePageTypePublishTargetFromImport($txml)

No description

Parameters

$txml

getPageTypePublishTargetTypeName()

No description

getPageTypePublishTargetTypeHandle()

No description

getPageTypePublishTargetTypeID()

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)

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)

No description

Parameters

Request $request

static getByID($ptPublishTargetTypeID)

No description

Parameters

$ptPublishTargetTypeID

static getByHandle($ptPublishTargetTypeHandle)

No description

Parameters

$ptPublishTargetTypeHandle

static importConfiguredPageTypePublishTarget($txml)

No description

Parameters

$txml

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

No description

Parameters

$ptPublishTargetTypeHandle
$ptPublishTargetTypeName
$pkg

delete()

No description

static getList()

No description

static getListByPackage($pkg)

No description

Parameters

$pkg

export($xml)

No description

Parameters

$xml

static exportList($xml)

No description

Parameters

$xml

hasOptionsForm()

No description

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

No description

Parameters

$pagetype
$siteType