File manager - Edit - /home/capoccitel/www/components/com_rtform/helpers/rtform.php
Back
<?php /** * @version CVS: 1.0.0 * @package Com_Rtform * @author Radius Theme <support@radiustheme.com> * @copyright 2016 RadiusTheme.com * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Class RtformFrontendHelper * * @since 1.6 */ class RtformHelpersRtform { /** * Get an instance of the named model * * @param string $name Model name * * @return null|object */ public static function getModel($name) { $model = null; // If the file exists, let's if (file_exists(JPATH_SITE . '/components/com_rtform/models/' . strtolower($name) . '.php')) { require_once JPATH_SITE . '/components/com_rtform/models/' . strtolower($name) . '.php'; $model = JModelLegacy::getInstance($name, 'RtformModel'); } return $model; } }
| ver. 1.6 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings