403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  E:/Inetpub/www/myschool/triamudom/tuprblearn/lib/horde/framework/Horde/Support/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/triamudom/tuprblearn/lib/horde/framework/Horde/Support/ObjectStub.php
<?php
/**
 * Provides a wrapper around an object to return null for non-existent
 * properties (instead of throwing an error).
 *
 * Copyright 2012-2017 Horde LLC (http://www.horde.org/)
 *
 * @author   Michael Slusarz <[email protected]>
 * @category Horde
 * @license  http://www.horde.org/licenses/bsd BSD
 * @package  Support
 */

/**
 * @author   Michael Slusarz <[email protected]>
 * @category Horde
 * @license  http://www.horde.org/licenses/bsd BSD
 * @package  Support
 */
class Horde_Support_ObjectStub
{
    /**
     * Original data object.
     *
     * @var array
     */
    protected $_data;

    /**
     * Constructor
     *
     * @param object $data  The original data object.
     */
    public function __construct($data)
    {
        $this->_data = $data;
    }

    /**
     */
    public function __get($name)
    {
        return isset($this->_data->$name)
            ? $this->_data->$name
            : null;
    }

    /**
     */
    public function __set($name, $value)
    {
        $this->_data->$name = $value;
    }

    /**
     */
    public function __isset($name)
    {
        return isset($this->_data->$name);
    }

    /**
     */
    public function __unset($name)
    {
        unset($this->_data->$name);
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit