|
From: <gem...@li...> - 2011-12-19 09:37:04
|
Revision: 371
http://gemstracker.svn.sourceforge.net/gemstracker/?rev=371&view=rev
Author: mennodekker
Date: 2011-12-19 09:36:58 +0000 (Mon, 19 Dec 2011)
Log Message:
-----------
Doc fixes & created Generic snippet
Modified Paths:
--------------
trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php
trunk/library/classes/Gems/Snippets/ModelTabFormSnippetGeneric.php
Modified: trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php
===================================================================
--- trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php 2011-12-19 09:27:19 UTC (rev 370)
+++ trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php 2011-12-19 09:36:58 UTC (rev 371)
@@ -124,7 +124,6 @@
$bridge->addSelect( 'gsu_result_field', 'label', $this->_('Result field'), 'multiOptions', $surveyFields);
$bridge->addSelect( 'gsu_beforeanswering_event', 'label', $this->_('Before answering'), 'multiOptions', $this->loader->getEvents()->listSurveyBeforeAnsweringEvents());
$bridge->addSelect( 'gsu_completed_event', 'label', $this->_('After completion'), 'multiOptions', $this->loader->getEvents()->listSurveyCompletionEvents());
- // TODO: gsu_completed_event
$bridge->addFile( 'new_pdf', 'label', $this->_('Upload new PDF'),
'accept', 'application/pdf',
Modified: trunk/library/classes/Gems/Snippets/ModelTabFormSnippetGeneric.php
===================================================================
--- trunk/library/classes/Gems/Snippets/ModelTabFormSnippetGeneric.php 2011-12-19 09:27:19 UTC (rev 370)
+++ trunk/library/classes/Gems/Snippets/ModelTabFormSnippetGeneric.php 2011-12-19 09:36:58 UTC (rev 371)
@@ -25,8 +25,6 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * Short description of file
- *
* @package Gems
* @subpackage Snippets
* @copyright Copyright (c) 2011 Erasmus MC
@@ -35,16 +33,19 @@
*/
/**
- * Short description for ModelTabFormSnippetGeneric
+ * Displays an edit form using tabs based on the model the model set through the $model snippet parameter.
*
- * Long description for class ModelTabFormSnippetGeneric (if any)...
+ * If you want to use this class "as is" use the 'Generic_ModelTabFormSnippet' snippet.
*
+ * This class is not in the standard snippet loading directories and does not follow
+ * their naming conventions, but exists only to make it simple to extend this class
+ * for a specific implementation.
+ *
* @package Gems
* @subpackage Snippets
* @copyright Copyright (c) 2011 Erasmus MC
* @license New BSD License
- * @since Class available since version 1.0
- * @deprecated Class deprecated since version 2.0
+ * @since Class available since version 1.5
*/
class Gems_Snippets_ModelTabFormSnippetGeneric extends Gems_Snippets_ModelFormSnippetGeneric
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|