Current File : /home/caballoscriollos/public_html/web/library/class.barrio.php
<?php
require_once('class.locales.php');
require_once('class.db.php');
require_once('class.dbaccess.php');
class Barrio
{
public $IdBarrio;
public $IdLocalidad;
public $Nombre;
public function ParseFromArray(array $arr)
{
$this->IdBarrio = $arr['IdBarrio'];
$this->IdLocalidad = $arr['IdLocalidad'];
$this->Nombre = stripslashes($arr['Nombre']);
}
public function GetAllLocales()
{
$Locales = new Locales();
return $Locales->GetAllByBarrio($this);
}
public function CanDelete()
{
return true;
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat