Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
AnnouncementHandler Class Reference
Inheritance diagram for AnnouncementHandler:
PKPAnnouncementHandler PKPAnnouncementHandler ManagerHandler Handler ManagerHandler Handler Handler PKPHandler Handler PKPHandler PKPHandler PKPHandler

Public Member Functions

 _announcementIsValid ($request, $announcementId)
 
 _announcementIsValid ($request, $announcementId)
 
 _announcementTypeIsValid (&$request, $typeId)
 
_getAnnouncements ($request, $rangeInfo=null)
 
_getAnnouncements ($request, $rangeInfo=null)
 
 _getAnnouncementsEnabled ($request)
 
 _getAnnouncementsIntroduction ($request)
 
_getAnnouncementTypes (&$request, $rangeInfo=null)
 
 AnnouncementHandler ()
 
 AnnouncementHandler ()
 
 announcements ($args, &$request)
 
 announcementTypes ($args, &$request)
 
 getContextId (&$request)
 
- Public Member Functions inherited from PKPAnnouncementHandler
 _announcementIsValid (&$request, $announcementId)
 
_getAnnouncements ($request, $rangeInfo=null)
 
_getAnnouncements ($request, $rangeInfo=null)
 
 _getAnnouncementsEnabled ($request)
 
 _getAnnouncementsIntroduction ($request)
 
 announcements ($args, &$request)
 
 announcementTypes ($args, &$request)
 
 createAnnouncement ($args, &$request)
 
 createAnnouncementType ($args, &$request)
 
 deleteAnnouncement ($args, &$request)
 
 deleteAnnouncementType ($args, $request)
 
 editAnnouncement ($args, &$request)
 
 editAnnouncementType ($args, &$request)
 
 getContextId ($request)
 
 index ($args, &$request)
 
 setupTemplate ($request, $subclass=false)
 
 setupTemplate (&$request, $subclass=false)
 
 updateAnnouncement ($args, &$request)
 
 updateAnnouncementType ($args, &$request)
 
 view ($args, &$request)
 
- Public Member Functions inherited from ManagerHandler
 email ($args)
 
 index ()
 
 ManagerHandler ()
 
retrieveRoleAssignmentPreferences ($journalId)
 
 setupTemplate ($subclass=false)
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy (&$authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize (&$request, &$args, $roleAssignments)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
getRangeInfo ($rangeName, $contextData=null)
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 hashPageContext ($contextData=array())
 
 index ()
 
 initialize (&$request, $args=null)
 
 PKPHandler ()
 
 setDispatcher (&$dispatcher)
 
 setId ($id)
 
 validate ($requiredContexts=null, $request=null)
 

Detailed Description

Handle requests for announcement management functions.

Handle requests for public announcement functions.

Definition at line 19 of file announcement/AnnouncementHandler.inc.php.

Member Function Documentation

AnnouncementHandler::_announcementIsValid (   $request,
  $announcementId 
)
AnnouncementHandler::_announcementIsValid (   $request,
  $announcementId 
)

Checks the announcement to see if it belongs to this journal or scheduled journal

Parameters
$requestPKPRequest
$announcementIdint return bool

Definition at line 95 of file manager/AnnouncementHandler.inc.php.

References getContextId(), and DAORegistry\getDAO().

AnnouncementHandler::_announcementTypeIsValid ( $request,
  $typeId 
)

Checks the announcement type to see if it belongs to this journal. All announcement types are set at the journal level.

Parameters
$requestPKPRequest
$typeIdint return bool

Definition at line 116 of file manager/AnnouncementHandler.inc.php.

References getContextId(), and DAORegistry\getDAO().

& AnnouncementHandler::_getAnnouncements (   $request,
  $rangeInfo = null 
)
& AnnouncementHandler::_getAnnouncements (   $request,
  $rangeInfo = null 
)
See Also
PKPAnnouncementHandler::_getAnnouncements
Parameters
$requestPKPRequest
$rangeInfoObject optional

Definition at line 68 of file manager/AnnouncementHandler.inc.php.

References getContextId(), and DAORegistry\getDAO().

AnnouncementHandler::_getAnnouncementsEnabled (   $request)
AnnouncementHandler::_getAnnouncementsIntroduction (   $request)
& AnnouncementHandler::_getAnnouncementTypes ( $request,
  $rangeInfo = null 
)
See Also
PKPAnnouncementHandler::_getAnnouncementTypes
Parameters
$requestPKPRequest
$rangeInfoobject optional

Definition at line 81 of file manager/AnnouncementHandler.inc.php.

References getContextId(), and DAORegistry\getDAO().

AnnouncementHandler::AnnouncementHandler ( )

Constructor

Definition at line 22 of file manager/AnnouncementHandler.inc.php.

AnnouncementHandler::AnnouncementHandler ( )

Constructor

Definition at line 23 of file announcement/AnnouncementHandler.inc.php.

References PKPHandler\addCheck().

AnnouncementHandler::announcements (   $args,
$request 
)

Display a list of announcements for the current journal.

See Also
PKPAnnouncementHandler::announcements
Parameters
$argsarray
$requestPKPRequest

Definition at line 32 of file manager/AnnouncementHandler.inc.php.

AnnouncementHandler::announcementTypes (   $args,
$request 
)

Display a list of announcement types for the current journal.

See Also
PKPAnnouncementHandler::announcementTypes
Parameters
$argsarray
$requestPKPRequest

Definition at line 44 of file manager/AnnouncementHandler.inc.php.

AnnouncementHandler::getContextId ( $request)

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