* change the copyright of framework.

This commit is contained in:
wangchunsheng
2011-05-20 03:22:02 +00:00
parent 11713c6b2e
commit 1774ccb7bd
4 changed files with 29 additions and 54 deletions

View File

@@ -1,13 +1,13 @@
<?php
/**
* The control class file of ZenTaoPMS.
* The control class file of ZenTaoPHP framework.
*
* @copyright Copyright 2009-2011 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @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.
*/
/**

View File

@@ -1,13 +1,13 @@
<?php
/**
* The helper class file of ZenTaoPMS.
* The helper class file of ZenTaoPHP framework.
*
* @copyright Copyright 2009-2011 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @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.
* <code>
* <?php
* $lang->db->user = 'wwccss';
* helper::setMember('lang', 'db.user', 'chunsheng.wang');
* ?>
* </code>
* @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(<<<EOT\n$value\nEOT\n);");
eval($code);
return true;
}
/**
* Create a link to a module's method.
*

View File

@@ -1,13 +1,13 @@
<?php
/**
* The model class file of ZenTaoPMS.
* The model class file of ZenTaoPHP framework.
*
* @copyright Copyright 2009-2011 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @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.

View File

@@ -1,14 +1,15 @@
<?php
/**
* The router, config and lang class file of ZenTaoPMS.
* The router, config and lang class file of ZenTaoPHP framework.
*
* @copyright Copyright 2009-2011 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @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.
*