public function onClickCancel() { $this->closeMessageBox(); $OPF_profiles = new OPF_profiles(); $this->assign('content1', 'innerHTML', $OPF_profiles->getFormStartUp()); $this->assign('content2', 'innerHTML', $OPF_profiles->getListProfiles()); return $this->response; }
<?php /** * Vista inicial. * * @author José Ignacio Gutiérrez Guzmán <*****@*****.**> * @link http://www.osezno-framework.org/ * @copyright Copyright © 2007-2012 Osezno PHP Framework * @license http://www.osezno-framework.org/license.txt */ /** * Asignar contenidos a areas de la plantilla */ OPF_osezno::assign('nom_modulo', OPF_myLang::getPhrase('OPF_PROFILES_TITLE')); OPF_osezno::assign('desc_modulo', OPF_myLang::getPhrase('OPF_PROFILES_DESC')); $OPF_profiles = new OPF_profiles(); OPF_osezno::assign('content1', $OPF_profiles->getFormStartUp()); OPF_osezno::assign('content2', $OPF_profiles->getListProfiles()); /** * Mostrar la plantilla */ OPF_osezno::call_template('modulo' . DS . 'modulo.tpl');