protected function buildTemplateIdentifier($id, $type = self::TEMPLATE_IDENTIFIER_FORM)
    {
        $type = strtoupper($type);

        return self::TEMPLATE_BRACKETS_OPEN.
            self::TEMPLATE_PREFIX.
            $type.
            '-'.
            $id.
            self::TEMPLATE_BRACKETS_CLOSE;
    }
protected function buildTemplateIdentifier($id, $type = self::TEMPLATE_IDENTIFIER_FORM)
    {
        $type = strtoupper($type);

        return self::TEMPLATE_BRACKETS_OPEN.
            self::TEMPLATE_PREFIX.
            $type.
            '-'.
            $id.
            self::TEMPLATE_BRACKETS_CLOSE;
    }
protected function buildTemplateIdentifier ( $ id , $ type = self :: TEMPLATE_IDENTIFIER_FORM ) { $ type = strtoupper ( $ type ) ; return self :: TEMPLATE_BRACKETS_OPEN . self :: TEMPLATE_PREFIX . $ type . '-' . $ id . self :: TEMPLATE_BRACKETS_CLOSE ; }
Builds template identifier by passed id and type.

@param string $id   The id of the element
@param string $type The type of the element

@author Benjamin Carl <opensource@clickalicious.de>

@return string The template identifier
Builds template identifier by passed id and type .