1,5 → 1,6 |
<?php |
|
require_once __DIR__ . '/../AbstractModel.php'; |
require_once __DIR__ . '/Table.php'; |
|
/** |
7,7 → 8,7 |
* |
* @author Thomas Lahn |
*/ |
abstract class Mapper |
abstract class Mapper extends AbstractModel |
{ |
/** |
* Class name of the associated table model |
64,6 → 65,16 |
} |
|
/** |
* Returns the <code>Table</code> for this object. |
* |
* @return Table |
*/ |
public function getTable () |
{ |
return $this->getDbTable(); |
} |
|
/** |
* Sorts an array of objects by the property of the nested object. |
* To be used with the u*sort() functions. |
* |