midcom_admin_styleeditor_stylefinder
midcom_admin_styleeditor_stylefinder
()
Create a new finder instance
void
&factory
(object pointer 0, reference 1, reference 2)
-
object pointer
0: to the "page" (for now, a topic) that starts the stylestack.
-
reference
1: to the topic
-
reference
2: to page or host object
Get the elements assosiated with the current midcom.
void
get_midcom_elements
()
get the stack assosiated with the page and it's styles
array
get_page_elements
()
get the name of the page
void
get_page_title
()
get the elements in the style
style
get_style_elements
()
Get the elements for each part that is relevant:
array
get_style_elements_all
()
Get the stylestack for this finder
array
get_style_stack
()
Get the styleelements set through the topic's style
array
get_topic_style_elements
()
set the reference to the cahce.
void
set_cache
(reference &$cache)
-
reference
&$cache: ref to the navigation cache.
set the current midcom
void
set_midcom
(string $midcom)
-
string
$midcom: midcom name.
Initialize the page object.
void
set_page
(mixed &$page)
void
set_topic
(mixed &$topic)