diff --git a/framework/control.class.php b/framework/control.class.php index e896847264..c0231f62db 100755 --- a/framework/control.class.php +++ b/framework/control.class.php @@ -1,13 +1,13 @@ - * @package framework - * @version $Id: control.class.php 109 2010-05-02 15:42:08Z wwccss $ - * @link http://www.zentao.net + * The author disclaims copyright to this source code. In place of + * a legal notice, here is a blessing: + * + * May you do good and not evil. + * May you find forgiveness for yourself and forgive others. + * May you share freely, never taking more than you give. */ /** diff --git a/framework/helper.class.php b/framework/helper.class.php index deec2732b3..942213991b 100644 --- a/framework/helper.class.php +++ b/framework/helper.class.php @@ -1,13 +1,13 @@ - * @package framework - * @version $Id: helper.class.php 111 2010-05-11 08:17:32Z wwccss $ - * @link http://www.zentao.net + * The author disclaims copyright to this source code. In place of + * a legal notice, here is a blessing: + * + * May you do good and not evil. + * May you find forgiveness for yourself and forgive others. + * May you share freely, never taking more than you give. */ /** * The helper class, contains the tool functions. @@ -16,32 +16,6 @@ */ class helper { - /** - * Set the member's value of one object. - * - * db->user = 'wwccss'; - * helper::setMember('lang', 'db.user', 'chunsheng.wang'); - * ?> - * - * @param string $objName the var name of the object. - * @param string $key the key of the member, can be parent.child. - * @param mixed $value the value to be set. - * @static - * @access public - * @return bool - */ - static public function setMember($objName, $key, $value) - { - global $$objName; - if(!is_object($$objName) or empty($key)) return false; - $key = str_replace('.', '->', $key); - $value = serialize($value); - $code = ("\$${objName}->{$key}=unserialize(<< - * @package framework - * @version $Id: model.class.php 135 2010-09-14 03:23:35Z yuren_@126.com $ - * @link http://www.zentao.net + * The author disclaims copyright to this source code. In place of + * a legal notice, here is a blessing: + * + * May you do good and not evil. + * May you find forgiveness for yourself and forgive others. + * May you share freely, never taking more than you give. */ /** * The base class of model. diff --git a/framework/router.class.php b/framework/router.class.php index c55eb6b1aa..e4aa441a21 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -1,14 +1,15 @@ - * @package framework - * @version $Id: router.class.php 111 2010-05-11 08:17:32Z wwccss $ - * @link http://www.zentao.net + * The author disclaims copyright to this source code. In place of + * a legal notice, here is a blessing: + * + * May you do good and not evil. + * May you find forgiveness for yourself and forgive others. + * May you share freely, never taking more than you give. */ + /** * The router class. *