public function getProject($nb_project)
    {
        $retval = false;

        if (is_object($nb_project) && !($nb_project instanceof CNabuDataObject)) {
            throw new ENabuCoreException(
                ENabuCoreException::ERROR_UNEXPECTED_PARAM_CLASS_TYPE,
                array('$nb_project', get_class($nb_project))
            );
        }

        if ($nb_project !== null) {
            $nb_project_id = nb_getMixedValue($nb_project, NABU_PROJECT_FIELD_ID);
            if (is_numeric($nb_project_id) || nb_isValidGUID($nb_project_id)) {
                $retval = $this->nb_project_list->getItem($nb_project_id);
            } elseif ($nb_project_id !== null && $nb_project_id !== false) {
                throw new ENabuCoreException(
                    ENabuCoreException::ERROR_UNEXPECTED_PARAM_VALUE,
                    array('$nb_project', print_r($nb_project, true))
                );
            }
        }

        return $retval;
    }