| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/newsite/plugins/system/t3/includes/extendable/ |
Upload File : |
<?php
/**
*------------------------------------------------------------------------
* T3 Framework for Joomla!
* ------------------------------------------------------------------------
* Copyright (C) 2004-2013 JoomlArt.com, Ltd. All Rights Reserved.
* License - GNU/GPL, http://www.gnu.org/licenses/gpl.html
* Authors: JoomlArt, JoomlaBamboo
* If you want to be come co-authors of this project, please follow our guidelines at http://t3-framework.org/contribute
* ------------------------------------------------------------------------
*/
// No direct access
defined('_JEXEC') or die();
define('_PHP_', intval(phpversion()));
if (! function_exists('property_exists')) {
/**
* Check property of object exists or not
*
* @param object $oObject Checked object
* @param string $sProperty Property name
*
* @return bool TRUE if exists, otherwise FALSE
*/
function property_exists($oObject, $sProperty)
{
if (is_object($oObject)) {
$oObject = get_class($oObject);
}
return array_key_exists($sProperty, get_class_vars($oObject));
}
}
/**
* Check method of object is callable or not
*
* @param object $oObject Checked object
* @param string $sMethod Method name
*
* @return bool TRUE if exists, otherwise FALSE
*/
function method_callable($oObject, $sMethod)
{
// must be object or string
if (! is_object($oObject) && ! is_string($oObject)) {
return false;
}
return array_key_exists($sMethod, array_flip(get_class_methods($oObject)));
}
/**
* Make object extendable
*
* @param string $classname Class name
*
* @return void
*/
function make_object_extendable($classname)
{
if (_PHP_ < 5) {
overload($classname);
}
}
if (_PHP_ >= 5) {
include_once dirname(__FILE__) . '/object.5.php';
} else {
include_once dirname(__FILE__) . '/object.4.php';
}