Class ScriptController

Description

Controller class for automated script logic and all other actions/methods that are needed to make this portal function.

  • author: Margus Sellin <margus@bitweb.ee>
  • copyright: Copyright (C) 2011. All rights reserved. Margus Sellin

Located in /ScriptController.php (line 12)

Zend_Controller_Action
   |
   --ScriptController
Method Summary
void addFileAction ()
void addTableAction ()
void checkLahtineExistance ( $dateID,  $personID,  $schoolID,  $classID)
void checkLoppExistance ( $dateID,  $personID,  $schoolID,  $classID)
void checkPiirkondExistance ( $dateID,  $personID,  $schoolID,  $classID)
void checkValikExistance ( $dateID,  $personID,  $schoolID,  $classID)
void classByID ( $classID)
void editPageAction ()
void fetchAreaID ( $data)
void fetchClassID ( $url)
void fetchClassID2 ( $data)
void fetchDateID ( $date)
void fetchDateID2 ( $date)
void fetchGroupID ( $url)
void fetchPersonID ( $data)
void fetchSchoolID ( $data,  $areaID)
void fetchSchoolID2 ( $data)
void fetchTableRows ( $url)
void homeAction ()
void indexAction ()
void init ()
void menuAction ()
void pagesAction ()
void saveLahtine ( $date,  $url)
void saveLahtineOverall ( $personID,  $dateID,  $pointsID,  $classID,  $groupID,  $schoolID)
void saveLopp ( $date,  $url)
void saveLoppOverall ( $personID,  $dateID,  $pointsID,  $classID,  $schoolID)
void savePiirk ( $date,  $url)
void savePiirkondOverall ( $personID,  $dateID,  $pointsID,  $classID,  $schoolID)
void saveValik ( $date,  $url)
void saveValikOverall ( $personID,  $dateID,  $pointsID,  $classID,  $schoolID)
Methods
addFileAction (line 98)
  • access: public
void addFileAction ()
addResultsAction (line 93)
  • access: public
void addResultsAction ()
addTableAction (line 135)
  • access: public
void addTableAction ()
checkLahtineExistance (line 577)
  • access: private
void checkLahtineExistance ( $dateID,  $personID,  $schoolID,  $classID)
  • $dateID
  • $personID
  • $schoolID
  • $classID
checkLoppExistance (line 560)
  • access: private
void checkLoppExistance ( $dateID,  $personID,  $schoolID,  $classID)
  • $dateID
  • $personID
  • $schoolID
  • $classID
checkPiirkondExistance (line 551)
  • access: private
void checkPiirkondExistance ( $dateID,  $personID,  $schoolID,  $classID)
  • $dateID
  • $personID
  • $schoolID
  • $classID
checkValikExistance (line 569)
  • access: private
void checkValikExistance ( $dateID,  $personID,  $schoolID,  $classID)
  • $dateID
  • $personID
  • $schoolID
  • $classID
classByID (line 545)
  • access: private
void classByID ( $classID)
  • $classID
editPageAction (line 69)
  • access: public
void editPageAction ()
fetchAreaID (line 447)
  • access: private
void fetchAreaID ( $data)
  • $data
fetchClassID (line 406)
  • access: private
void fetchClassID ( $url)
  • $url
fetchClassID2 (line 422)
  • access: private
void fetchClassID2 ( $data)
  • $data
fetchDateID (line 371)
  • access: private
void fetchDateID ( $date)
  • $date
fetchDateID2 (line 385)
  • access: private
void fetchDateID2 ( $date)
  • $date
fetchGroupID (line 399)
  • access: private
void fetchGroupID ( $url)
  • $url
fetchPersonID (line 434)
  • access: private
void fetchPersonID ( $data)
  • $data
fetchSchoolID (line 462)
  • access: private
void fetchSchoolID ( $data,  $areaID)
  • $data
  • $areaID
fetchSchoolID2 (line 477)
  • access: private
void fetchSchoolID2 ( $data)
  • $data
fetchTableRows (line 538)
  • access: private
void fetchTableRows ( $url)
  • $url
homeAction (line 54)
  • access: public
void homeAction ()
indexAction (line 30)
  • access: public
void indexAction ()
init (line 23)

Init method.

Built-in method in Zend Framework that applies to all actions in given controller. In this very controller it restricts common user who are not logged in to access administrative actions and functions of this portal.

If user is not logged in and tries to access actions/methods that are meant for administrators only, he/she is redirected to login page.

  • access: public
void init ()
menuAction (line 58)
  • access: public
void menuAction ()
pagesAction (line 62)
  • access: public
void pagesAction ()
saveLahtine (line 218)
  • access: private
void saveLahtine ( $date,  $url)
  • $date
  • $url
saveLahtineOverall (line 513)
  • access: private
void saveLahtineOverall ( $personID,  $dateID,  $pointsID,  $classID,  $groupID,  $schoolID)
  • $personID
  • $dateID
  • $pointsID
  • $classID
  • $groupID
  • $schoolID
saveLopp (line 262)
  • access: private
void saveLopp ( $date,  $url)
  • $date
  • $url
saveLoppOverall (line 526)
  • access: private
void saveLoppOverall ( $personID,  $dateID,  $pointsID,  $classID,  $schoolID)
  • $personID
  • $dateID
  • $pointsID
  • $classID
  • $schoolID
savePiirk (line 304)
  • access: private
void savePiirk ( $date,  $url)
  • $date
  • $url
savePiirkondOverall (line 489)
  • access: private
void savePiirkondOverall ( $personID,  $dateID,  $pointsID,  $classID,  $schoolID)
  • $personID
  • $dateID
  • $pointsID
  • $classID
  • $schoolID
saveValik (line 174)
  • access: private
void saveValik ( $date,  $url)
  • $date
  • $url
saveValikOverall (line 501)
  • access: private
void saveValikOverall ( $personID,  $dateID,  $pointsID,  $classID,  $schoolID)
  • $personID
  • $dateID
  • $pointsID
  • $classID
  • $schoolID

Documentation generated on Tue, 14 Jun 2011 20:16:13 +0300 by phpDocumentor 1.4.1