core-bundle/src/Resources/contao/models/PageModel.php
public static function findWithDetails($intId)
	{
		$objPage = static::findByPk($intId);

		if ($objPage === null)
		{
			return null;
		}

		return $objPage->loadDetails();
	}
public static function findWithDetails($intId)
	{
		$objPage = static::findByPk($intId);

		if ($objPage === null)
		{
			return null;
		}

		return $objPage->loadDetails();
	}
Find a page by its ID and return it with the inherited details

@param integer $intId The page's ID

@return PageModel|null The model or null if there is no matching page