File manager - Edit - /home/capoccitel/www/administrator/components/com_tlpportfolio/controller.php
Back
<?php /** * @version 2.0 * @package com_tlpportfolio * @author TechLabPro <info@techlabpro.com> * @copyright Copyright (C) 2015. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access defined('_JEXEC') or die; /** * Class TlpportfolioController * * @since 1.6 */ class TlpportfolioController extends JControllerLegacy { /** * Method to display a view. * * @param boolean $cachable If true, the view output will be cached * @param mixed $urlparams An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}. * * @return JController This object to support chaining. * * @since 1.5 */ public function display($cachable = false, $urlparams = false) { require_once JPATH_COMPONENT . '/helpers/tlpportfolio.php'; $view = JFactory::getApplication()->input->getCmd('view', 'portfolios'); JFactory::getApplication()->input->set('view', $view); parent::display($cachable, $urlparams); return $this; } public static function tlpImgUpload() { $jinput = JFactory::getApplication()->input; $data = $jinput->post->getArray(array()); echo $data['jform']['portfolio_image']; print_r($data); } }
| ver. 1.6 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings