예제 #1
0
 /**
  *
  * @param unknown_type $updateNulls
  * @return unknown_type
  */
 function store($updateNulls = false)
 {
     if ($return = parent::store($updateNulls)) {
         if (empty($this->_isNew)) {
             // consolidate image gallery paths if necessary
             $helper = CitruscartHelperBase::getInstance('Product');
             if ($helper->consolidateGalleryImages($this) === true) {
                 JFactory::getApplication()->enqueueMessage(JText::_('COM_CITRUSCART_IMAGES_CONSOLIDATED_MESSAGE'));
             }
         }
     }
     return $return;
 }
예제 #2
0
 function store($updateNulls = false)
 {
     $this->_linked_table_key = $this->product_id;
     return parent::store($updateNulls);
 }