Source for file Piirkond.php
Documentation is available at Piirkond.php
* Model for handling queries with database table 'piirkond'.
* @author Margus Sellin <margus@bitweb.ee>
* @copyright Copyright (C) 2011. All rights reserved. Margus Sellin
protected $_name =
'piirkond';
* Database query that fetches a row from 'piirkond' table where
* column 'nimetus' equals the given parameter.
* @param string $name Area name
* @return mixed $result Query resultset
$select =
$this->select();
->where('nimetus = ?', $name);
$result =
$this->fetchRow($select);
Documentation generated on Mon, 20 Jun 2011 05:43:07 +0300 by phpDocumentor 1.4.1