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 /controllers/ScriptController.php (line 11)

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 97)
  • access: public
void addFileAction ()
addResultsAction (line 92)
  • access: public
void addResultsAction ()
addTableAction (line 134)
  • access: public
void addTableAction ()
checkLahtineExistance (line 576)
  • access: private
void checkLahtineExistance ( $dateID,  $personID,  $schoolID,  $classID)
  • $dateID
  • $personID
  • $schoolID
  • $classID
checkLoppExistance (line 559)
  • access: private
void checkLoppExistance ( $dateID,  $personID,  $schoolID,  $classID)
  • $dateID
  • $personID
  • $schoolID
  • $classID
checkPiirkondExistance (line 550)
  • access: private
void checkPiirkondExistance ( $dateID,  $personID,  $schoolID,  $classID)
  • $dateID
  • $personID
  • $schoolID
  • $classID
checkValikExistance (line 568)
  • access: private
void checkValikExistance ( $dateID,  $personID,  $schoolID,  $classID)
  • $dateID
  • $personID
  • $schoolID
  • $classID
classByID (line 544)
  • access: private
void classByID ( $classID)
  • $classID
editPageAction (line 68)
  • access: public
void editPageAction ()
fetchAreaID (line 446)
  • access: private
void fetchAreaID ( $data)
  • $data
fetchClassID (line 405)
  • access: private
void fetchClassID ( $url)
  • $url
fetchClassID2 (line 421)
  • access: private
void fetchClassID2 ( $data)
  • $data
fetchDateID (line 370)
  • access: private
void fetchDateID ( $date)
  • $date
fetchDateID2 (line 384)
  • access: private
void fetchDateID2 ( $date)
  • $date
fetchGroupID (line 398)
  • access: private
void fetchGroupID ( $url)
  • $url
fetchPersonID (line 433)
  • access: private
void fetchPersonID ( $data)
  • $data
fetchSchoolID (line 461)
  • access: private
void fetchSchoolID ( $data,  $areaID)
  • $data
  • $areaID
fetchSchoolID2 (line 476)
  • access: private
void fetchSchoolID2 ( $data)
  • $data
fetchTableRows (line 537)
  • access: private
void fetchTableRows ( $url)
  • $url
homeAction (line 53)
  • access: public
void homeAction ()
indexAction (line 29)
  • access: public
void indexAction ()
init (line 22)

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 57)
  • access: public
void menuAction ()
pagesAction (line 61)
  • access: public
void pagesAction ()
saveLahtine (line 217)
  • access: private
void saveLahtine ( $date,  $url)
  • $date
  • $url
saveLahtineOverall (line 512)
  • access: private
void saveLahtineOverall ( $personID,  $dateID,  $pointsID,  $classID,  $groupID,  $schoolID)
  • $personID
  • $dateID
  • $pointsID
  • $classID
  • $groupID
  • $schoolID
saveLopp (line 261)
  • access: private
void saveLopp ( $date,  $url)
  • $date
  • $url
saveLoppOverall (line 525)
  • access: private
void saveLoppOverall ( $personID,  $dateID,  $pointsID,  $classID,  $schoolID)
  • $personID
  • $dateID
  • $pointsID
  • $classID
  • $schoolID
savePiirk (line 303)
  • access: private
void savePiirk ( $date,  $url)
  • $date
  • $url
savePiirkondOverall (line 488)
  • access: private
void savePiirkondOverall ( $personID,  $dateID,  $pointsID,  $classID,  $schoolID)
  • $personID
  • $dateID
  • $pointsID
  • $classID
  • $schoolID
saveValik (line 173)
  • access: private
void saveValik ( $date,  $url)
  • $date
  • $url
saveValikOverall (line 500)
  • access: private
void saveValikOverall ( $personID,  $dateID,  $pointsID,  $classID,  $schoolID)
  • $personID
  • $dateID
  • $pointsID
  • $classID
  • $schoolID

Documentation generated on Tue, 14 Jun 2011 19:53:26 +0300 by phpDocumentor 1.4.1