setProperties($options); // Set the parent and db in case $options for some reason overrides it. $this->parent = $parent; // Pull in the global dbo in case something happened to it. $this->db = $db ?: JFactory::getDbo(); } /** * Retrieves the parent object * * @return JAdapter parent * * @since 11.1 */ public function getParent() { return $this->parent; } }