Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/vendors/Textpattern/Skin/AssetBase.php - 748 lines - 21379 bytes - Source - Print

Description: Asset Base Extended by CSS, Form and Page.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 27 functions

__construct()
setSkin()
getSkin()
getInfos()
getFileContentsField()
getEssential()
setDir()
getDir()
getDirPath()
getSubdirField()
getDefaultSubdir()
getSubdirValues()
parseSubdir()
getSubdirPath()
getFilePath()
getEditing()
setEditing()
resetEditing()
createFile()
createRows()
deleteExtraRows()
parseFiles()
deleteExtraFiles()
import()
export()
getSelectEdit()
selectEdit()

Functions

Functions that are not part of a class:

__construct(Skin $skin = null)  line: 95
Constructor.

setSkin(Skin $skin = null)  line: 106
{@inheritdoc}

getSkin()  line: 117
$skin property getter.

return: $this->skin The asset related skin object.
getInfos($safe = false)  line: 128
{@inheritdoc}

getFileContentsField()  line: 151
$fileContentsField property getter.

return: string static::$fileContentsField.
getEssential($key = null,$whereKey = null,$valueIn = null)  line: 162
Get essential templates infos from the $essential property value.

return: array            $essential property value if $key is null, filtered infos otherwise.
param: string $key      $essential property key for which you want to get the value.
param: string $whereKey $essential property key to check against the $valueIn value.
param: array  $valueIn  Values to check against the $whereKey values.
setDir($name line: 204
$dir property setter.

getDir()  line: 213
$dir property getter.

return: string static::$dir.
getDirPath()  line: 224
Gets the skin directory path.

return: string path.
getSubdirField()  line: 235
$subdirField property getter.

getDefaultSubdir()  line: 244
$defaultSubdir property getter.

getSubdirValues()  line: 253
$defaultSubdir property getter.

parseSubdir($name line: 262
Whether a subdirectory name is valid or not.

return: string       The subdirectory name if valid or the default subdirectory.
param: string $name Subdirectory name.
getSubdirPath($name = null)  line: 278
{@inheritdoc}

getFilePath($name = null)  line: 289
Get the template related file path.

param: string path.
getEditing()  line: 305
{@inheritdoc}

setEditing($name = null)  line: 327
{@inheritdoc}

resetEditing()  line: 342
Set the skin_editing pref to the skin used by the default section.

return: bool FALSE on error.
createFile($path = null, $contents = null)  line: 353
{@inheritdoc}

createRows($rows = null)  line: 384
{@inheritdoc}

deleteExtraRows()  line: 428
Delete obsolete template rows.

return: bool FALSE on error.
parseFiles($files line: 442
{@inheritdoc}

deleteExtraFiles($nameNotIn = null)  line: 504
Unlink obsolete template files.

return: array      !Templates for which the unlink process FAILED!;
param: array $not An array of template names to NOT unlink;
import($sync = false, $override = false)  line: 560
{@inheritdoc}

export($sync = false, $override = false)  line: 621
{@inheritdoc}

getSelectEdit()  line: 696
{@inheritdoc}

selectEdit($skin = null)  line: 724
Select the asset related skin to edit.
Keeps track from panel to panel.

return: object $this The current class object (chainable).
param: string $skin Optional skin name. Read from GET/POST otherwise

title

Body