Changeset 455

Show
Ignore:
Timestamp:
05/05/08 15:56:47 (8 months ago)
Author:
aarkerio
Message:

Add pdf support

Location:
trunk/app
Files:
120 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/controllers/vclassrooms_controller.php

    r454 r455  
    1414class VclassroomsController extends AppController 
    1515 
    16  public $helpers       = array('Ajax', 'Fck', 'Gags', 'Session'); 
     16 public $helpers       = array('Ajax', 'Fck', 'Gags', 'Session', 'Fpdf'); 
    1717  
    1818 public $components    = array('Edublog'); 
     
    145145 { 
    146146   //$this->set('data', $this->Vclassroom->pdfReport($conditions, $fields)); 
     147   $this->layout = 'pdf'; 
     148   $this->set('data','hello world!'); 
    147149 } 
    148150 
  • trunk/app/views/helpers/gags.php

    r301 r455  
    5757  } 
    5858  
    59 } 
     59}  
     60?>