wCMF 4.1
Guides
Getting started
Architecture
Model
Persistence
Presentation
Configuration
Security
I18n & l10n
Tests
Versions
4.1.x
4.0.x
API
Classes
Hierarchy
Code
Support
home
travis
build
iherwig
wcmf
src
wcmf
lib
presentation
ContentModule.php
1
<?php
2
/**
3
* wCMF - wemove Content Management Framework
4
* Copyright (C) 2005-2020 wemove digital solutions GmbH
5
*
6
* Licensed under the terms of the MIT License.
7
*
8
* See the LICENSE file distributed with this work for
9
* additional information.
10
*/
11
namespace
wcmf\lib\presentation
;
12
13
/**
14
* Interface for smarty content modules.
15
*
16
* @author ingo herwig <ingo@wemove.com>
17
*/
18
interface
ContentModule
{
19
/**
20
* Initialize the instance
21
* @param $parentTemplate Template object that includes this content module
22
* @param $params Associative array of parameters passed to the smarty {module} tag
23
*/
24
public
function
initialize
(\Smarty_Internal_Template $parentTemplate, array $params);
25
26
/**
27
* Render the content
28
*/
29
public
function
render
();
30
}
31
?>
wcmf\lib\presentation\ContentModule
Interface for smarty content modules.
Definition:
ContentModule.php:18
wcmf\lib\presentation\ContentModule\initialize
initialize(\Smarty_Internal_Template $parentTemplate, array $params)
Initialize the instance.
wcmf\lib\presentation\ContentModule\render
render()
Render the content.
wcmf\lib\presentation
Presentation related interfaces and classes.
Definition:
namespaces.php:59