Author: david
Date: 2008-11-12 14:43:02 -0800 (Wed, 12 Nov 2008)
New Revision: 1581

Added:
   trunk/qubit/apps/qubit/modules/actor/actions/contextMenuComponent.class.php
Removed:
   trunk/qubit/apps/qubit/modules/actor/actions/components.class.php
Log:
Move actor/actions/components.class.php -> 
actor/actions/contextMenuComponent.class.php to match symfony alternative 
action class syntax used throughout Qubit.

Deleted: trunk/qubit/apps/qubit/modules/actor/actions/components.class.php
===================================================================
--- trunk/qubit/apps/qubit/modules/actor/actions/components.class.php   
2008-11-12 01:17:29 UTC (rev 1580)
+++ trunk/qubit/apps/qubit/modules/actor/actions/components.class.php   
2008-11-12 22:43:02 UTC (rev 1581)
@@ -1,41 +0,0 @@
-<?php
-
-/*
- * This file is part of the Qubit Toolkit.
- * Copyright (C) 2006-2008 Peter Van Garderen <[EMAIL PROTECTED]>
- *
- * 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * 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 Lesser 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., 51
- * Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- */
-
-class actorComponents extends sfComponents
-{
-  public function executeContextMenu()
-  {
-  if ($this->getRequestParameter('id'))
-    {
-    $this->actor = QubitActor::getById($this->getRequestParameter('id'));
-
-    $this->repository = 
QubitRepository::getById($this->getRequestParameter('id'));
-
-    $this->informationObjectRelations = 
$this->actor->getInformationObjectRelations();
-    }
-  else
-    {
-    $this->informationObjectRelations = null;
-    $this->repository = null;
-    }
-  }
-}
-?>

Copied: 
trunk/qubit/apps/qubit/modules/actor/actions/contextMenuComponent.class.php 
(from rev 1580, 
trunk/qubit/apps/qubit/modules/actor/actions/components.class.php)
===================================================================
--- trunk/qubit/apps/qubit/modules/actor/actions/contextMenuComponent.class.php 
                        (rev 0)
+++ trunk/qubit/apps/qubit/modules/actor/actions/contextMenuComponent.class.php 
2008-11-12 22:43:02 UTC (rev 1581)
@@ -0,0 +1,43 @@
+<?php
+
+/*
+ * This file is part of the Qubit Toolkit.
+ * Copyright (C) 2006-2008 Peter Van Garderen <[EMAIL PROTECTED]>
+ *
+ * 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; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * 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 Lesser 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., 51
+ * Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+
+/**
+ * Actor components
+ */
+class ActorContextMenuComponent extends sfComponent
+{
+  public function execute($request)
+  {
+    if ($request->getParameter('id'))
+    {
+      $this->actor = QubitActor::getById($request->getParameter('id'));
+
+      $this->repository = 
QubitRepository::getById($request->getParameter('id'));
+
+      $this->informationObjectRelations = 
$this->actor->getInformationObjectRelations();
+    }
+    else
+    {
+      $this->informationObjectRelations = null;
+      $this->repository = null;
+    }
+  }
+}
\ No newline at end of file


Property changes on: 
trunk/qubit/apps/qubit/modules/actor/actions/contextMenuComponent.class.php
___________________________________________________________________
Added: svn:keywords
   + Author Id Revision
Added: svn:mergeinfo
   + 
Added: svn:eol-style
   + native


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" 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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to