Controller class for automated script logic and all other actions/methods that are needed to make this portal function.
Located in /controllers/ScriptController.php (line 12)
Zend_Controller_Action | --ScriptController
Add file action.
User inserts a file with result table URL's. The file is read line by line and data from tables given by the URL's in the file is being inserted into database.
Used to insert many tables at the same time.
Add results action.
Used to display a view where user can choose between two adding options.
Add table action.
User inserts a table URL with HTML table and a date.
Used to insert single tables.
Method for checking 'Lahtised võistlused' competition record existance.
Database is being checked if there already is a record with given parameters or not. Based on the result boolean is returned.
Method for checking 'Lõppvoorud' competition record existance.
Database is being checked if there already is a record with given parameters or not. Based on the result boolean is returned.
Method for checking 'Piirkonnavoorud' competition record existance.
Database is being checked if there already is a record with given parameters or not. Based on the result boolean is returned.
Method for checking 'Valikvõistlused' competition record existance.
Database is being checked if there already is a record with given parameters or not. Based on the result boolean is returned.
Method for fetching class number.
Class number is being fetched from database by class ID.
Edit page action.
Action that is used to edit static pages' content.
Method for fetching area ID.
Area ID is being fetched from database by area name.
Method for fetching participant's class ID.
Class is being fetched from database by result table URL, which contains information about the class.
Method for fetching participant's class ID.
Class ID is being fetched from database by its string presentation.
Method for fetching competition group ID.
Group is being fetched from database by result table URL, which contains information about the group.
Method for fetching participant's ID.
Participant is being fetched from database by his/her name.
Method for fetching school ID and editing its area ID.
School ID is being fetched from database by school name. In case school's area ID is empty, it is being replaced with given area ID;
Method for fetching school ID.
School ID is being fetched from database by school name.
Method for getting URL table rows..
Table rows are fetched from given URL and returned as DOM elements.
Method for fetching competition date ID.
Competition date is being fetched from database by its ID.
Method for fetching competition date ID.
Competition date is being fetched from database by its string presentation.
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.
Menu action.
Action that is used to display admin menu on the right. This action is called only when user is logged in as administrator.
Pages action.
Action that is used to display static pages' management page.
Method for saving 'Lahtised võistlused' competition results.
All data from given table URL is being inserted into database.
Method for saving 'Lahtised võistlused' competition.
A row is inserted to aggregate table with all the necessary ID fields.
Method for saving 'Lõppvoorud' competition results.
All data from given table URL is being inserted into database.
Method for saving 'Lõppvoorud' competition.
A row is inserted to aggregate table with all the necessary ID fields.
Method for saving 'Piirkonnavoorud' competition results.
All data from given table URL is being inserted into database.
Method for saving 'Piirkonnavoorud' competition.
A row is inserted to aggregate table with all the necessary ID fields.
Method for saving 'Valikvõistlused' competition results.
All data from given table URL is being inserted into database.
Method for saving 'Valikvõistlused' competition.
A row is inserted to aggregate table with all the necessary ID fields.
Documentation generated on Mon, 20 Jun 2011 05:43:09 +0300 by phpDocumentor 1.4.1