Subversion-Projekte lars-tiefland.ci

Revision

Revision 68 | Revision 2107 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 68 Revision 2049
Zeile 4... Zeile 4...
4
 *
4
 *
5
 * An open source application development framework for PHP
5
 * An open source application development framework for PHP
6
 *
6
 *
7
 * This content is released under the MIT License (MIT)
7
 * This content is released under the MIT License (MIT)
8
 *
8
 *
9
 * Copyright (c) 2014 - 2016, British Columbia Institute of Technology
9
 * Copyright (c) 2014 - 2017, British Columbia Institute of Technology
10
 *
10
 *
11
 * Permission is hereby granted, free of charge, to any person obtaining a copy
11
 * Permission is hereby granted, free of charge, to any person obtaining a copy
12
 * of this software and associated documentation files (the "Software"), to deal
12
 * of this software and associated documentation files (the "Software"), to deal
13
 * in the Software without restriction, including without limitation the rights
13
 * in the Software without restriction, including without limitation the rights
14
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Zeile 27... Zeile 27...
27
 * THE SOFTWARE.
27
 * THE SOFTWARE.
28
 *
28
 *
29
 * @package	CodeIgniter
29
 * @package	CodeIgniter
30
 * @author	EllisLab Dev Team
30
 * @author	EllisLab Dev Team
31
 * @copyright	Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
31
 * @copyright	Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
32
 * @copyright	Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
32
 * @copyright	Copyright (c) 2014 - 2017, British Columbia Institute of Technology (http://bcit.ca/)
33
 * @license	http://opensource.org/licenses/MIT	MIT License
33
 * @license	http://opensource.org/licenses/MIT	MIT License
34
 * @link	https://codeigniter.com
34
 * @link	https://codeigniter.com
35
 * @since	Version 1.0.0
35
 * @since	Version 1.0.0
36
 * @filesource
36
 * @filesource
37
 */
37
 */
Zeile 337... Zeile 337...
337
		//-------------------------------------
337
		//-------------------------------------
338
		// Check for Method (and Object)
338
		// Check for Method (and Object)
339
		//-------------------------------------
339
		//-------------------------------------
Zeile 340... Zeile 340...
340
 
340
 
341
		$method_parts = explode('.', $this->methods[$methName]['function']);
341
		$method_parts = explode('.', $this->methods[$methName]['function']);
Zeile 342... Zeile 342...
342
		$objectCall = (isset($method_parts[1]) && $method_parts[1] !== '');
342
		$objectCall   = ! empty($method_parts[1]);
343
 
343
 
344
		if ($system_call === TRUE)
344
		if ($system_call === TRUE)
345
		{
345
		{
346
			if ( ! is_callable(array($this,$method_parts[1])))
346
			if ( ! is_callable(array($this, $method_parts[1])))
347
			{
347
			{
348
				return new XML_RPC_Response(0, $this->xmlrpcerr['unknown_method'], $this->xmlrpcstr['unknown_method']);
348
				return new XML_RPC_Response(0, $this->xmlrpcerr['unknown_method'], $this->xmlrpcstr['unknown_method']);
349
			}
349
			}
Zeile 398... Zeile 398...
398
			{
398
			{
399
				return call_user_func(array($this, $method_parts[1]), $m);
399
				return call_user_func(array($this, $method_parts[1]), $m);
400
			}
400
			}
401
			elseif ($this->object === FALSE)
401
			elseif ($this->object === FALSE)
402
			{
402
			{
403
				return get_instance()->$method_parts[1]($m);
403
				return get_instance()->{$method_parts[1]}($m);
404
			}
404
			}
405
			else
405
			else
406
			{
406
			{
407
				return $this->object->$method_parts[1]($m);
407
				return $this->object->{$method_parts[1]}($m);
408
			}
408
			}
409
		}
409
		}
410
		else
410
		else
411
		{
411
		{
412
			return call_user_func($this->methods[$methName]['function'], $m);
412
			return call_user_func($this->methods[$methName]['function'], $m);