?? projectadmin.php
字號(hào):
<?php/** * OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures * all the essential functionalities required for any enterprise. * Copyright (C) 2006 OrangeHRM Inc., http://www.orangehrm.com * * OrangeHRM is free software; you can redistribute it and/or modify it under the terms of * the GNU General Public License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with this program; * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA * *//** * This class represents a project admin. */class ProjectAdmin { protected $empNumber; protected $firstName; protected $lastName; protected $projectId; public function getEmpNumber() { return $this->empNumber; } public function setEmpNumber($empNumber) { $this->empNumber = $empNumber; } public function getFirstName() { return $this->firstName; } public function setFirstName($firstName) { $this->firstName = $firstName; } public function getLastName() { return $this->lastName; } public function setLastName($lastName) { $this->lastName = $lastName; } public function getProjectId() { return $this->projectId; } public function setProjectId($projectId) { $this->projectId = $projectId; } /** * Convenience method that returns combined firstname + lastname * * @return string Name of this admin */ public function getName() { return trim($this->firstName . " " . $this->lastName); }}?>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -