Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
/**
4
 * Subclass for representing a row from the 'book' table.
5
 *
6
 *
7
 *
8
 * @package lib.model
9
 */
10
class Book extends BaseBook
11
{
12
	/**
13
	 * Initializes internal state of Book object.
14
	 * @see        parent::__construct()
15
	 */
16
	public function __construct()
17
	{
18
		// Make sure that parent constructor is always invoked, since that
19
		// is where any default values for this object are set.
20
		parent::__construct();
21
	}
22
 
23
  public function __toString()
24
  {
25
    return $this->getName();
26
  }
27
}