Author: dbellettini
Date: 2010-02-26 18:25:46 +0100 (Fri, 26 Feb 2010)
New Revision: 28313
Added:
plugins/dvbNewsletterPlugin/trunk/config/routing.yml
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/actions/
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/actions/actions.class.php
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/config/
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/config/generator.yml
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorConfiguration.class.php
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorHelper.class.php
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/templates/
Removed:
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterSubscriberForm.class.php
Modified:
plugins/dvbNewsletterPlugin/trunk/config/doctrine/schema.yml
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterListForm.class.php
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterListSubscriberForm.class.php
Log:
List Admin Stub
Modified: plugins/dvbNewsletterPlugin/trunk/config/doctrine/schema.yml
===================================================================
--- plugins/dvbNewsletterPlugin/trunk/config/doctrine/schema.yml
2010-02-26 16:13:57 UTC (rev 28312)
+++ plugins/dvbNewsletterPlugin/trunk/config/doctrine/schema.yml
2010-02-26 17:25:46 UTC (rev 28313)
@@ -59,6 +59,10 @@
Timestampable: ~
dvbNewsletterListSubscriber:
+ options:
+ symfony:
+ form: false
+ filter: false
columns:
dvb_newsletter_list_id:
type: integer(4)
Added: plugins/dvbNewsletterPlugin/trunk/config/routing.yml
===================================================================
--- plugins/dvbNewsletterPlugin/trunk/config/routing.yml
(rev 0)
+++ plugins/dvbNewsletterPlugin/trunk/config/routing.yml 2010-02-26
17:25:46 UTC (rev 28313)
@@ -0,0 +1,8 @@
+dvb_newsletter_list:
+ class: sfDoctrineRouteCollection
+ options:
+ model: dvbNewsletterList
+ module: dvbNewsletterAdminList
+ prefix_path: /newsletter/lists
+ column: id
+ with_wildcard_routes: true
\ No newline at end of file
Property changes on: plugins/dvbNewsletterPlugin/trunk/config/routing.yml
___________________________________________________________________
Added: svn:keywords
+ Id
Modified:
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterListForm.class.php
===================================================================
---
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterListForm.class.php
2010-02-26 16:13:57 UTC (rev 28312)
+++
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterListForm.class.php
2010-02-26 17:25:46 UTC (rev 28313)
@@ -1,19 +1,19 @@
<?php
/*
* The MIT License
- *
+ *
* Copyright (c) 2010 Davide Bellettini <[email protected]>
- *
+ *
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
- *
+ *
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -33,4 +33,11 @@
*/
abstract class PlugindvbNewsletterListForm extends BasedvbNewsletterListForm
{
+ public function setupInheritance()
+ {
+ parent::setupInheritance();
+
+ $this->offsetUnset('created_at');
+ $this->offsetUnset('updated_at');
+ }
}
Modified:
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterListSubscriberForm.class.php
===================================================================
---
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterListSubscriberForm.class.php
2010-02-26 16:13:57 UTC (rev 28312)
+++
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterListSubscriberForm.class.php
2010-02-26 17:25:46 UTC (rev 28313)
@@ -33,4 +33,11 @@
*/
abstract class PlugindvbNewsletterListSubscriberForm extends
BasedvbNewsletterListSubscriberForm
{
+ public function setupInheritance()
+ {
+ parent::setupInheritance();
+
+ $this->offsetUnset('created_at');
+ $this->offsetUnset('updated_at');
+ }
}
Deleted:
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterSubscriberForm.class.php
===================================================================
---
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterSubscriberForm.class.php
2010-02-26 16:13:57 UTC (rev 28312)
+++
plugins/dvbNewsletterPlugin/trunk/lib/form/doctrine/PlugindvbNewsletterSubscriberForm.class.php
2010-02-26 17:25:46 UTC (rev 28313)
@@ -1,36 +0,0 @@
-<?php
-/*
- * The MIT License
- *
- * Copyright (c) 2010 Davide Bellettini <[email protected]>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-/**
- * PlugindvbNewsletterSubscriber form.
- *
- * @package ##PROJECT_NAME##
- * @subpackage form
- * @author ##AUTHOR_NAME##
- * @version SVN: $Id$
- */
-abstract class PlugindvbNewsletterSubscriberForm extends
BasedvbNewsletterSubscriberForm
-{
-}
Added:
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/actions/actions.class.php
===================================================================
---
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/actions/actions.class.php
(rev 0)
+++
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/actions/actions.class.php
2010-02-26 17:25:46 UTC (rev 28313)
@@ -0,0 +1,39 @@
+<?php
+/*
+ * The MIT License
+ *
+ * Copyright (c) 2010 Davide Bellettini <[email protected]>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+require_once
dirname(__FILE__).'/../lib/dvbNewsletterAdminListGeneratorConfiguration.class.php';
+require_once
dirname(__FILE__).'/../lib/dvbNewsletterAdminListGeneratorHelper.class.php';
+
+/**
+ * dvbNewsletterAdminList actions.
+ *
+ * @package vitauniversitaria
+ * @subpackage dvbNewsletterAdminList
+ * @author Davide Bellettini <[email protected]>
+ * @version SVN: $Id$
+ */
+class dvbNewsletterAdminListActions extends autoDvbNewsletterAdminListActions
+{
+}
Property changes on:
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/actions/actions.class.php
___________________________________________________________________
Added: svn:keywords
+ Id
Added:
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/config/generator.yml
===================================================================
---
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/config/generator.yml
(rev 0)
+++
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/config/generator.yml
2010-02-26 17:25:46 UTC (rev 28313)
@@ -0,0 +1,25 @@
+generator:
+ class: sfDoctrineGenerator
+ param:
+ model_class: dvbNewsletterList
+ theme: admin
+ non_verbose_templates: true
+ with_show: false
+ singular: list
+ plural: lists
+ route_prefix: dvb_newsletter_list
+ with_doctrine_route: true
+ actions_base_class: sfActions
+
+ config:
+ actions: ~
+ fields: ~
+ list:
+ title: 'Newsletter Lists'
+ display: [=name,created_at,updated_at]
+ filter: ~
+ form:
+ display: [name]
+ edit: ~
+ new:
+ title: 'New List'
Property changes on:
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/config/generator.yml
___________________________________________________________________
Added: svn:keywords
+ Id
Added:
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorConfiguration.class.php
===================================================================
---
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorConfiguration.class.php
(rev 0)
+++
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorConfiguration.class.php
2010-02-26 17:25:46 UTC (rev 28313)
@@ -0,0 +1,36 @@
+<?php
+/*
+ * The MIT License
+ *
+ * Copyright (c) 2010 Davide Bellettini <[email protected]>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+/**
+ * dvbNewsletterAdminList module configuration.
+ *
+ * @package vitauniversitaria
+ * @subpackage dvbNewsletterAdminList
+ * @author Davide Bellettini <[email protected]>
+ * @version SVN: $Id$
+ */
+class dvbNewsletterAdminListGeneratorConfiguration extends
BaseDvbNewsletterAdminListGeneratorConfiguration
+{
+}
Property changes on:
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorConfiguration.class.php
___________________________________________________________________
Added: svn:keywords
+ Id
Added:
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorHelper.class.php
===================================================================
---
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorHelper.class.php
(rev 0)
+++
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorHelper.class.php
2010-02-26 17:25:46 UTC (rev 28313)
@@ -0,0 +1,36 @@
+<?php
+/*
+ * The MIT License
+ *
+ * Copyright (c) 2010 Davide Bellettini <[email protected]>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+/**
+ * dvbNewsletterAdminList module helper.
+ *
+ * @package vitauniversitaria
+ * @subpackage dvbNewsletterAdminList
+ * @author Davide Bellettini <[email protected]>
+ * @version SVN: $Id$
+ */
+class dvbNewsletterAdminListGeneratorHelper extends
BaseDvbNewsletterAdminListGeneratorHelper
+{
+}
Property changes on:
plugins/dvbNewsletterPlugin/trunk/modules/dvbNewsletterAdminList/lib/dvbNewsletterAdminListGeneratorHelper.class.php
___________________________________________________________________
Added: svn:keywords
+ Id
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.