/** * protect the constructor */ protected function __construct($type, $table, $scope) { $this->type = $type; $this->table = $table; $this->component = $scope; $this->db = BabioonFactory::getDBO(); $this->params = $this->loadParams($type); }