public function getAllowedArchives()
	{
		if ($this->User->isAdmin)
		{
			$objArchive = Contao\NewsArchiveModel::findAll();
		}
		else
		{
			$objArchive = Contao\NewsArchiveModel::findMultipleByIds($this->User->news);
		}

		$return = array();

		if ($objArchive !== null)
		{
			while ($objArchive->next())
			{
				$return[$objArchive->id] = $objArchive->title;
			}
		}

		return $return;
	}
public function getAllowedArchives()
	{
		if ($this->User->isAdmin)
		{
			$objArchive = Contao\NewsArchiveModel::findAll();
		}
		else
		{
			$objArchive = Contao\NewsArchiveModel::findMultipleByIds($this->User->news);
		}

		$return = array();

		if ($objArchive !== null)
		{
			while ($objArchive->next())
			{
				$return[$objArchive->id] = $objArchive->title;
			}
		}

		return $return;
	}
Return the IDs of the allowed news archives as array

@return array