Changeset 1102 for plugins/apostropheBlogPlugin/trunk/lib/model/doctrine/PluginaBlogItemTable.class.php
- Timestamp:
- 04/30/10 11:15:17 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostropheBlogPlugin/trunk/lib/model/doctrine/PluginaBlogItemTable.class.php
r1022 r1102 48 48 return Doctrine::getTable('aBlogCategory')->addCategoriesForUser($user, $admin, $q); 49 49 } 50 50 51 51 52 public function addCategories(Doctrine_Query $q=null) 52 53 { … … 58 59 } 59 60 61 /** 62 * Given an array of blogItems this function will populate its virtual page 63 * areas with the current slot versions. 64 * @param aBlogItem $blogItems 65 */ 60 66 public static function populatePages($blogItems) 61 67 { … … 69 75 $q = aPageTable::queryWithSlots(); 70 76 $q->whereIn('id', $pageIds); 71 $q->execute(); 77 $pages = $q->execute(); 78 aTools::cacheVirtualPages($pages); 72 79 } 73 80 }

