Current File : /home/caballoscriollos/public_html/web/library/class.talle.php
<?php
require_once('class.db.php');
require_once('class.dbaccess.php');
class Talle
{
public $IdTalle;
public $Nombre;
public function __construct()
{
$this->IdTalle = '';
$this->Nombre = '';
}
public function ParseFromArray(array $arr)
{
$this->IdTalle = $arr['IdTalle'];
$this->Nombre = stripslashes($arr['Nombre']);
}
public function CanDelete()
{
if (count($this->GetAllProductoTalles()) > 0)
return false;
return true;
}
public function GetAllProductoTalles()
{
$ProductoTalles = new ProductoTalles();
return $ProductoTalles->GetAllByTalle($this);
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat