public function beforeSave($insert) { if (!parent::beforeSave($insert)) { return false; } else { if ($this->password !== null) { $this->setPassword($this->password); } } return true; }
public function testTableName() { expect(BaseEmployee::tableName())->equals("employee"); }