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

Class: Sps_Generator

Source Location: /generator/sps_generator.php

Class Overview

Sps
   |
   --Sps_Generator

Abstract base class for all generators


Methods


Child classes:

Sps_Generator_QueryFetch
The standard SPS generator. Execute a SQL query; for each result, fetch a page and convert it typically into a static HTML document.
Sps_Generator_SwishIndex
The standard SPS generator. Execute a SQL query; for each result, fetch a page and convert it typically into a static HTML document.

Inherited Methods


Class Details

[line 7]
Abstract base class for all generators



[ Top ]


Class Methods


method can_share [line 48]

void can_share( )



[ Top ]

method clear_log [line 25]

void clear_log( )



[ Top ]

method conf [line 36]

void conf( )



[ Top ]

method generate [line 42]

void generate( )



Overridden in child classes as:

Sps_Generator_QueryFetch::generate()
Sps_Generator_SwishIndex::generate()

[ Top ]

method generator_error [line 27]

void generator_error( $msg)



Parameters:

   $msg  

[ Top ]

method get_log [line 23]

void get_log( )

We're using a rudimentary in-memory logging for the time being.



[ Top ]

method get_name [line 13]

void get_name( )



[ Top ]

method get_status_msg [line 16]

void get_status_msg( )



[ Top ]

method set_name [line 14]

void set_name( $name)



Parameters:

string   $name  

[ Top ]

method set_status_msg [line 17]

void set_status_msg( $msg)



Parameters:

   $msg  

[ Top ]

method write_log [line 24]

void write_log( $msg)



Parameters:

   $msg  

[ Top ]


Documentation generated on Mon, 23 Apr 2007 09:51:03 -0500 by phpDocumentor 1.3.0RC6