BaseW3sContentManagerImage __construct(
int
$type, [object The
$content = null], [string
$image = '']
)
|
|
Constructor.
Parameters:
|
int |
$type: |
The content's type |
|
object The |
$content: |
w3sContent object. Can be null when adding |
|
string |
$image: |
The image |
API Tags:
Redefinition of:
- w3sContentManager::__construct()
- Constructor.
array formatContent(
array
$contentValues
)
|
|
Format content to display the image on the web page, using the image's properties edited by user at runtime. Overrides the same function of w3sContentManager
Parameters:
|
array |
$contentValues: |
The array with contents. |
API Tags:
| Return: | The array with contents formatted. |
| Access: | protected |
Redefinition of:
- w3sContentManager::formatContent()
- The default behaviour of the formatContent function is "Nothing to do", so the content array will be returned untouched .
string getDefaultValue(
)
|
|
Returns the default text for the image content
API Tags:
Redefinition of:
- w3sContentManager::getDefaultValue()
- Returns the default text for the text content
void getInteractiveMenu(
)
|
|
API Tags:
Redefinition of:
- w3sContentManager::getInteractiveMenu()
- Returns the Interactive Menu used to manage the editor. This gives you a chance to add the reference to javascript editor which manages the content.