modules/archi/includes/archiAdresse.class.php
public function getIdSousQuartier($idRue = null)
    {
        $idSousQuartier = null;
        if (!isset($idRue) && $idRue != '') {
            echo "Error while getting sub neighborhood id, no street informations were specified for this request.";
        } else {
            $req = "SELECT idSousQuartier
    			FROM rue
    			WHERE idRue = ".$idRue
            ;
            $res = $this->connexionBdd->requete($req);
            $fetchSousQuartier = mysql_fetch_assoc($res);
            $idSousQuartier = $fetchSousQuartier['idSousQuartier'];
        }
        return $idSousQuartier;
    }
public function getIdSousQuartier($idRue = null)
    {
        $idSousQuartier = null;
        if (!isset($idRue) && $idRue != '') {
            echo "Error while getting sub neighborhood id, no street informations were specified for this request.";
        } else {
            $req = "SELECT idSousQuartier
    			FROM rue
    			WHERE idRue = ".$idRue
            ;
            $res = $this->connexionBdd->requete($req);
            $fetchSousQuartier = mysql_fetch_assoc($res);
            $idSousQuartier = $fetchSousQuartier['idSousQuartier'];
        }
        return $idSousQuartier;
    }
public function getIdSousQuartier ( $ idRue = null ) { $ idSousQuartier = null ; if ( ! isset ( $ idRue ) && $ idRue != '' ) { echo "Error while getting sub neighborhood id, no street informations were specified for this request." ; } else { $ req = "SELECT idSousQuartier
    			FROM rue
    			WHERE idRue = " . $ idRue ; $ res = $ this -> connexionBdd -> requete ( $ req ) ; $ fetchSousQuartier = mysql_fetch_assoc ( $ res ) ; $ idSousQuartier = $ fetchSousQuartier [ 'idSousQuartier' ] ; } return $ idSousQuartier ; }
Get the id of a sub neighborhood from the id of a street

@param string $idRue : id of the street
@return NULL|string  : id of the neighborhood
Get the id of a sub neighborhood from the id of a street