/** * Add a new item with the instance values * *@param $p_force=FALSE Force add even if no updates where done *@return nothing **/ function addCommon($p_force = FALSE) { if (count($this->ptcdUpdates) or $p_force) { $itemID = parent::add($this->ptcdUpdates); $this->load($itemID); } }