__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package SP Simple Portfolio
*
* @copyright Copyright (C) 2010 - 2022 JoomShaper. All rights reserved.
* @license GNU General Public License version 2 or later.
*/
defined('_JEXEC') or die();
use Joomla\CMS\Factory;
use Joomla\CMS\Table\Table;
use Joomla\CMS\MVC\Model\AdminModel;
class SpsimpleportfolioModelTag extends AdminModel {
public function getTable($type = 'Tag', $prefix = 'SpsimpleportfolioTable', $config = array()) {
return Table::getInstance($type, $prefix, $config);
}
public function getForm($data = array(), $loadData = true) {
$form = $this->loadForm('com_spsimpleportfolio.tag', 'tag', array( 'control' => 'jform', 'load_data' => $loadData ) );
if (empty($form)) {
return false;
}
return $form;
}
protected function loadFormData() {
$data = Factory::getApplication()->getUserState( 'com_spsimpleportfolio.edit.tag.data', array() );
if (empty($data)) {
$data = $this->getItem();
}
return $data;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| fields | Folder | 0775 |
|
|
| forms | Folder | 0775 |
|
|
| item.php | File | 3.66 KB | 0664 |
|
| items.php | File | 6.12 KB | 0664 |
|
| tag.php | File | 986 B | 0664 |
|
| tags.php | File | 1.83 KB | 0664 |
|