Beispiel #1
0
 /**
  * delete  Relational Active Record
  * @return bool
  */
 public function beforeDelete()
 {
     self::deleteRelationData($this->propValues);
     return parent::beforeDelete();
 }
Beispiel #2
0
 /**
  * delete  Relational Active Record
  * @return bool
  */
 public function beforeDelete()
 {
     self::deleteRelationData($this->itemImgs);
     self::deleteRelationData($this->orderItems);
     self::deleteRelationData($this->propImgs);
     self::deleteRelationData($this->skus);
     return parent::beforeDelete();
 }