Class midcom_admin_styleeditor_stylefinder

Description
Variable Summary
 mixed $_midcom
 mixed $_page
 mixed $_style
 mixed $_topic
Method Summary
 midcom_admin_styleeditor_stylefinder midcom_admin_styleeditor_stylefinder ()
 void &factory (object pointer 0, reference 1, reference 2)
 void get_page_title ()
 array get_style_stack ()
 void get_style_title ()
 void set_cache (reference &$cache)
 void set_midcom (string $midcom)
 void set_page (mixed &$page)
 void set_style (midcom_db_style &$style)
 void set_topic (mixed &$topic)
Variables
mixed $_midcom (line 20)

midcom stylefinder

mixed $_page = null (line 10)

Page stylefinder

mixed $_style (line 25)

The current style

mixed $_topic = null (line 15)

topic stylefinder

Methods
Constructor midcom_admin_styleeditor_stylefinder (line 27)
midcom_admin_styleeditor_stylefinder midcom_admin_styleeditor_stylefinder ()
factory (line 96)

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_midcom_elements (line 191)

Get the elements assosiated with the current midcom.

void get_midcom_elements ()
get_midcom_title (line 169)
void get_midcom_title ()
get_page_elements (line 154)

get the stack assosiated with the page and it's styles

  • return: of elements organized after page_elements and styleelements.
array get_page_elements ()
get_page_title (line 165)

get the name of the page

void get_page_title ()
get_style_elements (line 180)

get the elements in the style

  • return: element array
style get_style_elements ()
get_style_elements_all (line 126)

Get the elements for each part that is relevant:

  • return:

    list of elements and some of their attributes

    $return = array ('element_name' => array( 'guid' => '<elementguid>', 'name' => string, 'styleurl' => styleurl, ) )

array get_style_elements_all ()
get_style_stack (line 107)

Get the stylestack for this finder

array get_style_stack ()
get_style_title (line 172)
void get_style_title ()
get_topic_style_elements (line 211)

Get the styleelements set through the topic's style

  • access: public
array get_topic_style_elements ()
set_cache (line 36)

set the reference to the cahce.

void set_cache (reference &$cache)
  • reference &$cache: ref to the navigation cache.
set_midcom (line 56)

set the current midcom

void set_midcom (string $midcom)
  • string $midcom: midcom name.
set_page (line 80)

Initialize the page object.

void set_page (mixed &$page)
set_style (line 70)

Set the style

void set_style (midcom_db_style &$style)
set_topic (line 41)
void set_topic (mixed &$topic)

Documentation generated on Tue, 15 Aug 2006 12:57:15 +0300 by phpDocumentor 1.3.0RC3