Class: ArchivePageTreeStructure::ArchiveTreePage
- Inherits:
-
Object
- Object
- ArchivePageTreeStructure::ArchiveTreePage
show all
- Defined in:
- lib/archive_page_tree_structure.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.display_name ⇒ Object
44
45
46
|
# File 'lib/archive_page_tree_structure.rb', line 44
def self.display_name
'Page'
end
|
Instance Method Details
#allowed_children_cache ⇒ Object
50
51
52
|
# File 'lib/archive_page_tree_structure.rb', line 50
def allowed_children_cache
""
end
|
#children ⇒ Object
53
54
55
|
# File 'lib/archive_page_tree_structure.rb', line 53
def children
tree_children
end
|
#class_name ⇒ Object
47
48
49
|
# File 'lib/archive_page_tree_structure.rb', line 47
def class_name
'Page'
end
|
#sheet? ⇒ Boolean
56
57
58
|
# File 'lib/archive_page_tree_structure.rb', line 56
def sheet?
false
end
|
#status ⇒ Object
62
63
64
|
# File 'lib/archive_page_tree_structure.rb', line 62
def status
Status.new(:name => ' ')
end
|
#url ⇒ Object
59
60
61
|
# File 'lib/archive_page_tree_structure.rb', line 59
def url
"#{@parent.url}#{title}"
end
|
#virtual? ⇒ Boolean
41
42
43
|
# File 'lib/archive_page_tree_structure.rb', line 41
def virtual?
true
end
|