Module: CmsTag

Overview

This module provides all Tag classes with neccessary methods. Example class that will behave as a Tag:

class MySpecialTag
  include CmsTag
  ...
end

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: FieldDateTime, FieldInteger, FieldString, FieldText, Helper, PageDateTime, PageInteger, PageRichText, PageString, PageText, Partial, Snippet

Constant Summary collapse

TOKENIZER_REGEX =
/(\{\{\s*cms:[^{}]*\}\})|((?:\{?[^{])+|\{+)/

Instance Attribute Summary collapse

Instance Attribute Details

#paramsObject

Returns the value of attribute params.



11
12
13
# File 'lib/LucyCMS/cms_tag.rb', line 11

def params
  @params
end

#parentObject

Returns the value of attribute parent.



11
12
13
# File 'lib/LucyCMS/cms_tag.rb', line 11

def parent
  @parent
end

#record_idObject

Returns the value of attribute record_id.



11
12
13
# File 'lib/LucyCMS/cms_tag.rb', line 11

def record_id
  @record_id
end