|
From: <gem...@li...> - 2012-09-25 15:34:55
|
Revision: 956
http://gemstracker.svn.sourceforge.net/gemstracker/?rev=956&view=rev
Author: matijsdejong
Date: 2012-09-25 15:34:45 +0000 (Tue, 25 Sep 2012)
Log Message:
-----------
snippets/Generic are no longer needed with current loader
Modified Paths:
--------------
trunk/library/classes/Gems/Controller/ModelSnippetActionAbstract.php
trunk/library/classes/Gems/Snippets/ModelFormSnippetGeneric.php
trunk/library/classes/Gems/Snippets/ModelItemYesNoDeleteSnippetGeneric.php
trunk/library/classes/Gems/Snippets/ModelTabFormSnippetGeneric.php
trunk/library/classes/Gems/Snippets/ModelTableSnippetGeneric.php
trunk/library/snippets/Generic/ModelFormSnippet.php
trunk/library/snippets/Generic/ModelItemYesNoDeleteSnippet.php
trunk/library/snippets/Generic/ModelTabFormSnippet.php
trunk/library/snippets/Generic/ModelTableSnippet.php
Modified: trunk/library/classes/Gems/Controller/ModelSnippetActionAbstract.php
===================================================================
--- trunk/library/classes/Gems/Controller/ModelSnippetActionAbstract.php 2012-09-25 14:30:28 UTC (rev 955)
+++ trunk/library/classes/Gems/Controller/ModelSnippetActionAbstract.php 2012-09-25 15:34:45 UTC (rev 956)
@@ -64,21 +64,21 @@
*
* @var mixed String or array of snippets name
*/
- protected $autofilterSnippets = 'Generic_ModelTableSnippet';
+ protected $autofilterSnippets = 'ModelTableSnippetGeneric';
/**
* The snippets used for the create and edit actions.
*
* @var mixed String or array of snippets name
*/
- protected $createEditSnippets = 'Generic_ModelFormSnippet';
+ protected $createEditSnippets = 'ModelFormSnippetGeneric';
/**
* The snippets used for the delete action.
*
* @var mixed String or array of snippets name
*/
- protected $deleteSnippets = 'Generic_ModelItemYesNoDeleteSnippet';
+ protected $deleteSnippets = 'ModelItemYesNoDeleteSnippetGeneric';
/**
*
Modified: trunk/library/classes/Gems/Snippets/ModelFormSnippetGeneric.php
===================================================================
--- trunk/library/classes/Gems/Snippets/ModelFormSnippetGeneric.php 2012-09-25 14:30:28 UTC (rev 955)
+++ trunk/library/classes/Gems/Snippets/ModelFormSnippetGeneric.php 2012-09-25 15:34:45 UTC (rev 956)
@@ -38,8 +38,6 @@
/**
* Displays an edit form based on the model the model set through the $model snippet parameter.
*
- * If you want to use this class "as is" use the 'Generic_ModelFormSnippet' 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.
Modified: trunk/library/classes/Gems/Snippets/ModelItemYesNoDeleteSnippetGeneric.php
===================================================================
--- trunk/library/classes/Gems/Snippets/ModelItemYesNoDeleteSnippetGeneric.php 2012-09-25 14:30:28 UTC (rev 955)
+++ trunk/library/classes/Gems/Snippets/ModelItemYesNoDeleteSnippetGeneric.php 2012-09-25 15:34:45 UTC (rev 956)
@@ -40,8 +40,6 @@
*
* Can be used for other uses than delete by overriding performAction().
*
- * If you want to use this class "as is" use the 'Generic_ModelItemYesNoDeleteSnippet' 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.
Modified: trunk/library/classes/Gems/Snippets/ModelTabFormSnippetGeneric.php
===================================================================
--- trunk/library/classes/Gems/Snippets/ModelTabFormSnippetGeneric.php 2012-09-25 14:30:28 UTC (rev 955)
+++ trunk/library/classes/Gems/Snippets/ModelTabFormSnippetGeneric.php 2012-09-25 15:34:45 UTC (rev 956)
@@ -2,7 +2,7 @@
/**
* 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
@@ -13,7 +13,7 @@
* * 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
@@ -24,7 +24,7 @@
* 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.
- *
+ *
* @package Gems
* @subpackage Snippets
* @copyright Copyright (c) 2011 Erasmus MC
@@ -35,8 +35,6 @@
/**
* Displays an edit form using tabs based on the model the model set through the $model snippet parameter.
*
- * 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.
Modified: trunk/library/classes/Gems/Snippets/ModelTableSnippetGeneric.php
===================================================================
--- trunk/library/classes/Gems/Snippets/ModelTableSnippetGeneric.php 2012-09-25 14:30:28 UTC (rev 955)
+++ trunk/library/classes/Gems/Snippets/ModelTableSnippetGeneric.php 2012-09-25 15:34:45 UTC (rev 956)
@@ -39,8 +39,6 @@
* Displays multiple items from a model in a tabel by row using
* the model set through the $model snippet parameter.
*
- * If you want to use this class "as is" use the 'Generic_ModelTableSnippet' 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.
Modified: trunk/library/snippets/Generic/ModelFormSnippet.php
===================================================================
--- trunk/library/snippets/Generic/ModelFormSnippet.php 2012-09-25 14:30:28 UTC (rev 955)
+++ trunk/library/snippets/Generic/ModelFormSnippet.php 2012-09-25 15:34:45 UTC (rev 956)
@@ -38,8 +38,11 @@
/**
* Displays an edit form based on the model the model set through the $model snippet parameter.
*
- * Usage snippet for Gems_Snippets_ModelTableSnippetGeneric
+ * Usage snippet for Gems_Controller_ModelSnippetActionAbstract
*
+ * @see Gems_Controller_ModelSnippetActionAbstract
+ *
+ * @deprecated No longer needed with new snippet loader
* @package Gems
* @subpackage Snippets\Generic
* @copyright Copyright (c) 2011 Erasmus MC
Modified: trunk/library/snippets/Generic/ModelItemYesNoDeleteSnippet.php
===================================================================
--- trunk/library/snippets/Generic/ModelItemYesNoDeleteSnippet.php 2012-09-25 14:30:28 UTC (rev 955)
+++ trunk/library/snippets/Generic/ModelItemYesNoDeleteSnippet.php 2012-09-25 15:34:45 UTC (rev 956)
@@ -39,6 +39,7 @@
* Displays each fields of a single item in a model in a row in a Html table
* the model set through the $model snippet parameter.
*
+ * @deprecated No longer needed with new snippet loader
* @package Gems
* @subpackage Snippets\Generic
* @copyright Copyright (c) 2011 Erasmus MC
Modified: trunk/library/snippets/Generic/ModelTabFormSnippet.php
===================================================================
--- trunk/library/snippets/Generic/ModelTabFormSnippet.php 2012-09-25 14:30:28 UTC (rev 955)
+++ trunk/library/snippets/Generic/ModelTabFormSnippet.php 2012-09-25 15:34:45 UTC (rev 956)
@@ -38,6 +38,7 @@
*
* Usage snippet for Gems_Snippets_ModelTabFormSnippetGeneric
*
+ * @deprecated No longer needed with new snippet loader
* @package Gems
* @subpackage Snippets\Generic
* @copyright Copyright (c) 2011 Erasmus MC
Modified: trunk/library/snippets/Generic/ModelTableSnippet.php
===================================================================
--- trunk/library/snippets/Generic/ModelTableSnippet.php 2012-09-25 14:30:28 UTC (rev 955)
+++ trunk/library/snippets/Generic/ModelTableSnippet.php 2012-09-25 15:34:45 UTC (rev 956)
@@ -39,8 +39,11 @@
* Displays multiple items from a model in a tabel by row using
* the model set through the $model snippet parameter.
*
- * Usage snippet for Gems_Snippets_ModelTableSnippetGeneric
+ * Usage snippet for Gems_Controller_ModelSnippetActionAbstract
*
+ * @see Gems_Controller_ModelSnippetActionAbstract
+ *
+ * @deprecated No longer needed with new snippet loader
* @package MUtil
* @subpackage Snippets\Generic
* @copyright Copyright (c) 2011 Erasmus MC
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|