#19 - Reviewed the licensing information and started to align the comments in the code

SVN:trunk[422]
This commit is contained in:
Romain Quetiez
2010-05-24 09:24:35 +00:00
parent 2b365dca75
commit a0e0371812
102 changed files with 2375 additions and 687 deletions

View File

@@ -1,19 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* UserRightsMatrix * UserRightsMatrix (User management Module)
* User management Module
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class UserRightsMatrixUsers extends DBObject class UserRightsMatrixUsers extends DBObject
{ {
public static function Init() public static function Init()

View File

@@ -1,19 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* UserRightsNull * UserRightsNull
* User management Module - say Yeah! to everything * User management Module - say Yeah! to everything
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class UserRightsNull extends UserRightsAddOnAPI class UserRightsNull extends UserRightsAddOnAPI
{ {
// Installation: create the very first user // Installation: create the very first user

View File

@@ -1,19 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* UserRightsProfile * UserRightsProfile
* User management Module, basing the right on profiles and a matrix (similar to UserRightsMatrix, but profiles and other decorations have been added) * User management Module, basing the right on profiles and a matrix (similar to UserRightsMatrix, but profiles and other decorations have been added)
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
define('ADMIN_PROFILE_ID', 1); define('ADMIN_PROFILE_ID', 1);
class UserRightsBaseClass extends cmdbAbstractObject class UserRightsBaseClass extends cmdbAbstractObject

View File

@@ -1,15 +1,30 @@
<?php <?php
require_once("../application/webpage.class.inc.php"); // Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* Simple web page with no includes, header or fancy formatting, useful to * Simple web page with no includes, header or fancy formatting, useful to
* generate HTML fragments when called by an AJAX method * generate HTML fragments when called by an AJAX method
* *
* @package iTopApplication * @author Erwan Taloc <erwan.taloc@combodo.com>
* @access public * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @author Denis Flaven <dflaven@free.fr> * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
*/ */
require_once("../application/webpage.class.inc.php");
class ajax_page extends WebPage class ajax_page extends WebPage
{ {

View File

@@ -1,5 +1,28 @@
<?php <?php
// Includes all the classes to have the application up and running // Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Includes all the classes to have the application up and running
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/applicationcontext.class.inc.php'); require_once('../application/applicationcontext.class.inc.php');
require_once('../application/usercontext.class.inc.php'); require_once('../application/usercontext.class.inc.php');
require_once('../application/cmdbabstract.class.inc.php'); require_once('../application/cmdbabstract.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class ApplicationContext
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once("../application/utils.inc.php"); require_once("../application/utils.inc.php");
/** /**
* Helper class to store and manipulate the parameters that make the application's context * Helper class to store and manipulate the parameters that make the application's context

View File

@@ -1,11 +1,32 @@
<?php <?php
require_once('../application/cmdbabstract.class.inc.php'); // Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* This class manages the audit "categories". Each category defines a set of objects * This class manages the audit "categories". Each category defines a set of objects
* to check and is linked to a set of rules that determine the valid or invalid objects * to check and is linked to a set of rules that determine the valid or invalid objects
* inside the set * inside the set
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/ */
require_once('../application/cmdbabstract.class.inc.php');
class AuditCategory extends cmdbAbstractObject class AuditCategory extends cmdbAbstractObject
{ {
public static function Init() public static function Init()

View File

@@ -1,12 +1,33 @@
<?php <?php
require_once('../application/audit.category.class.inc.php'); // Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* This class manages the audit "rule" linked to a given audit category. * This class manages the audit "rule" linked to a given audit category.
* Each rule is based on an OQL expression that returns either the "good" objects * Each rule is based on an OQL expression that returns either the "good" objects
* or the "bad" ones. The core audit engines computes the complement to the definition * or the "bad" ones. The core audit engines computes the complement to the definition
* set when needed to obtain either the valid objects, or the ones with an error * set when needed to obtain either the valid objects, or the ones with an error
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/ */
require_once('../application/audit.category.class.inc.php');
class AuditRule extends cmdbAbstractObject class AuditRule extends cmdbAbstractObject
{ {
public static function Init() public static function Init()

View File

@@ -1,14 +1,34 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Abstract class that implements some common and useful methods for displaying
* the objects
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../core/cmdbobject.class.inc.php'); require_once('../core/cmdbobject.class.inc.php');
require_once('../application/utils.inc.php'); require_once('../application/utils.inc.php');
require_once('../application/applicationcontext.class.inc.php'); require_once('../application/applicationcontext.class.inc.php');
require_once('../application/ui.linkswidget.class.inc.php'); require_once('../application/ui.linkswidget.class.inc.php');
////////////////////////////////////////////////////////////////////////////////////
/**
* Abstract class that implements some common and useful methods for displaying
* the objects
*/
////////////////////////////////////////////////////////////////////////////////////
abstract class cmdbAbstractObject extends CMDBObject abstract class cmdbAbstractObject extends CMDBObject
{ {

View File

@@ -1,9 +1,31 @@
<?php <?php
require_once("../application/webpage.class.inc.php"); // Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* Simple web page with no includes or fancy formatting, useful to generateXML documents * Simple web page with no includes or fancy formatting, useful to generateXML documents
* The page adds the content-type text/XML and the encoding into the headers * The page adds the content-type text/XML and the encoding into the headers
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/ */
require_once("../application/webpage.class.inc.php");
class CSVPage extends WebPage class CSVPage extends WebPage
{ {
function __construct($s_title) function __construct($s_title)
@@ -32,4 +54,4 @@ class CSVPage extends WebPage
} }
} }
?> ?>

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* DisplayBlock and derived class
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/webpage.class.inc.php'); require_once('../application/webpage.class.inc.php');
require_once('../application/utils.inc.php'); require_once('../application/utils.inc.php');
require_once('../core/userrights.class.inc.php'); require_once('../core/userrights.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent class InputOutputTask
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/cmdbabstract.class.inc.php'); require_once('../application/cmdbabstract.class.inc.php');
/** /**

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class iTopWebPage
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once("../application/nicewebpage.class.inc.php"); require_once("../application/nicewebpage.class.inc.php");
require_once("../application/usercontext.class.inc.php"); require_once("../application/usercontext.class.inc.php");
require_once("../application/applicationcontext.class.inc.php"); require_once("../application/applicationcontext.class.inc.php");

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class iTopWizardWebPage
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('itopwebpage.class.inc.php'); require_once('itopwebpage.class.inc.php');
/** /**
* Web page to display a wizard in the iTop framework * Web page to display a wizard in the iTop framework

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class LoginWebPage
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once("../application/nicewebpage.class.inc.php"); require_once("../application/nicewebpage.class.inc.php");
/** /**
* Web page used for displaying the login form * Web page used for displaying the login form

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent class menuNode
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../core/attributedef.class.inc.php'); require_once('../core/attributedef.class.inc.php');
require_once('../core/filterdef.class.inc.php'); require_once('../core/filterdef.class.inc.php');
require_once('../core/stimulus.class.inc.php'); require_once('../core/stimulus.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class NiceWebPage
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once("../application/webpage.class.inc.php"); require_once("../application/webpage.class.inc.php");
/** /**
* Web page with some associated CSS and scripts (jquery) for a fancier display * Web page with some associated CSS and scripts (jquery) for a fancier display

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* File to include to initialize the datamodel in memory
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
define('ITOP_VERSION', '0.9'); define('ITOP_VERSION', '0.9');
define('ITOP_REVISION', '$WCREV$'); define('ITOP_REVISION', '$WCREV$');
define('ITOP_BUILD_DATE', '$WCNOW$'); define('ITOP_BUILD_DATE', '$WCNOW$');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class DisplayTemplate
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/displayblock.class.inc.php'); require_once('../application/displayblock.class.inc.php');
/** /**
* This class manages the special template format used internally to build the iTop web pages * This class manages the special template format used internally to build the iTop web pages

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class UILinksWidget
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/webpage.class.inc.php'); require_once('../application/webpage.class.inc.php');
require_once('../application/displayblock.class.inc.php'); require_once('../application/displayblock.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class UILinksWizard
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
class UILinksWizard class UILinksWizard
{ {
protected $m_sClass; protected $m_sClass;

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class UIWizard
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
class UIWizard class UIWizard
{ {
protected $m_oPage; protected $m_oPage;
@@ -153,7 +177,7 @@ $sJSHandlerCode
foreach(MetaModel::GetAttributesList($this->m_sClass) as $sAttCode) foreach(MetaModel::GetAttributesList($this->m_sClass) as $sAttCode)
{ {
$oAttDef = MetaModel::GetAttributeDef($this->m_sClass, $sAttCode); $oAttDef = MetaModel::GetAttributeDef($this->m_sClass, $sAttCode);
if (!$oAttDef->IsExternalField() && !$oAttDef->IsNullAllowed() && if (!$oAttDef->IsExternalField() && !$oAttDef->IsNullAllowed() &&
$oAttDef->IsWritable() && ($sAttCode != $sStateAttCode) ) $oAttDef->IsWritable() && ($sAttCode != $sStateAttCode) )
{ {
$aMandatoryAttributes[$sAttCode] = OPT_ATT_MANDATORY; $aMandatoryAttributes[$sAttCode] = OPT_ATT_MANDATORY;

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class UserContext... should be obsoleted later (see notes below)
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../core/cmdbobject.class.inc.php'); require_once('../core/cmdbobject.class.inc.php');
require_once('../core/userrights.class.inc.php'); require_once('../core/userrights.class.inc.php');
/** /**

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Static class utils
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../core/config.class.inc.php'); require_once('../core/config.class.inc.php');
define('ITOP_CONFIG_FILE', '../config-itop.php'); define('ITOP_CONFIG_FILE', '../config-itop.php');
@@ -156,15 +180,15 @@ class utils
static public function GetAbsoluteUrl($bQueryString = true, $bForceHTTPS = false) static public function GetAbsoluteUrl($bQueryString = true, $bForceHTTPS = false)
{ {
// Build an absolute URL to this page on this server/port // Build an absolute URL to this page on this server/port
$sServerName = $_SERVER['SERVER_NAME']; $sServerName = $_SERVER['SERVER_NAME'];
if ($bForceHTTPS) if ($bForceHTTPS)
{ {
$sProtocol = 'https'; $sProtocol = 'https';
$sPort = ''; $sPort = '';
} }
else else
{ {
$sProtocol = isset($_SERVER['HTTPS']) ? 'https' : 'http'; $sProtocol = isset($_SERVER['HTTPS']) ? 'https' : 'http';
if ($sProtocol == 'http') if ($sProtocol == 'http')
{ {
$sPort = ($_SERVER['SERVER_PORT'] == 80) ? '' : ':'.$_SERVER['SERVER_PORT']; $sPort = ($_SERVER['SERVER_PORT'] == 80) ? '' : ':'.$_SERVER['SERVER_PORT'];

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class WebPage
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* Simple helper class to ease the production of HTML pages * Simple helper class to ease the production of HTML pages
* *

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class WizardHelper
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/uiwizard.class.inc.php'); require_once('../application/uiwizard.class.inc.php');
class WizardHelper class WizardHelper

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class XMLPage
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once("../application/webpage.class.inc.php"); require_once("../application/webpage.class.inc.php");
/** /**
* Simple web page with no includes or fancy formatting, useful to generateXML documents * Simple web page with no includes or fancy formatting, useful to generateXML documents

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent classes for change management
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
//////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////
/** /**
* A Change Ticket * A Change Ticket

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent classes for problem management
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
//////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////
/** /**

View File

@@ -1,16 +1,26 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* ServiceDesk.businnes.php * Persistent classes for helpdesk management
* Define business model for Service Desk module
* *
* @package iTopBizModelSamples * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Erwan Taloc <erwan.taloc@gmail.com> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @author Denis Flaven <denis.flaven@combodo.com>
* @link www.itop.com * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @since 1.0
* @version 1.1.1.1 $
*/ */
//////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////

View File

@@ -1,4 +1,27 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent classes for service management
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
//////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////
/** /**

View File

@@ -1,6 +1,27 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent classes for service request management
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
//////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////
/** /**

View File

@@ -1,16 +1,26 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* itop.business.class.inc.php * Data set to generate good looking sample data
* User defined objects, for unit testing
* *
* @package tbd * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
$aCompanies = array(); $aCompanies = array();

View File

@@ -1,16 +1,26 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* incident<business<php * Persistent classes for incident management
* Define business model for incident mgmt module
* *
* @package iTopBizModelSamples * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Erwan Taloc <erwan.taloc@gmail.com> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @author Denis Flaven <denis.flaven@combodo.com>
* @link www.itop.com * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @since 1.0
* @version 1.1.1.1 $
*/ */
//////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////

View File

@@ -1,21 +1,32 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent classes for a CMDB
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/cmdbabstract.class.inc.php'); require_once('../application/cmdbabstract.class.inc.php');
require_once('../application/template.class.inc.php'); require_once('../application/template.class.inc.php');
/**
* itop.business.class.inc.php
* User defined objects, implements the business need
*
* @package iTopBizModelSamples
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/
/** /**
* Possible values for the statuses of objects * Possible values for the statuses of objects
*/ */
@@ -37,18 +48,6 @@ MetaModel::RegisterRelation("impacts", array("description"=>"objects being funct
* Organization ownership might be used to manage the R/W access to the object * Organization ownership might be used to manage the R/W access to the object
*/ */
//////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////
/**
* itop.business.class.inc.php
* User defined objects, implements the business need
*
* @package iTopBizModelSamples
* @author Erwan Taloc <taloche@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/
class bizOrganization extends cmdbAbstractObject class bizOrganization extends cmdbAbstractObject
{ {
public static function Init() public static function Init()
@@ -104,18 +103,6 @@ class bizOrganization extends cmdbAbstractObject
* can be documented by Documents * can be documented by Documents
*/ */
//////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////
/**
* itop.business.class.inc.php
* User defined objects, implements the business need
*
* @package iTopBizModelSamples
* @author Erwan Taloc <taloche@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/
class logRealObject extends cmdbAbstractObject class logRealObject extends cmdbAbstractObject
{ {
public static function Init() public static function Init()

View File

@@ -1,17 +1,26 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* test_farm.class.inc.php * Persistent classes for core automated tests
* User defined objects, for unit testing - SQL generation oriented (complex links)
* *
* @package iTopUnitTests * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@@ -1,18 +1,35 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Various dev/debug helpers
* TODO: cleanup or at least re-organize
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* MyHelpers * MyHelpers
* various dev/debug helpers, to cleanup or at least re-organize
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class MyHelpers class MyHelpers
{ {
public static function CheckValueInArray($sDescription, $value, $aData) public static function CheckValueInArray($sDescription, $value, $aData)

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent classes (internal): user defined actions
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../core/email.class.inc.php'); require_once('../core/email.class.inc.php');
@@ -6,12 +30,6 @@ require_once('../core/email.class.inc.php');
* A user defined action, to customize the application * A user defined action, to customize the application
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
abstract class Action extends cmdbAbstractObject abstract class Action extends cmdbAbstractObject
{ {
@@ -77,12 +95,6 @@ abstract class Action extends cmdbAbstractObject
* A notification * A notification
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
abstract class ActionNotification extends Action abstract class ActionNotification extends Action
{ {
@@ -117,12 +129,6 @@ abstract class ActionNotification extends Action
* An email notification * An email notification
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class ActionEmail extends ActionNotification class ActionEmail extends ActionNotification
{ {
@@ -233,7 +239,7 @@ class ActionEmail extends ActionNotification
$sSubject = MetaModel::ApplyParams($this->Get('subject'), $aContextArgs); $sSubject = MetaModel::ApplyParams($this->Get('subject'), $aContextArgs);
$sBody = MetaModel::ApplyParams($this->Get('body'), $aContextArgs); $sBody = MetaModel::ApplyParams($this->Get('body'), $aContextArgs);
$oEmail = new Email(); $oEmail = new EMail();
if ($this->IsBeingTested()) if ($this->IsBeingTested())
{ {

View File

@@ -1,18 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* archive.class.inc.php * Utility to import/export the DB from/to a ZIP file
* Utility to import/export the DB from/to a ZIP file
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
/** /**
* iTopArchive a class to manipulate (read/write) iTop archives with their catalog * iTopArchive a class to manipulate (read/write) iTop archives with their catalog
* Each iTop archive is a zip file that contains (at the root of the archive) * Each iTop archive is a zip file that contains (at the root of the archive)

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Typology for the attributes
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('MyHelpers.class.inc.php'); require_once('MyHelpers.class.inc.php');
require_once('ormdocument.class.inc.php'); require_once('ormdocument.class.inc.php');
@@ -44,12 +68,6 @@ define('DEL_AUTO', 2);
* Attribute definition API, implemented in and many flavours (Int, String, Enum, etc.) * Attribute definition API, implemented in and many flavours (Int, String, Enum, etc.)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
abstract class AttributeDefinition abstract class AttributeDefinition
{ {
@@ -235,11 +253,6 @@ abstract class AttributeDefinition
* Set of objects directly linked to an object, and being part of its definition * Set of objects directly linked to an object, and being part of its definition
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeLinkedSet extends AttributeDefinition class AttributeLinkedSet extends AttributeDefinition
{ {
@@ -301,11 +314,6 @@ class AttributeLinkedSet extends AttributeDefinition
* Set of objects linked to an object (n-n), and being part of its definition * Set of objects linked to an object (n-n), and being part of its definition
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeLinkedSetIndirect extends AttributeLinkedSet class AttributeLinkedSetIndirect extends AttributeLinkedSet
{ {
@@ -320,11 +328,6 @@ class AttributeLinkedSetIndirect extends AttributeLinkedSet
* Abstract class implementing default filters for a DB column * Abstract class implementing default filters for a DB column
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeDBFieldVoid extends AttributeDefinition class AttributeDBFieldVoid extends AttributeDefinition
{ {
@@ -412,11 +415,6 @@ class AttributeDBFieldVoid extends AttributeDefinition
* Base class for all kind of DB attributes, with the exception of external keys * Base class for all kind of DB attributes, with the exception of external keys
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeDBField extends AttributeDBFieldVoid class AttributeDBField extends AttributeDBFieldVoid
{ {
@@ -432,11 +430,6 @@ class AttributeDBField extends AttributeDBFieldVoid
* Map an integer column to an attribute * Map an integer column to an attribute
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeInteger extends AttributeDBField class AttributeInteger extends AttributeDBField
{ {
@@ -521,11 +514,6 @@ class AttributeInteger extends AttributeDBField
* Map a boolean column to an attribute * Map a boolean column to an attribute
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeBoolean extends AttributeInteger class AttributeBoolean extends AttributeInteger
{ {
@@ -557,11 +545,6 @@ class AttributeBoolean extends AttributeInteger
* Map a varchar column (size < ?) to an attribute * Map a varchar column (size < ?) to an attribute
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeString extends AttributeDBField class AttributeString extends AttributeDBField
{ {
@@ -658,11 +641,6 @@ class AttributeString extends AttributeDBField
* An attibute that matches an object class * An attibute that matches an object class
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeClass extends AttributeString class AttributeClass extends AttributeString
{ {
@@ -693,11 +671,6 @@ class AttributeClass extends AttributeString
* The attribute dedicated to the finalclass automatic attribute * The attribute dedicated to the finalclass automatic attribute
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeFinalClass extends AttributeString class AttributeFinalClass extends AttributeString
{ {
@@ -739,11 +712,6 @@ class AttributeFinalClass extends AttributeString
* Map a varchar column (size < ?) to an attribute that must never be shown to the user * Map a varchar column (size < ?) to an attribute that must never be shown to the user
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributePassword extends AttributeString class AttributePassword extends AttributeString
{ {
@@ -767,11 +735,6 @@ class AttributePassword extends AttributeString
* Map a text column (size > ?) to an attribute * Map a text column (size > ?) to an attribute
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeText extends AttributeString class AttributeText extends AttributeString
{ {
@@ -795,11 +758,6 @@ class AttributeText extends AttributeString
* Specialization of a string: email * Specialization of a string: email
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeEmailAddress extends AttributeString class AttributeEmailAddress extends AttributeString
{ {
@@ -815,11 +773,6 @@ class AttributeEmailAddress extends AttributeString
* Specialization of a string: IP address * Specialization of a string: IP address
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeIPAddress extends AttributeString class AttributeIPAddress extends AttributeString
{ {
@@ -836,11 +789,6 @@ class AttributeIPAddress extends AttributeString
* Specialization of a string: OQL expression * Specialization of a string: OQL expression
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeOQL extends AttributeString class AttributeOQL extends AttributeString
{ {
@@ -851,11 +799,6 @@ class AttributeOQL extends AttributeString
* Specialization of a string: template * Specialization of a string: template
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeTemplateString extends AttributeString class AttributeTemplateString extends AttributeString
{ {
@@ -866,11 +809,6 @@ class AttributeTemplateString extends AttributeString
* Specialization of a text: template * Specialization of a text: template
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeTemplateText extends AttributeText class AttributeTemplateText extends AttributeText
{ {
@@ -881,11 +819,6 @@ class AttributeTemplateText extends AttributeText
* Map a enum column to an attribute * Map a enum column to an attribute
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeEnum extends AttributeString class AttributeEnum extends AttributeString
{ {
@@ -971,11 +904,6 @@ class AttributeEnum extends AttributeString
* Map a date+time column to an attribute * Map a date+time column to an attribute
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeDate extends AttributeDBField class AttributeDate extends AttributeDBField
{ {
@@ -1128,11 +1056,6 @@ AttributeDate::InitStatics();
* Map a date+time column to an attribute * Map a date+time column to an attribute
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeDateTime extends AttributeDBField class AttributeDateTime extends AttributeDBField
{ {
@@ -1301,11 +1224,6 @@ AttributeDateTime::InitStatics();
* where an AttributeExternalField corresponds to a column into another table (class) * where an AttributeExternalField corresponds to a column into another table (class)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeExternalKey extends AttributeDBFieldVoid class AttributeExternalKey extends AttributeDBFieldVoid
{ {
@@ -1389,11 +1307,6 @@ class AttributeExternalKey extends AttributeDBFieldVoid
* An attribute which corresponds to an external key (direct or indirect) * An attribute which corresponds to an external key (direct or indirect)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeExternalField extends AttributeDefinition class AttributeExternalField extends AttributeDefinition
{ {
@@ -1561,11 +1474,6 @@ class AttributeExternalField extends AttributeDefinition
* Map a varchar column to an URL (formats the ouput in HMTL) * Map a varchar column to an URL (formats the ouput in HMTL)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeURL extends AttributeString class AttributeURL extends AttributeString
{ {
@@ -1602,11 +1510,6 @@ class AttributeURL extends AttributeString
* A blob is an ormDocument, it is stored as several columns in the database * A blob is an ormDocument, it is stored as several columns in the database
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class AttributeBlob extends AttributeDefinition class AttributeBlob extends AttributeDefinition
{ {

View File

@@ -1,16 +1,34 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Bulk change facility (common to interactive and batch usages)
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* BulkChange * BulkChange
* Interpret a given data set and update the DB accordingly (fake mode avail.) * Interpret a given data set and update the DB accordingly (fake mode avail.)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class BulkChangeException extends CoreException class BulkChangeException extends CoreException
@@ -22,11 +40,6 @@ class BulkChangeException extends CoreException
* A series of classes, keeping the information about a given cell: could it be changed or not (and why)? * A series of classes, keeping the information about a given cell: could it be changed or not (and why)?
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class CellChangeSpec abstract class CellChangeSpec
{ {
@@ -138,11 +151,6 @@ class CellStatus_Ambiguous extends CellStatus_Issue
* A series of classes, keeping the information about a given row: could it be changed or not (and why)? * A series of classes, keeping the information about a given row: could it be changed or not (and why)?
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class RowStatus abstract class RowStatus
{ {
@@ -201,13 +209,10 @@ class RowStatus_Issue extends RowStatus
/** /**
** BulkChange * * BulkChange
** @package iTopORM *
** @author Romain Quetiez <romainquetiez@yahoo.fr> * @package iTopORM
** @license http://www.opensource.org/licenses/lgpl-license.php LGPL */
** @link www.itop.com
** @since 1.0
** @version $itopversion$ */
class BulkChange class BulkChange
{ {
protected $m_sClass; protected $m_sClass;

View File

@@ -1,15 +1,33 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent class (internal) cmdbChange
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* A change as requested/validated at once by user, may groups many atomic changes * A change as requested/validated at once by user, may groups many atomic changes
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class CMDBChange extends DBObject class CMDBChange extends DBObject
{ {

View File

@@ -1,15 +1,33 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent classes (internal) : cmdbChangeOp and derived
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* Various atomic change operations, to be tracked * Various atomic change operations, to be tracked
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class CMDBChangeOp extends DBObject class CMDBChangeOp extends DBObject
@@ -54,11 +72,6 @@ class CMDBChangeOp extends DBObject
* Record the creation of an object * Record the creation of an object
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class CMDBChangeOpCreate extends CMDBChangeOp class CMDBChangeOpCreate extends CMDBChangeOp
{ {
@@ -94,11 +107,6 @@ class CMDBChangeOpCreate extends CMDBChangeOp
* Record the deletion of an object * Record the deletion of an object
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class CMDBChangeOpDelete extends CMDBChangeOp class CMDBChangeOpDelete extends CMDBChangeOp
{ {
@@ -133,11 +141,6 @@ class CMDBChangeOpDelete extends CMDBChangeOp
* Record the modification of an attribute (abstract) * Record the modification of an attribute (abstract)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class CMDBChangeOpSetAttribute extends CMDBChangeOp class CMDBChangeOpSetAttribute extends CMDBChangeOp
{ {
@@ -169,11 +172,6 @@ class CMDBChangeOpSetAttribute extends CMDBChangeOp
* Record the modification of a scalar attribute * Record the modification of a scalar attribute
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class CMDBChangeOpSetAttributeScalar extends CMDBChangeOpSetAttribute class CMDBChangeOpSetAttributeScalar extends CMDBChangeOpSetAttribute
{ {
@@ -265,11 +263,6 @@ class CMDBChangeOpSetAttributeScalar extends CMDBChangeOpSetAttribute
* Record the modification of a blob * Record the modification of a blob
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class CMDBChangeOpSetAttributeBlob extends CMDBChangeOpSetAttribute class CMDBChangeOpSetAttributeBlob extends CMDBChangeOpSetAttribute
{ {
@@ -331,11 +324,6 @@ class CMDBChangeOpSetAttributeBlob extends CMDBChangeOpSetAttribute
* Record the modification of a multiline string (text) * Record the modification of a multiline string (text)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class CMDBChangeOpSetAttributeText extends CMDBChangeOpSetAttribute class CMDBChangeOpSetAttributeText extends CMDBChangeOpSetAttribute
{ {

View File

@@ -1,16 +1,34 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class cmdbObject
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* cmdbObjectClass * cmdbObjectClass
* the file to include, then the core is yours * the file to include, then the core is yours
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
require_once('coreexception.class.inc.php'); require_once('coreexception.class.inc.php');
@@ -137,12 +155,6 @@ error_reporting(E_ALL | E_STRICT);
* A persistent object, which changes are accurately recorded * A persistent object, which changes are accurately recorded
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
abstract class CMDBObject extends DBObject abstract class CMDBObject extends DBObject
{ {
@@ -453,12 +465,6 @@ abstract class CMDBObject extends DBObject
* TODO: investigate how to get rid of this class that was made to workaround some language limitation... or a poor design! * TODO: investigate how to get rid of this class that was made to workaround some language limitation... or a poor design!
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class CMDBObjectSet extends DBObjectSet class CMDBObjectSet extends DBObjectSet
{ {
@@ -513,12 +519,6 @@ class CMDBObjectSet extends DBObjectSet
* TODO: investigate how to get rid of this class that was made to workaround some language limitation... or a poor design! * TODO: investigate how to get rid of this class that was made to workaround some language limitation... or a poor design!
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class CMDBSearchFilter extends DBObjectSearch class CMDBSearchFilter extends DBObjectSearch
{ {

View File

@@ -1,16 +1,26 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* CMDBSource * DB Server abstraction
* database access wrapper
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
require_once('MyHelpers.class.inc.php'); require_once('MyHelpers.class.inc.php');
@@ -26,6 +36,12 @@ class MySQLException extends CoreException
} }
/**
* CMDBSource
* database access wrapper
*
* @package iTopORM
*/
class CMDBSource class CMDBSource
{ {
protected static $m_sDBHost; protected static $m_sDBHost;

View File

@@ -1,17 +1,30 @@
<?php <?php
require_once('coreexception.class.inc.php'); // Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* Config * Configuration read/write
* configuration data (this class cannot not be localized, because it is responsible for loading the dictionaries)
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
require_once('coreexception.class.inc.php');
class ConfigException extends CoreException class ConfigException extends CoreException
{ {
} }
@@ -27,6 +40,12 @@ define ('DEFAULT_STANDARD_RELOAD_INTERVAL', 5*60);
define ('DEFAULT_FAST_RELOAD_INTERVAL', 1*60); define ('DEFAULT_FAST_RELOAD_INTERVAL', 1*60);
define ('DEFAULT_SECURE_CONNECTION_REQUIRED', false); define ('DEFAULT_SECURE_CONNECTION_REQUIRED', false);
/**
* Config
* configuration data (this class cannot not be localized, because it is responsible for loading the dictionaries)
*
* @package iTopORM
*/
class Config class Config
{ {
//protected $m_bIsLoaded = false; //protected $m_bIsLoaded = false;

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Exception management
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
class SecurityException extends CoreException class SecurityException extends CoreException

View File

@@ -1,23 +1,33 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* CSVParser * CSV parser
* CSV interpreter helper
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class CSVParserException extends CoreException class CSVParserException extends CoreException
{ {
} }
define('stSTARTING', 1); //grey zone: the type is undetermined define('stSTARTING', 1); //grey zone: the type is undetermined
define('stRAW', 2); //building a non-qualified string define('stRAW', 2); //building a non-qualified string
define('stQUALIFIED', 3); //building qualified string define('stQUALIFIED', 3); //building qualified string
@@ -33,11 +43,6 @@ define('evOTHERCHAR', 4);
* CSVParser * CSVParser
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class CSVParser class CSVParser
{ {

View File

@@ -1,16 +1,27 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* data generator * data generator
* helps the consultants in creating dummy data sets, for various test purposes (validation, usability, scalability) * helps the consultants in creating dummy data sets, for various test purposes (validation, usability, scalability)
* *
* @package tbd * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
/** /**

View File

@@ -1,30 +1,34 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* ??? * Class dbObject: the root of persistent classes
* the class a persistent object must be derived from
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
require_once('metamodel.class.php'); require_once('metamodel.class.php');
/** /**
* A persistent object, as defined by the metamodel * A persistent object, as defined by the metamodel
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class DBObject abstract class DBObject
{ {

View File

@@ -1,30 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* Define filters for a given class of objects (formerly named "filter") * Define filters for a given class of objects (formerly named "filter")
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
/**
* Define filters for a given class of objects (formerly named "filter")
*
* @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @mytagrom youpi
* @since 1.0
* @version 1.1.1.1 $
*/
class DBObjectSearch class DBObjectSearch
{ {
private $m_aClasses; // queried classes (alias => class name), the first item is the class corresponding to this filter (the rest is coming from subfilters) private $m_aClasses; // queried classes (alias => class name), the first item is the class corresponding to this filter (the rest is coming from subfilters)

View File

@@ -1,17 +1,34 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Object set management
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* A set of persistent objects, could be heterogeneous * A set of persistent objects, could be heterogeneous
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class DBObjectSet class DBObjectSet
{ {
private $m_oFilter; private $m_oFilter;

View File

@@ -1,17 +1,28 @@
<?php <?php
/** // Copyright (C) 2010 Combodo SARL
* Dict //
* Handles Localizable data // This program is free software; you can redistribute it and/or modify
* // it under the terms of the GNU General Public License as published by
* @package iTopORM // the Free Software Foundation; version 3 of the License.
* @author Romain Quetiez <romainquetiez@yahoo.fr> //
* @author Denis Flaven <denisflave@free.fr> // This program is distributed in the hope that it will be useful,
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL // but WITHOUT ANY WARRANTY; without even the implied warranty of
* @link www.itop.com // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* @since 1.0 // GNU General Public License for more details.
* @version 1.1.1.1 $ //
*/ // You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Class Dict
* Management of localizable strings
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
class DictException extends CoreException class DictException extends CoreException
{ {

View File

@@ -1,17 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* Send an mail (for notification, testing,... purposes) * Send an mail (for notification, testing,... purposes)
* #@# TODO - replace by a more sophisticated mean (and update the prototype) * #@# TODO - replace by a more sophisticated mean (and update the prototype)
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class EMail class EMail
{ {
protected $m_sBody; protected $m_sBody;

View File

@@ -1,16 +1,30 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* An application internal event * Persistent class Event and derived
* Application internal events
* There is also a file log
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class Event extends cmdbAbstractObject class Event extends cmdbAbstractObject
{ {
public static function Init() public static function Init()

View File

@@ -1,15 +1,26 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* General definition of an expression tree (could be OQL, SQL or whatever) * General definition of an expression tree (could be OQL, SQL or whatever)
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class MissingQueryArgument extends CoreException class MissingQueryArgument extends CoreException

View File

@@ -1,4 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Definition of a filter
* Most of the time, a filter corresponds to an attribute, but we could imagine other search criteria
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('MyHelpers.class.inc.php'); require_once('MyHelpers.class.inc.php');
@@ -8,12 +33,6 @@ require_once('MyHelpers.class.inc.php');
* Definition of a filter (could be made out of an existing attribute, or from an expression) * Definition of a filter (could be made out of an existing attribute, or from an expression)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
abstract class FilterDefinition abstract class FilterDefinition
{ {
@@ -96,11 +115,6 @@ abstract class FilterDefinition
* Match against the object unique identifier * Match against the object unique identifier
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class FilterPrivateKey extends FilterDefinition class FilterPrivateKey extends FilterDefinition
{ {
@@ -148,11 +162,6 @@ class FilterPrivateKey extends FilterDefinition
* Match against an existing attribute (the attribute type will determine the available operators) * Match against an existing attribute (the attribute type will determine the available operators)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class FilterFromAttribute extends FilterDefinition class FilterFromAttribute extends FilterDefinition
{ {

View File

@@ -1,15 +1,26 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* Log * File logging
* logging to files
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class FileLog class FileLog

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Metamodel
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
// #@# todo: change into class const (see Doctrine) // #@# todo: change into class const (see Doctrine)
@@ -62,12 +86,6 @@ define('OPT_ATT_MUSTPROMPT', 16);
* (API) The objects definitions as well as their mapping to the database * (API) The objects definitions as well as their mapping to the database
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
abstract class MetaModel abstract class MetaModel
{ {

View File

@@ -1,5 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* OQL syntax analyzer, to be used prior to run the lexical analyzer
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
// Notes (from the source file: oql-lexer.plex) - Romain // Notes (from the source file: oql-lexer.plex) - Romain
// //
// The strval rule is a little bit cryptic. // The strval rule is a little bit cryptic.

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Special handling for OQL syntax errors
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
class OQLException extends CoreException class OQLException extends CoreException
{ {

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Wrapper to execute the parser, lexical analyzer and normalization of an OQL query
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
class OqlNormalizeException extends OQLException class OqlNormalizeException extends OQLException
{ {

View File

@@ -1,4 +1,27 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Classes defined for lexical analyze (see oql-parser.y)
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
// Position a string within an OQL query // Position a string within an OQL query
// This is a must if we want to be able to pinpoint an error at any stage of the query interpretation // This is a must if we want to be able to pinpoint an error at any stage of the query interpretation

View File

@@ -1,15 +1,35 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* ormDocument * ormDocument
* encapsulate the behavior of a binary data set that will be stored an attribute of class AttributeBlob * encapsulate the behavior of a binary data set that will be stored an attribute of class AttributeBlob
* *
* @package tbd * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com */
* @since 1.0
/**
* ormDocument
* encapsulate the behavior of a binary data set that will be stored an attribute of class AttributeBlob
*
* @package itopORM
*/ */
class ormDocument class ormDocument

View File

@@ -1,16 +1,35 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* SQLQuery
* build an mySQL compatible SQL query
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* SQLQuery * SQLQuery
* build an mySQL compatible SQL query * build an mySQL compatible SQL query
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
require_once('cmdbsource.class.inc.php'); require_once('cmdbsource.class.inc.php');

View File

@@ -1,15 +1,33 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Object lifecycle management: stimulus
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* A stimulus is the trigger that makes the lifecycle go ahead (state machine) * A stimulus is the trigger that makes the lifecycle go ahead (state machine)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
// #@# Really dirty !!! // #@# Really dirty !!!

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Core automated tests - basics
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('coreexception.class.inc.php'); require_once('coreexception.class.inc.php');
require_once('attributedef.class.inc.php'); require_once('attributedef.class.inc.php');
@@ -30,12 +54,6 @@ class UnitTestException extends Exception
* Improved display of the backtrace * Improved display of the backtrace
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class ExceptionFromError extends Exception class ExceptionFromError extends Exception
{ {
@@ -52,12 +70,6 @@ class ExceptionFromError extends Exception
* Test handler API and basic helpers * Test handler API and basic helpers
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
abstract class TestHandler abstract class TestHandler
{ {
@@ -177,11 +189,6 @@ abstract class TestHandler
* Test to execute a piece of code (checks if an error occurs) * Test to execute a piece of code (checks if an error occurs)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class TestFunction extends TestHandler abstract class TestFunction extends TestHandler
{ {
@@ -193,11 +200,6 @@ abstract class TestFunction extends TestHandler
* Test to execute a piece of code (checks if an error occurs) * Test to execute a piece of code (checks if an error occurs)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class TestWebServices extends TestHandler abstract class TestWebServices extends TestHandler
{ {
@@ -255,11 +257,6 @@ abstract class TestWebServices extends TestHandler
* Test to execute a piece of code (checks if an error occurs) * Test to execute a piece of code (checks if an error occurs)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class TestSoapWebService extends TestHandler abstract class TestSoapWebService extends TestHandler
{ {
@@ -275,11 +272,6 @@ abstract class TestSoapWebService extends TestHandler
* Test to check that a function outputs some values depending on its input * Test to check that a function outputs some values depending on its input
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class TestFunctionInOut extends TestFunction abstract class TestFunctionInOut extends TestFunction
{ {
@@ -318,11 +310,6 @@ abstract class TestFunctionInOut extends TestFunction
* Test to check an URL (Searches for Error/Warning/Etc keywords) * Test to check an URL (Searches for Error/Warning/Etc keywords)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class TestUrl extends TestHandler abstract class TestUrl extends TestHandler
{ {
@@ -341,11 +328,6 @@ abstract class TestUrl extends TestHandler
* Test to check a user management module * Test to check a user management module
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class TestUserRights extends TestHandler abstract class TestUserRights extends TestHandler
{ {
@@ -360,11 +342,6 @@ abstract class TestUserRights extends TestHandler
* Test to execute a scenario on a given DB * Test to execute a scenario on a given DB
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class TestScenarioOnDB extends TestHandler abstract class TestScenarioOnDB extends TestHandler
{ {
@@ -399,11 +376,6 @@ abstract class TestScenarioOnDB extends TestHandler
* Test to use a business model on a given DB * Test to use a business model on a given DB
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class TestBizModel extends TestHandler abstract class TestBizModel extends TestHandler
{ {
@@ -507,11 +479,6 @@ abstract class TestBizModel extends TestHandler
* Test to execute a scenario common to any business model (tries to build all the possible queries, etc.) * Test to execute a scenario common to any business model (tries to build all the possible queries, etc.)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class TestBizModelGeneric extends TestBizModel abstract class TestBizModelGeneric extends TestBizModel
{ {

View File

@@ -1,16 +1,35 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Persistent class Trigger and derived
* User defined triggers, that may be used in conjunction with user defined actions
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* A user defined trigger, to customize the application * A user defined trigger, to customize the application
* A trigger will activate an action * A trigger will activate an action
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class Trigger extends cmdbAbstractObject class Trigger extends cmdbAbstractObject
{ {

View File

@@ -1,18 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* UserRights * User rights management API
* User management API
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
class UserRightException extends CoreException class UserRightException extends CoreException
{ {
} }
@@ -36,11 +47,6 @@ define('UR_ACTION_APPLICATION_DEFINED', 10000); // Application specific actions
* User management module API * User management module API
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
abstract class UserRightsAddOnAPI abstract class UserRightsAddOnAPI
{ {
@@ -66,11 +72,6 @@ abstract class UserRightsAddOnAPI
* User management core API * User management core API
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class UserRights class UserRights
{ {

View File

@@ -1,20 +1,36 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Value set definitions (from a fixed list or from a query, etc.)
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('MyHelpers.class.inc.php');
/** /**
* ValueSetDefinition * ValueSetDefinition
* value sets API and implementations * value sets API and implementations
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @author Denis Flaven <denisflave@free.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
require_once('MyHelpers.class.inc.php');
abstract class ValueSetDefinition abstract class ValueSetDefinition
{ {
protected $m_bIsLoaded = false; protected $m_bIsLoaded = false;
@@ -70,11 +86,6 @@ abstract class ValueSetDefinition
* Set of existing values for an attribute, given a search filter * Set of existing values for an attribute, given a search filter
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class ValueSetObjects extends ValueSetDefinition class ValueSetObjects extends ValueSetDefinition
{ {
@@ -122,11 +133,6 @@ class ValueSetObjects extends ValueSetDefinition
* Set of existing values for a link set attribute, given a relation code * Set of existing values for a link set attribute, given a relation code
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class ValueSetRelatedObjectsFromLinkSet extends ValueSetDefinition class ValueSetRelatedObjectsFromLinkSet extends ValueSetDefinition
{ {
@@ -201,11 +207,6 @@ class ValueSetRelatedObjectsFromLinkSet extends ValueSetDefinition
* Fixed set values (could be hardcoded in the business model) * Fixed set values (could be hardcoded in the business model)
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class ValueSetEnum extends ValueSetDefinition class ValueSetEnum extends ValueSetDefinition
{ {
@@ -242,11 +243,6 @@ class ValueSetEnum extends ValueSetDefinition
* Data model classes * Data model classes
* *
* @package iTopORM * @package iTopORM
* @author Romain Quetiez <romainquetiez@yahoo.fr>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.itop.com
* @since 1.0
* @version $itopversion$
*/ */
class ValueSetEnumClasses extends ValueSetEnum class ValueSetEnumClasses extends ValueSetEnum
{ {

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Localized data
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Classes in 'core/cmdb' // Classes in 'core/cmdb'

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Localized data
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
// Dictionnay conventions // Dictionnay conventions
// Class:<class_name> // Class:<class_name>

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Localized data
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Classes in 'gui' // Classes in 'gui'

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Localized data
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Classes in 'gui' // Classes in 'gui'

View File

@@ -1,13 +1,30 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
// //
// ITop consultant home page // This program is free software; you can redistribute it and/or modify
// tool box // it under the terms of the GNU General Public License as published by
// object model analysis // the Free Software Foundation; version 3 of the License.
// DB integrity check and repair
// //
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* ITop consultant home page
* tool box
* object model analysis
* DB integrity check and repair
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
function sexyclass($sClass, $sBaseArgs) function sexyclass($sClass, $sBaseArgs)
{ {

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Main page of iTop
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* Perform all the needed checks to delete one (or more) objects * Perform all the needed checks to delete one (or more) objects
*/ */

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Analytical search
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/itopwebpage.class.inc.php'); require_once('../application/itopwebpage.class.inc.php');
require_once('../application/applicationcontext.class.inc.php'); require_once('../application/applicationcontext.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Specific to the interactive csv import
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/webpage.class.inc.php'); require_once('../application/webpage.class.inc.php');
require_once('../application/ajaxwebpage.class.inc.php'); require_once('../application/ajaxwebpage.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Handles various ajax requests
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/webpage.class.inc.php'); require_once('../application/webpage.class.inc.php');
require_once('../application/ajaxwebpage.class.inc.php'); require_once('../application/ajaxwebpage.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Execute and shows the data quality audit
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/itopwebpage.class.inc.php'); require_once('../application/itopwebpage.class.inc.php');

View File

@@ -1,14 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* CSV Import Page * CSV Import Page
* Wizard to import CSV (or TSV) data into the database * Wizard to import CSV (or TSV) data into the database
* *
* @package iTopAppplication * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-3.0.html LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link http://www.combodo.com/itop iTop
*/ */
ini_set('memory_limit', '256M'); ini_set('memory_limit', '256M');
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/itopwebpage.class.inc.php'); require_once('../application/itopwebpage.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Renders a graph as a png (directly in the HTTP response)
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/itopwebpage.class.inc.php'); require_once('../application/itopwebpage.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* ???
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
$sFullUrl = 'http'.(empty($_SERVER['HTTPS']) ? '' : 's').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/UI.php'; $sFullUrl = 'http'.(empty($_SERVER['HTTPS']) ? '' : 's').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/UI.php';
$sICOFullUrl = 'http'.(empty($_SERVER['HTTPS']) ? '' : 's').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/../images/iTop-icon.ico'; $sICOFullUrl = 'http'.(empty($_SERVER['HTTPS']) ? '' : 's').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/../images/iTop-icon.ico';
$sPNGFullUrl = 'http'.(empty($_SERVER['HTTPS']) ? '' : 's').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/../images/iTop-icon.png'; $sPNGFullUrl = 'http'.(empty($_SERVER['HTTPS']) ? '' : 's').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/../images/iTop-icon.png';

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Tools to design OQL queries and test them
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/itopwebpage.class.inc.php'); require_once('../application/itopwebpage.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Presentation of the data model
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/itopwebpage.class.inc.php'); require_once('../application/itopwebpage.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Core test page
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Core test list
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
class TestSQLQuery extends TestScenarioOnDB class TestSQLQuery extends TestScenarioOnDB
{ {

View File

@@ -1,4 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Specific to the addon 'user management by profile'
* Was developed for testing purposes only
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/itopwebpage.class.inc.php'); require_once('../application/itopwebpage.class.inc.php');

View File

@@ -1,4 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Specific to the addon 'user management by profile'
* Was developed for testing purposes only
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/itopwebpage.class.inc.php'); require_once('../application/itopwebpage.class.inc.php');

View File

@@ -1,4 +1,29 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Specific to the addon 'user management by profile'
* Was developed for testing purposes only
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/itopwebpage.class.inc.php'); require_once('../application/itopwebpage.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Does load data from XML files (currently used in the setup only)
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* This page is called to load "asynchronously" some xml file into the database * This page is called to load "asynchronously" some xml file into the database
* parameters * parameters

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Emailing: helper for the admins to troubleshoot email issues
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
/** /**
* Wizard to configure and initialize the iTop application * Wizard to configure and initialize the iTop application
*/ */

View File

@@ -1,7 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* Wizard to configure and initialize the iTop application * Wizard to configure and initialize the iTop application
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/ */
require_once('../application/utils.inc.php'); require_once('../application/utils.inc.php');
require_once('../core/config.class.inc.php'); require_once('../core/config.class.inc.php');
require_once('../core/log.class.inc.php'); require_once('../core/log.class.inc.php');

View File

@@ -1,10 +1,31 @@
<?php <?php
require_once("../application/nicewebpage.class.inc.php"); // Copyright (C) 2010 Combodo SARL
define('INSTALL_LOG_FILE', '../setup.log'); //
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* Web page used for displaying the login form * Web page used for displaying the login form
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/ */
require_once("../application/nicewebpage.class.inc.php");
define('INSTALL_LOG_FILE', '../setup.log');
class SetupWebPage extends NiceWebPage class SetupWebPage extends NiceWebPage
{ {
public function __construct($sTitle) public function __construct($sTitle)

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Load XML data from a set of files
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
define ('KEYS_CACHE_FILE', '../keyscache.tmp'); define ('KEYS_CACHE_FILE', '../keyscache.tmp');
/** /**
* Class to load sets of objects from XML files into the database * Class to load sets of objects from XML files into the database

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Export data specified by an OQL
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('../application/application.inc.php'); require_once('../application/application.inc.php');
require_once('../application/nicewebpage.class.inc.php'); require_once('../application/nicewebpage.class.inc.php');
require_once('../application/csvpage.class.inc.php'); require_once('../application/csvpage.class.inc.php');

View File

@@ -1,21 +1,31 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** /**
* Import web service * Import web service
* *
* @package iTopORM * @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romainquetiez@yahoo.fr> * @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denisflave@free.fr> * @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
* @link www.itop.com
* @since 1.0
* @version 1.1.1.1 $
*/ */
// //
// Known limitations // Known limitations
// - output still in html, because the errors are not displayed in xml // - output still in html, because the errors are not displayed in xml
// - only external fields attributes could be used as reconciliation keys for external keys
// - reconciliation is made on the first column // - reconciliation is made on the first column
// - no option to force 'always create' or 'never create' // - no option to force 'always create' or 'never create'
// - text qualifier hardcoded to " // - text qualifier hardcoded to "

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Dynamic generation of the WSDL file for SOAP Web services
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
// This is to make sure that the client will accept it.... // This is to make sure that the client will accept it....
// //
header('Content-Type: application/xml; charset=UTF-8'); header('Content-Type: application/xml; charset=UTF-8');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Shows a usage of the SOAP queries
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
require_once('itopsoaptypes.class.inc.php'); require_once('itopsoaptypes.class.inc.php');

View File

@@ -1,4 +1,28 @@
<?php <?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Declarations required for the WSDL
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
// Note: the attributes must have the same names (case sensitive) as in the WSDL specification // Note: the attributes must have the same names (case sensitive) as in the WSDL specification
// //

Some files were not shown because too many files have changed in this diff Show More