|
34 | 34 | }
|
35 | 35 |
|
36 | 36 |
|
37 |
| -// projects |
38 |
| - $pageData['projectsTotal'] = Laddr\Project::getCount(); |
39 |
| - $pageData['projectsTags']['byTech'] = TagItem::getTagsSummary(array( |
40 |
| - 'tagConditions' => array( |
41 |
| - 'Handle LIKE "tech.%"' |
42 |
| - ) |
43 |
| - ,'itemConditions' => array( |
44 |
| - 'ContextClass' => Laddr\Project::getStaticRootClass() |
45 |
| - ) |
46 |
| - ,'limit' => 10 |
47 |
| - )); |
48 |
| - $pageData['projectsTags']['byTopic'] = TagItem::getTagsSummary(array( |
49 |
| - 'tagConditions' => array( |
50 |
| - 'Handle LIKE "topic.%"' |
51 |
| - ) |
52 |
| - ,'itemConditions' => array( |
53 |
| - 'ContextClass' => Laddr\Project::getStaticRootClass() |
54 |
| - ) |
55 |
| - ,'limit' => 10 |
56 |
| - )); |
57 |
| - $pageData['projectsTags']['byEvent'] = TagItem::getTagsSummary(array( |
58 |
| - 'tagConditions' => array( |
59 |
| - 'Handle LIKE "event.%"' |
60 |
| - ) |
61 |
| - ,'itemConditions' => array( |
62 |
| - 'ContextClass' => Laddr\Project::getStaticRootClass() |
63 |
| - ) |
64 |
| - )); |
65 |
| - $pageData['projectsStages'] = Laddr\Project::getStagesSummary(); |
66 |
| - |
67 |
| - |
68 |
| -// members |
69 |
| - $pageData['membersTotal'] = Emergence\People\Person::getCount(); |
70 |
| - $pageData['membersTags']['byTech'] = TagItem::getTagsSummary(array( |
71 |
| - 'tagConditions' => array( |
72 |
| - 'Handle LIKE "tech.%"' |
73 |
| - ) |
74 |
| - ,'itemConditions' => array( |
75 |
| - 'ContextClass' => Emergence\People\Person::getStaticRootClass() |
76 |
| - ) |
77 |
| - ,'limit' => 10 |
78 |
| - )); |
79 |
| - $pageData['membersTags']['byTopic'] = TagItem::getTagsSummary(array( |
80 |
| - 'tagConditions' => array( |
81 |
| - 'Handle LIKE "topic.%"' |
82 |
| - ) |
83 |
| - ,'itemConditions' => array( |
84 |
| - 'ContextClass' => Emergence\People\Person::getStaticRootClass() |
85 |
| - ) |
86 |
| - ,'limit' => 10 |
87 |
| - )); |
88 |
| - |
89 |
| - |
90 | 37 | // build activity stream
|
91 | 38 | if (!$pageData['activity'] = Cache::fetch('home-activity')) {
|
92 | 39 | $existingTables = \DB::allValues('table_name', 'SELECT table_name FROM information_schema.TABLES WHERE TABLE_SCHEMA = SCHEMA()');
|
|
0 commit comments