public function getId()
    {
        $col = $this->getIDField();

        if (property_exists($this, $col)) {
            $id = $this->$col;
            if ($id > 0) {
                return $id;
            }
        }
        return false;
    }
public function getId()
    {
        $col = $this->getIDField();

        if (property_exists($this, $col)) {
            $id = $this->$col;
            if ($id > 0) {
                return $id;
            }
        }
        return false;
    }
public function getId ( ) { $ col = $ this -> getIDField ( ) ; if ( property_exists ( $ this , $ col ) ) { $ id = $ this -> $ col ; if ( $ id > 0 ) { return $ id ; } } return false ; }
Get object ID
@return integer
Get object ID