| [ Index ] |
PHP Cross Reference of Xoops v2.4.5 code documentation |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * XOOPS Kernel Class 4 * 5 * You may not change or alter any portion of this comment or credits 6 * of supporting developers from this source code or any supporting source code 7 * which is considered copyrighted (c) material of the original comment or credit authors. 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11 * 12 * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ 13 * @license http://www.fsf.org/copyleft/gpl.html GNU public license 14 * @package kernel 15 * @since 2.3.0 16 * @version $Id: blockinstance.php 4897 2010-06-19 02:55:48Z phppp $ 17 */ 18 /** 19 * XOOPS Block legacy Instance handler 20 * @author Taiwen Jiang <phppp@users.sourceforge.net> 21 */ 22 defined('XOOPS_ROOT_PATH') or die('Restricted access'); 23 24 /** 25 * Xoops Block Instance 26 * 27 * @author Taiwen Jiang <phppp@users.sourceforge.net> 28 * @copyright copyright (c) 2009 XOOPS.org 29 * 30 * @package kernel 31 */ 32 class XoopsBlockInstance 33 { 34 /** 35 * Constructor 36 * 37 */ 38 function __construct() 39 { 40 } 41 42 /** 43 * Call Magic Function 44 * 45 * @param string $name 46 * @param array $args 47 * @return null 48 */ 49 function __call($name, $args) 50 { 51 trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the method '{$name}' is not executed") . "!", E_USER_WARNING); 52 return null; 53 } 54 55 /** 56 * Set Magic Function 57 * 58 * @param string $name 59 * @param array $args 60 * @return null 61 */ 62 function __set($name, $args) 63 { 64 trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the variable '{$name}' is not set") . "!", E_USER_WARNING); 65 return false; 66 } 67 68 /** 69 * Get Magic Function 70 * 71 * @param string $name 72 * @return null 73 */ 74 function __get($name) 75 { 76 trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the variable '{$name}' is not vailable") . "!", E_USER_WARNING); 77 return null; 78 } 79 } 80 81 /** 82 * XOOPS Block Instance Handler Class. (Singelton) 83 * 84 * This class is responsible for providing data access mechanisms to the data source 85 * of XOOPS block class objects. 86 * 87 * @author Taiwen Jiang <phppp@users.sourceforge.net> 88 * @copyright copyright (c) 2009 XOOPS.org 89 * @package kernel 90 * @subpackage block 91 */ 92 class XoopsBlockInstanceHandler 93 { 94 /** 95 * Enter description here... 96 * 97 */ 98 function __construct() 99 { 100 } 101 102 /** 103 * Call Magic Function 104 * 105 * @param string $name 106 * @param array $args 107 * @return null 108 */ 109 function __call($name, $args) 110 { 111 trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the method '{$name}' is not executed") . "!", E_USER_WARNING); 112 return null; 113 } 114 115 /** 116 * Set Magic Function 117 * 118 * @param string $name 119 * @param array $args 120 * @return null 121 */ 122 function __set($name, $args) 123 { 124 trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the variable '{$name}' is not set") . "!", E_USER_WARNING); 125 return false; 126 } 127 128 /** 129 * Get Magic Function 130 * 131 * @param string $name 132 * @return null 133 */ 134 function __get($name) 135 { 136 trigger_error("Class '" . __CLASS__ . "' is deprecated" . (empty($name) ? "" : " thus the variable '{$name}' is not vailable") . "!", E_USER_WARNING); 137 return null; 138 } 139 } 140 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Sun Aug 1 01:39:09 2010 |