protected final function eliminar()
 {
     if ($this->sublinea != null) {
         throw new Exception('Sublinea sin datos');
     }
     DataAccess::delete($this->sublinea);
 }
Exemple #2
0
 protected final function eliminar()
 {
     if ($this->marca != null) {
         throw new Exception('Marca sin datos');
     }
     DataAccess::delete($this->marca);
 }
 protected final function eliminar()
 {
     if ($this->dependencia != null) {
         throw new Exception('Dependencia sin datos');
     }
     DataAccess::delete($this->dependencia);
 }
 protected final function eliminar()
 {
     if ($this->estadoArticulo != null) {
         throw new Exception('EstadoArticulo sin datos');
     }
     DataAccess::delete($this->estadoArticulo);
 }
 protected final function eliminar()
 {
     if ($this->seccion != null) {
         throw new Exception('Seccion sin datos');
     }
     DataAccess::delete($this->seccion);
 }
 protected final function eliminar()
 {
     if ($this->empresa != null) {
         throw new Exception('Empresa sin datos');
     }
     DataAccess::delete($this->usuario);
 }
 protected final function eliminar()
 {
     if ($this->solicitud != null) {
         throw new Exception('Solicitud sin datos');
     }
     DataAccess::delete($this->solicitud);
 }