Documentation is available at WeeklyCompensation.php
- <?php
- require_once Fixture::INCLUDE_DIR . DIRECTORY_SEPARATOR . 'ColumnFixture.php';
- require_once "WeeklyTimesheet.php";
- class WeeklyCompensation extends ColumnFixture {
- public $StandardHoras = 0;
- public $VacacionesHoras = 0;
- public $SalarioHora = 0;
- public function Pago() {
- $timesheet = new WeeklyTimesheet($this->StandardHoras, $this->VacacionesHoras);
- return $timesheet->calculatePay($this->SalarioHora);
- }
- public function TotalHoras() {
- $timesheet = new WeeklyTimesheet($this->StandardHoras, $this->VacacionesHoras);
- $timesheet->calculatePay($this->SalarioHora);
- return $timesheet->getTotalHours();
- }
- public $typeDict = array(
- "StandardHoras" => "integer",
- "VacacionesHoras" => "integer",
- "SalarioHora" => "integer",
- "Pago" => "integer",
- "TotalHoras" => "integer"
- );
- }
- ?>
Documentation generated on Sun, 02 Apr 2006 16:01:07 +0200 by phpDocumentor 1.3.0RC5