protected function setZone($zone_id)
    {
        $this->data_zone = array();

        if (is_numeric($zone_id)) {

            $this->data_zone = $this->zone->get($zone_id);

            if (empty($this->data_zone)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setZone($zone_id)
    {
        $this->data_zone = array();

        if (is_numeric($zone_id)) {

            $this->data_zone = $this->zone->get($zone_id);

            if (empty($this->data_zone)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setZone ( $ zone_id ) { $ this -> data_zone = array ( ) ; if ( is_numeric ( $ zone_id ) ) { $ this -> data_zone = $ this -> zone -> get ( $ zone_id ) ; if ( empty ( $ this -> data_zone ) ) { $ this -> outputHttpStatus ( 404 ) ; } } }
Sets a zone data
@param integer $zone_id
Sets a zone data