Author: ralfbecker
New Revision: 55271
URL: http://svn.stylite.de/viewvc/egroupware?rev=55271&view=rev
Log:
move egw_customfields class to Api\Customfields
Added:
trunk/egroupware/api/src/Customfields.php
- copied, changed from r55263, trunk/phpgwapi/inc/class.egw_customfields.inc.php
Modified:
trunk/egroupware/api/src/Config.php
trunk/egroupware/api/src/Session.php
trunk/phpgwapi/inc/class.egw_customfields.inc.php
— trunk/egroupware/api/src/Config.php (original)
+++ trunk/egroupware/api/src/Config.php Sat Mar 5 14:33:32 2016
@@ -10,8 +10,6 @@
namespace EGroupware\Api;
-use egw_customfields;
/**
- eGW’s application configuration in a centralized location
-
@@ -230,13 +228,13 @@
* @param string $app
* @param boolean $all_private_too =false should all the private fields be returned too, default no
* @param string $only_type2 =null if given only return fields of type2 == $only_type2
-
-
@deprecated use egw_customfields::get()
-
-
@deprecated use Api\Customfields::get()
-
@return array with customfields
*/
static function get_customfields($app, $all_private_too=false, $only_type2=null)
{
-
//error_log(__METHOD__."('$app', $all_private_too, $only_type2) deprecated, use egw_customfields::get() in ". function_backtrace());
-
return egw_customfields::get($app, $all_private_too, $only_type2);
-
//error_log(__METHOD__."('$app', $all_private_too, $only_type2) deprecated, use Customfields::get() in ". function_backtrace());
-
return Customfields::get($app, $all_private_too, $only_type2);
}
/**
— trunk/phpgwapi/inc/class.egw_customfields.inc.php (original)
+++ trunk/egroupware/api/src/Customfields.php Sat Mar 5 14:33:32 2016
@@ -4,16 +4,22 @@
*