JDSparkle  v.2014-02-11
Sparkle Updater Plugin for CakePHP
JDSparkleReportsController Class Reference

This class implements all actions for JDSparkleReports. More...

Inheritance diagram for JDSparkleReportsController:

Public Member Functions

 details ()
 Returns a brief report about the app specified. More...
 
 overview ()
 Returns a brief report about all apps in the database. More...
 
 randomdata ()
 Generate some random data to populate the database with. More...
 
 releasenotes ()
 Returns the release notes as requested. More...
 
 updatecheck ()
 Returns the AppCast feed after logging the GET data into the database. More...
 

Data Fields

 $layout = 'default'
 Specify the layout to use for views. More...
 
 $layoutReleaseNotes = 'blank'
 Specify a different layout to use for release notes. More...
 

Detailed Description

This class implements all actions for JDSparkleReports.

Member Function Documentation

releasenotes ( )

Returns the release notes as requested.

View files are located in the plugin View folder: app/Plugin/JDSparkle/View/AppReleaseNotes/

updatecheck ( )

Returns the AppCast feed after logging the GET data into the database.

View files are located in the plugin View folder: app/Plugin/JDSparkle/View/AppCasts/ These view files will be returned as XML to the browser.

overview ( )

Returns a brief report about all apps in the database.

Shows data for a all apps in the database with optional support for secretpassword. Depending on routes.php, the access format should be something similar to http://example.com/softwareupdates/overview/secretpassword

details ( )

Returns a brief report about the app specified.

Shows data for a single app with optional support for secretpassword. Depending on routes.php, the access format should be something similar to http://example.com/softwareupdates/appdetails/myapp.app/secretpassword

Exceptions
NotFoundException
ForbiddenException
randomdata ( )

Generate some random data to populate the database with.

Used for development; maybe you'll want to use it for testing.

Exceptions
ForbiddenException

Field Documentation

$layout = 'default'

Specify the layout to use for views.

$layoutReleaseNotes = 'blank'

Specify a different layout to use for release notes.


The documentation for this class was generated from the following file: