RD_Sitemap
[ class tree: RD_Sitemap ] [ index: RD_Sitemap ] [ all elements ]

Class: RdSitemapModelSitemap

Source Location: /documentation/sitemap/appl/site/models/sitemap.php

Class Overview

RdModel
   |
   --RdSitemapModelSitemap

class RdSitemapModelSitemap


Variables

Methods



Class Details

[line 19]
class RdSitemapModelSitemap



[ Top ]


Class Variables

$basicValues = array()

[line 22]

values to replace in the sql *


Type:   mixed


[ Top ]

$cparams =  null

[line 25]

component parameter object *


Type:   mixed


[ Top ]

$data = array()

[line 28]

the data *


Type:   mixed


[ Top ]

$mparams =  null

[line 31]

menu item parameter object *


Type:   mixed


[ Top ]

$viewParameter =  null

[line 34]

parameter object for the actuall view *


Type:   mixed


[ Top ]

$views = array()

[line 37]

the views to process *


Type:   mixed


[ Top ]

$viewset =  0

[line 40]

id viewset *


Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 45]

RdSitemapModelSitemap __construct( )

Constructor



[ Top ]

method getComponentParamsObj [line 60]

parameter getComponentParamsObj( )

Get the component params



Tags:

return:  object Component Parameters


[ Top ]

method getData [line 79]

mixed getData( )

Get the Data



Tags:

return:  the data


[ Top ]

method getMenuParams [line 103]

void getMenuParams( string $parameter, [string $default = ''])

Get a menu parameter for this menu item fetch the information out of the model



Parameters:

string   $parameter   the parameter key to get
string   $default   default value

[ Top ]

method getMenuParamsObj [line 118]

parameter getMenuParamsObj( )

Get the menu params for this menu item fetch the information out of the model



Tags:

return:  object Menu Parameters


[ Top ]

method getViewData [line 133]

object the getViewData( object the $view)

Get the Data for a view



Tags:

return:  view plus additional data


Parameters:

object the   $view   view sql source

[ Top ]

method getViews [line 163]

array getViews( )

Get the views for a viewset



Tags:

return:  sql result (array of objects)


[ Top ]

method getViewset [line 200]

int getViewset( )

Get the viewset for this request



Tags:

return:  the viewset id


[ Top ]

method replaceValues [line 212]

string replaceValues( array $m)

Replace values, callbacl function for getViewData



Tags:

return:  the relaced value or an empty string if the replacment fails


Parameters:

array   $m   the search result

[ Top ]

method setUpBasisValues [line 256]

void setUpBasisValues( )

set up some values



[ Top ]

method sortMenu [line 275]

array sortMenu( array $m)

sort a menu view



Tags:

return:  the sorted menu


Parameters:

array   $m   the menu

[ Top ]

method sortMenuRecursive [line 322]

void sortMenuRecursive( int &$z, int $id, array $sl, int $ebene, int $maxlevels, array &$nm)

sort a menu view Recursive through the tree



Parameters:

int   &$z   element number to work with
int   $id   the parent id
array   $sl   the sublevels
int   $ebene   the level
int   $maxlevels   the maximun depth for the search
array   &$nm   new menu

[ Top ]


Documentation generated on Thu, 23 Aug 2007 16:30:26 +0200 by phpDocumentor 1.3.2