public function getPattern($dc)
	{
		$pattern = array();
		
		foreach ($GLOBALS['TL_CTP'] as $k=>$v)
		{
			foreach ($v as $kk=>$vv)
			{
					if (!$vv['unique'])
					{
						$pattern[$k][] = $kk;
					}
					
					elseif (\PatternModel::countByPidAndType($dc->activeRecord->pid, $kk) < 1 || $dc->activeRecord->type == $kk)
					{
						$pattern[$k][] = $kk;
					}
			}
		}
	
		return $pattern;
	}