You can use it in the following way:
<?php
uses('file');
class TestController extends AppController
{
var $uses = null;
function index()
{
$f = new File(TMP.'test.txt', true);
$f->append('hello');
exit;
}
}
?>
HTH
--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---