From: <gem...@li...> - 2011-09-22 07:23:51
|
Revision: 59 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=59&view=rev Author: mennodekker Date: 2011-09-22 07:23:44 +0000 (Thu, 22 Sep 2011) Log Message: ----------- DocBlock fixes Modified Paths: -------------- trunk/library/classes/Gems/Event/EventInterface.php trunk/library/classes/Gems/Event/RoundChangedEventInterface.php trunk/library/classes/Gems/Event/SurveyBeforeAnsweringEventInterface.php trunk/library/classes/Gems/Event/SurveyCompletedEventInterface.php trunk/library/classes/Gems/Exception/Coding.php trunk/library/classes/Gems/Exception.php trunk/library/classes/Gems/Validate/LimeSurveySoapClient.php Modified: trunk/library/classes/Gems/Event/EventInterface.php =================================================================== --- trunk/library/classes/Gems/Event/EventInterface.php 2011-09-21 10:11:17 UTC (rev 58) +++ trunk/library/classes/Gems/Event/EventInterface.php 2011-09-22 07:23:44 UTC (rev 59) @@ -1,5 +1,4 @@ <?php - /** * Copyright (c) 2011, Erasmus MC * All rights reserved. @@ -28,7 +27,7 @@ * * * @package Gems - * @subpackage Events + * @subpackage Event * @author Matijs de Jong <mj...@ma...> * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License @@ -40,7 +39,7 @@ * each event should implement this interface. * * @package Gems - * @subpackage Events + * @subpackage Event * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License * @since Class available since version 1.4 Modified: trunk/library/classes/Gems/Event/RoundChangedEventInterface.php =================================================================== --- trunk/library/classes/Gems/Event/RoundChangedEventInterface.php 2011-09-21 10:11:17 UTC (rev 58) +++ trunk/library/classes/Gems/Event/RoundChangedEventInterface.php 2011-09-22 07:23:44 UTC (rev 59) @@ -1,5 +1,4 @@ <?php - /** * Copyright (c) 2011, Erasmus MC * All rights reserved. @@ -28,7 +27,7 @@ * * * @package Gems - * @subpackage Events + * @subpackage Event * @author Matijs de Jong <mj...@ma...> * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License @@ -42,7 +41,7 @@ * but then the code may be more difficult to implement. * * @package Gems - * @subpackage Events + * @subpackage Event * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License * @since Class available since version 1.4 Modified: trunk/library/classes/Gems/Event/SurveyBeforeAnsweringEventInterface.php =================================================================== --- trunk/library/classes/Gems/Event/SurveyBeforeAnsweringEventInterface.php 2011-09-21 10:11:17 UTC (rev 58) +++ trunk/library/classes/Gems/Event/SurveyBeforeAnsweringEventInterface.php 2011-09-22 07:23:44 UTC (rev 59) @@ -1,5 +1,4 @@ <?php - /** * Copyright (c) 2011, Erasmus MC * All rights reserved. @@ -28,7 +27,7 @@ * * * @package Gems - * @subpackage Events + * @subpackage Event * @author Matijs de Jong <mj...@ma...> * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License @@ -41,7 +40,7 @@ * You can return answers that must be set in an array and they will be uploaded to the source. * * @package Gems - * @subpackage Events + * @subpackage Event * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License * @since Class available since version 1.4 Modified: trunk/library/classes/Gems/Event/SurveyCompletedEventInterface.php =================================================================== --- trunk/library/classes/Gems/Event/SurveyCompletedEventInterface.php 2011-09-21 10:11:17 UTC (rev 58) +++ trunk/library/classes/Gems/Event/SurveyCompletedEventInterface.php 2011-09-22 07:23:44 UTC (rev 59) @@ -1,5 +1,4 @@ <?php - /** * Copyright (c) 2011, Erasmus MC * All rights reserved. @@ -28,7 +27,7 @@ * * * @package Gems - * @subpackage Events + * @subpackage Event * @author Matijs de Jong <mj...@ma...> * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License @@ -41,7 +40,7 @@ * Just return those values that have changed and they will be uploaded to the source. * * @package Gems - * @subpackage Events + * @subpackage Event * @copyright Copyright (c) 2011 Erasmus MC * @license New BSD License * @since Class available since version 1.4 Modified: trunk/library/classes/Gems/Exception/Coding.php =================================================================== --- trunk/library/classes/Gems/Exception/Coding.php 2011-09-21 10:11:17 UTC (rev 58) +++ trunk/library/classes/Gems/Exception/Coding.php 2011-09-22 07:23:44 UTC (rev 59) @@ -1,34 +1,48 @@ <?php +/** + * Copyright (c) 2011, Erasmus MC + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Erasmus MC nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * + * Gems Coding exception + * + * @author Matijs de Jong <mj...@ma...> + * @since 1.1 + * @version 1.1 + * @package Gems + * @subpackage Exception + */ - -/** - * Copyright (c) 2011, Erasmus MC - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of Erasmus MC nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -class Gems_Exception_Coding extends Gems_Exception +/** + * Gems Coding exception + * + * @author Matijs de Jong <mj...@ma...> + * @package Gems + * @subpackage Exception + */ +class Gems_Exception_Coding extends Gems_Exception { public function __construct($msg = '', $code = 200, Exception $previous = null) { Modified: trunk/library/classes/Gems/Exception.php =================================================================== --- trunk/library/classes/Gems/Exception.php 2011-09-21 10:11:17 UTC (rev 58) +++ trunk/library/classes/Gems/Exception.php 2011-09-22 07:23:44 UTC (rev 59) @@ -1,36 +1,33 @@ <?php - - -/** - * Copyright (c) 2011, Erasmus MC - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of Erasmus MC nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - /** - * File description of SurveyNotFoundException + * Copyright (c) 2011, Erasmus MC + * All rights reserved. * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Erasmus MC nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * + * Gems Base Exception class + * * @author Matijs de Jong <mj...@ma...> * @since 1.1 * @version 1.1 @@ -39,7 +36,7 @@ */ /** - * Class description of SurveyNotFoundException + * Gems Base Exception class * * @author Matijs de Jong <mj...@ma...> * @package Gems @@ -49,7 +46,7 @@ { /** * Optional extra information on the exception - * + * * @var string */ private $info; @@ -72,7 +69,7 @@ /** * Returns optional extra information in the exception - * + * * @return String */ public function getInfo() @@ -83,7 +80,7 @@ /** * Optional extra information on the exception * - * @param string $info + * @param string $info */ public function setInfo($info) { Modified: trunk/library/classes/Gems/Validate/LimeSurveySoapClient.php =================================================================== --- trunk/library/classes/Gems/Validate/LimeSurveySoapClient.php 2011-09-21 10:11:17 UTC (rev 58) +++ trunk/library/classes/Gems/Validate/LimeSurveySoapClient.php 2011-09-22 07:23:44 UTC (rev 59) @@ -1,33 +1,48 @@ <?php +/** + * Copyright (c) 2011, Erasmus MC + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Erasmus MC nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * @version $Id$ + * @package Gems + * @subpackage Validate + * @copyright Copyright (c) 2011 Erasmus MC + * @license New BSD License + */ - -/** - * Copyright (c) 2011, Erasmus MC - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of Erasmus MC nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - +/** + * Not used anymore, checked if we could use soap connection. As soap is no longer a reliable + * interface in LimeSurvey it is deprecated for now. + * + * @deprecated + * @package Gems + * @subpackage Validate + * @copyright Copyright (c) 2011 Erasmus MC + * @deprecated + * @license New BSD License + */ class LimeSurveySoapClient extends MUtil_Validate_Url { /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |