Public Member Functions | |
getContent ($path) | |
getStartPage ($folderPath, $locale) | |
contentFile ($path) | |
getRequestedAttributes () | |
getRepositoryApi () |
Static Public Member Functions | |
static | fileAccessible ($filePath, $folder) |
Public Attributes | |
$usePersonalisation | |
$personalisationFields = array() |
Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales @gen tics. comhttp://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.
Abstract class for access to content repository
Definition at line 12 of file ContentSource.php.
|
abstract |
Get content file location
string | $path | local path |
Reimplemented in DynamicContentSource, and FileSystemContentSource.
|
static |
Check if file placed in $contentFolder folder. Prevent '../' attack.
string | $filePath | relative file path |
string | $folder | in which file should placed |
Definition at line 67 of file ContentSource.php.
Referenced by FileSystemContentSource\getContent().
|
abstract |
Method which receive content path and return content
string | $path | content path |
Reimplemented in DynamicContentSource, and FileSystemContentSource.
ContentSource::getRepositoryApi | ( | ) |
Get repository api class
Definition at line 81 of file ContentSource.php.
|
abstract |
Return array of attributes which will be requested from API
Reimplemented in DynamicContentSource, and FileSystemContentSource.