Ejemplo n.º 1
0
 public function offsetUnset($attribute)
 {
     if ($attribute == 'name' || $attribute == 'value') {
         unset($this->pop_image[$attribute]);
         return;
     }
     parent::offsetUnset($attribute);
 }
Ejemplo n.º 2
0
 /**
  * Unset a data attribute.
  *
  * @param string $property
  */
 public function offsetUnset($property)
 {
     $this->element->offsetUnset(self::serialize_property($property));
 }