class Snippet extends ConcreteObject (View source)

Properties

$error from ConcreteObject

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

replace()

Required for snippets to work.

getPackageID()

No description

getPackageHandle()

No description

getPackageObject()

No description

findAndReplace($text)

No description

static 
getByHandle($scsHandle)

No description

static 
add($scsHandle, $scsName, $pkg = false)

No description

delete()

No description

activate()

No description

deactivate()

No description

static 
getList()

No description

static 
getActiveList()

No description

static 
getListByPackage($pkg)

No description

static 
exportList($xml)

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

abstract replace()

Required for snippets to work.

getSystemContentEditorSnippetHandle()

getSystemContentEditorSnippetName()

isSystemContentEditorSnippetActive()

getPackageID()

getPackageHandle()

getPackageObject()

findAndReplace($text)

Parameters

$text

static getByHandle($scsHandle)

Parameters

$scsHandle

static add($scsHandle, $scsName, $pkg = false)

Parameters

$scsHandle
$scsName
$pkg

delete()

activate()

deactivate()

static getList()

static getActiveList()

static getListByPackage($pkg)

Parameters

$pkg

static exportList($xml)

Parameters

$xml