Exemplo n.º 1
0
 public final function crearMarca()
 {
     if ($this->marca == null) {
         throw new Exception('Marca sin datos');
     }
     DataAccess::write($this->marca);
 }
Exemplo n.º 2
0
 public final function crearDependencia()
 {
     if ($this->dependencia == null) {
         throw new Exception('Dependencia sin datos');
     }
     DataAccess::write($this->dependencia);
 }
Exemplo n.º 3
0
 public final function crearSublinea()
 {
     if ($this->sublinea == null) {
         throw new Exception('sublinea sin datos');
     }
     DataAccess::write($this->sublinea);
 }
Exemplo n.º 4
0
 public final function crearEstadoArticulo()
 {
     if ($this->estadoArticulo == null) {
         throw new Exception('Estado Articulo sin datos');
     }
     DataAccess::write($this->estadoArticulo);
 }
Exemplo n.º 5
0
 public final function crearSeccion()
 {
     if ($this->seccion == null) {
         throw new Exception('Seccion sin datos');
     }
     DataAccess::write($this->seccion);
 }
Exemplo n.º 6
0
 public final function crearUsuario()
 {
     if ($this->usuario == null) {
         throw new Exception('Usuario sin datos');
     }
     DataAccess::write($this->usuario);
 }
Exemplo n.º 7
0
 public final function crearSolicitud()
 {
     if ($this->solicitud == null) {
         throw new Exception('Solicitud sin datos');
     }
     DataAccess::write($this->solicitud);
 }
Exemplo n.º 8
0
 public final function crearEmpresa()
 {
     if ($this->empresa == null) {
         throw new Exception('Empresa sin datos');
     }
     DataAccess::write($this->empresa);
     echo TRUE;
 }