02.06.2013 Views

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}<br />

?><br />

}<br />

/*<br />

* Return the markup for output<br />

*/<br />

return $html;<br />

Modifying the Index File<br />

CHAPTER 4 ■ BUILD AN EVENTS CALENDAR<br />

To see the output of the buildCalendar() method, you’ll need to modify index.php in the public folder to<br />

call the method. Update the file with the code shown in bold:<br />

<br />

Pull up the file in your browser to see the results so far (see Figure 4-4).<br />

145

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!