Class Model_Valikkoond

Description

Model for handling queries with database table 'valikkoond'.

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

Located in /models/Valikkoond.php (line 11)

Zend_Db_Table_Abstract
   |
   --Model_Valikkoond
Variable Summary
string $_name
Method Summary
mixed fetchAreaStatistics (int $year, string $class)
mixed fetchResult (int $date, int $name, int $school, int $class)
Variables
string $_name = 'valikkoond' (line 17)

Database table name

  • access: protected
Methods
fetchAreaStatistics (line 58)

Query fetchAreaStatistics.

Database query that fetches statistics about 'Valik võistlused' competition. If parameters are given, the query is narrowed down according to them.

  • return: Query resultset
  • access: public
mixed fetchAreaStatistics (int $year, string $class)
  • int $year: Year number
  • string $class: Class number
fetchResult (line 32)

Query fetchResult.

Database query that fetches a row from 'valikkoond' table where columns 'kuupaevID', 'osalejaID','klassID' and 'koolID' equal the given parameters.

  • return: Query resultset
  • access: public
mixed fetchResult (int $date, int $name, int $school, int $class)
  • int $date: Date ID
  • int $name: Participant ID
  • int $class: Class ID
  • int $school: School ID

Documentation generated on Mon, 20 Jun 2011 05:43:10 +0300 by phpDocumentor 1.4.1