Author: jablko
Date: Tue Oct 26 16:27:36 2010
New Revision: 8520
Log:
Typo
Modified:
trunk/apps/qubit/modules/informationobject/actions/treeViewComponent.class.php
trunk/apps/qubit/modules/term/actions/treeViewComponent.class.php
Modified:
trunk/apps/qubit/modules/informationobject/actions/treeViewComponent.class.php
==============================================================================
---
trunk/apps/qubit/modules/informationobject/actions/treeViewComponent.class.php
Tue Oct 26 16:21:11 2010 (r8519)
+++
trunk/apps/qubit/modules/informationobject/actions/treeViewComponent.class.php
Tue Oct 26 16:27:36 2010 (r8520)
@@ -21,10 +21,10 @@
{
public function execute($request)
{
- $resource = $request->getAttribute('sf_route')->resource;
+ $this->resource = $request->getAttribute('sf_route')->resource;
// Get tree (limit 10 siblings and children)
- $this->treeViewObjects = $resource->getFullYuiTree(10);
+ $this->treeViewObjects = $this->resource->getFullYuiTree(10);
// Check if tree view worth it
if (1 > count($this->treeViewObjects))
@@ -33,7 +33,7 @@
}
$this->treeViewExpands = array();
- foreach ($resource->ancestors->andSelf()->orderBy('lft') as $item)
+ foreach ($this->resource->ancestors->andSelf()->orderBy('lft') as $item)
{
$this->treeViewExpands[$item->id] = $item->id;
}
Modified: trunk/apps/qubit/modules/term/actions/treeViewComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/term/actions/treeViewComponent.class.php Tue Oct
26 16:21:11 2010 (r8519)
+++ trunk/apps/qubit/modules/term/actions/treeViewComponent.class.php Tue Oct
26 16:27:36 2010 (r8520)
@@ -21,7 +21,7 @@
{
public function execute($request)
{
- $resource = $request->getAttribute('sf_route')->resource;
+ $this->resource = $request->getAttribute('sf_route')->resource;
// Get tree (limit 10 siblings and children)
$this->treeViewObjects = $this->resource->getFullYuiTree(10);
--
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.com/group/qubit-commits?hl=en.