24 lines
429 B
PHP
24 lines
429 B
PHP
<?php
|
|
|
|
/**
|
|
* Subclass for representing a row from the 'Employee' table.
|
|
*
|
|
*
|
|
*
|
|
* @package lib.model
|
|
*/
|
|
class Employee extends BaseEmployee
|
|
{
|
|
/**
|
|
* Gets the text of the position linked to
|
|
* in the LuEmployeePosition table
|
|
*
|
|
* @return position text
|
|
* @author Benjamin Ramey <ben.ramey@gmail.com>
|
|
**/
|
|
public function getPositionText()
|
|
{
|
|
return $this->getLuEmployeePosition()->getPosition();
|
|
}
|
|
}
|