Exemplo n.º 1
0
 protected final function eliminar()
 {
     if ($this->sublinea != null) {
         throw new Exception('Sublinea sin datos');
     }
     DataAccess::delete($this->sublinea);
 }
Exemplo n.º 2
0
 protected final function eliminar()
 {
     if ($this->marca != null) {
         throw new Exception('Marca sin datos');
     }
     DataAccess::delete($this->marca);
 }
Exemplo n.º 3
0
 protected final function eliminar()
 {
     if ($this->dependencia != null) {
         throw new Exception('Dependencia sin datos');
     }
     DataAccess::delete($this->dependencia);
 }
Exemplo n.º 4
0
 protected final function eliminar()
 {
     if ($this->estadoArticulo != null) {
         throw new Exception('EstadoArticulo sin datos');
     }
     DataAccess::delete($this->estadoArticulo);
 }
Exemplo n.º 5
0
 protected final function eliminar()
 {
     if ($this->seccion != null) {
         throw new Exception('Seccion sin datos');
     }
     DataAccess::delete($this->seccion);
 }
Exemplo n.º 6
0
 protected final function eliminar()
 {
     if ($this->empresa != null) {
         throw new Exception('Empresa sin datos');
     }
     DataAccess::delete($this->usuario);
 }
Exemplo n.º 7
0
 protected final function eliminar()
 {
     if ($this->solicitud != null) {
         throw new Exception('Solicitud sin datos');
     }
     DataAccess::delete($this->solicitud);
 }