<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: How to create a  file in cache folder</title>
  <link>http://www.activecollab.com/forums/topic/3097/</link>
  <description>Recent posts on topic: How to create a  file in cache folder</description>
  <dc:language>en-us</dc:language>
  <pubDate>Sun, 23 Nov 2008 10:17:14 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/14424/#post14424</link>
    <guid>http://www.activecollab.com/forums/post/14424/#post14424</guid>
    <title>Post #6 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>It depends what you want to do. In most cases activeCollab does not query database directly. Instead, it uses model classes. For every table there are two classes:<br />
<br />
- object class represent single row in the system. User for example.<br />
- manager class that works with sets of rows. Users for example.<br />
<br />
Here is a short example that illustrates this:<br />
<br />
<pre name="code" class="php">$users = Users::findByCompany($company); // returns array of User instances
foreach($users as $user) {
  print $user-&gt;getDisplayName() . '&lt;br /&gt;';
}</pre><br />
<br />
or:<br />
<br />
<pre name="code" class="php">$user = new User();
$user-&gt;setDisplayName('Ilija Student');
$user-&gt;save(); // Insert

// Whoops, not my name
$user-&gt;setDisplayName('Ilija Studen');
$user-&gt;save(); // Update</pre></p>]]></description>
    <pubDate>Thu, 14 Aug 2008 08:32:37 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14423/#post14423</link>
    <guid>http://www.activecollab.com/forums/post/14423/#post14423</guid>
    <title>Post #5 by sanashaikh</title>
    <dc:creator>sanashaikh</dc:creator>
    <description><![CDATA[<p>i have created a new tab reports but can u plz tell me where are all database realted files. means in which file is select query.<br />
<br />
thanks</p>]]></description>
    <pubDate>Thu, 14 Aug 2008 08:24:32 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14356/#post14356</link>
    <guid>http://www.activecollab.com/forums/post/14356/#post14356</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>You need to handle on_project_tabs event. Check handlers.php and /handlers folders in milestones module for example to see how to do this.</p>]]></description>
    <pubDate>Mon, 11 Aug 2008 06:46:06 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14355/#post14355</link>
    <guid>http://www.activecollab.com/forums/post/14355/#post14355</guid>
    <title>Post #3 by sanashaikh</title>
    <dc:creator>sanashaikh</dc:creator>
    <description><![CDATA[<p>thanks for your reply.<br />
<br />
i have another question.if i want to add another tool say &quot;Reports&quot; after people tab . how can  i do this.<br />
<br />
thanks once again. </p>]]></description>
    <pubDate>Mon, 11 Aug 2008 06:39:30 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14352/#post14352</link>
    <guid>http://www.activecollab.com/forums/post/14352/#post14352</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>How do you create milestones? Using activeCollab model (by creating new Milestone, populating fields and that calling save() method) or by directly inserting data into project_objects table?<br />
<br />
If it's #2 you should avoid it. Use model layer instead because it's the safest way and it does a lot for you (rebuilding caches is one of the things).<br />
<br />
PS: Regarding cache file creation, you don't do that directly, by creating a file. Instead, you call cache_set() to add data to the cache and cache_get() to retrieve it later on.</p>]]></description>
    <pubDate>Sun, 10 Aug 2008 06:08:36 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14332/#post14332</link>
    <guid>http://www.activecollab.com/forums/post/14332/#post14332</guid>
    <title>Post #1 by sanashaikh</title>
    <dc:creator>sanashaikh</dc:creator>
    <description><![CDATA[<p>Hi ,<br />
i am using activecollab.i have created one tab in project management,where user can directly generate milestones,he does not have to go on milestone tab and create new milestone.<br />
<br />
this is working fine,when i see milestone page it shows me all milestones , but when i goto project overview it was not updated.<br />
<br />
its shows previous records,i mean first there was only one milestone but when i generate milestone from my code there are 24 milestone in the database but it was not showing in the projet overview page.i think it some cache relatd problem .<br />
<br />
what i have to do so that when a user views this page he can see count of all milestone.<br />
<br />
previously when there is only 1 milestone<br />
<br />
&quot;1 tasks done of 1 in the project (100% done)&quot;<br />
<br />
when there are 24 milestone <br />
<br />
&quot;1 tasks done of 1 in the project (100% done)&quot;<br />
<br />
why it is not updated.<br />
<br />
when i update the one milestone which is already there<br />
<br />
&quot;1 tasks done of 24 in the project (100% done)&quot;<br />
<br />
please reply to me as soon as possible<br />
</p>]]></description>
    <pubDate>Fri, 08 Aug 2008 05:24:55 UTC</pubDate>
  </item>
</channel>
</rss>