"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Department_class.php" between
opendocman-1.3.8-release.tar.gz and opendocman-1.4.0-release.tar.gz

About: OpenDocman is a document management system (DMS) designed to comply with ISO 17025 and OIE standard for document management (using PHP, MySQL).

Department_class.php  (opendocman-1.3.8-release):Department_class.php  (opendocman-1.4.0-release)
skipping to change at line 33 skipping to change at line 33
if (!defined('Department_class')) { if (!defined('Department_class')) {
define('Department_class', 'true', false); define('Department_class', 'true', false);
class Department extends databaseData class Department extends databaseData
{ {
protected $connection; protected $connection;
/** /**
* @param int $id * @param int $id
* @param PDO $connection * @param PDO $connection
*/ */
public function Department($id, PDO $connection) public function __construct($id, PDO $connection)
{ {
$this->field_name = 'name'; $this->field_name = 'name';
$this->field_id = 'id'; $this->field_id = 'id';
$this->result_limit = 1; //there is only 1 department with a certain department_id and department_name $this->result_limit = 1; //there is only 1 department with a certain department_id and department_name
$this->tablename = $this->TABLE_DEPARTMENT; $this->tablename = $this->TABLE_DEPARTMENT;
databaseData::databaseData($id, $connection); databaseData::databaseData($id, $connection);
} }
/** /**
* Function: getAllDepartments * Function: getAllDepartments
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)