render() public méthode

Renders the template
public render ( $template = '//base/_logo' ) : mixed
$template
Résultat mixed
Exemple #1
0
 * @copyright Copyright (c) 2011-2013, OpenEyes Foundation
 * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0
 */
$logoHelper = new LogoHelper();
?>
<div class="print-form-div">
	<?php 
if (@$copy) {
    ?>
		<div class="watermark">
			<img src="<?php 
    echo $this->assetPath . '/img/copy_for_' . $copy . '.png';
    ?>
"/>
		</div>
	<?php 
}
?>
	<div class="banner clearfix">
		<?php 
echo $logoHelper->render('letter_head');
?>
	</div>
	<?php 
$this->renderPartial('_address', array('site' => $this->site));
?>
	<?php 
$this->renderOpenElements($this->action->id, null, array('copy' => @$copy));
?>
</div>
Exemple #2
0
 * You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see <http://www.gnu.org/licenses/>.
 *
 * @link http://www.openeyes.org.uk
 *
 * @author OpenEyes <*****@*****.**>
 * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust
 * @copyright Copyright (c) 2011-2013, OpenEyes Foundation
 * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0
 */
$logoHelper = new LogoHelper();
$event = $this->event;
$event_type = $event->eventType->name;
?>
<header class="header">
	<?php 
echo $logoHelper->render();
?>
	<div class="row">
		<div class="large-4 column patient">
			<strong><?php 
echo $this->patient->contact->fullName;
?>
</strong>
			<br />
			<?php 
echo $this->patient->getLetterAddress(array('delimiter' => '<br/>'));
?>
			<br />
			<br />
			Hospital No: <strong><?php 
echo $this->patient->hos_num;
Exemple #3
0
 *
 * @link http://www.openeyes.org.uk
 *
 * @author OpenEyes <*****@*****.**>
 * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust
 * @copyright Copyright (c) 2011-2013, OpenEyes Foundation
 * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0
 */
$event = $this->event;
$event_type = $event->eventType->name;
$logoHelper = new LogoHelper();
?>
<header class="header">
	<div class="title">
	<?php 
echo $logoHelper->render('//base/_logo_seal');
?>
	
	<h1><?php 
echo $event_type;
?>
</h1>
	</div>
	<div class="row">
		<!-- Patient details -->
		<div class="large-4 column patient">
			<strong><?php 
echo $this->patient->contact->fullName;
?>
</strong>
			<br />