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

Class: Parser_Topic

Source Location: /Parser/Topic.php

Class Overview


Gets and parses topics IS ids in package from server


Variables

Methods



Class Details

[line 9]
Gets and parses topics IS ids in package from server



[ Top ]


Class Variables

$config =

[line 33]

Configuration for packages (addresses, POST data, ...)



Tags:

access:  protected

Type:   array


[ Top ]

$packageIsId =

[line 15]

Identificator of package



Tags:

access:  protected

Type:   string


[ Top ]

$siteParser =

[line 27]

Parser_Site instance



Tags:

access:  protected

Type:   Parser_Site


[ Top ]

$topicIsId =

[line 21]

Identificator of topic



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


constructor __construct [line 38]

Parser_Topic __construct( [ $packageIsId = false], [ $topicIsId = false])

Creates new Parser_Package



Tags:

access:  public


Parameters:

   $packageIsId  
   $topicIsId  

[ Top ]

method extractForm [line 75]

array extractForm( $site $site)

Main part of getTopicContent function, allows to insert any site



Tags:

access:  public


Parameters:

$site   $site  

[ Top ]

method getPackageIsId [line 145]

string getPackageIsId( )

Returns package id in IS



Tags:

access:  public


[ Top ]

method getTopicIsId [line 165]

string getTopicIsId( )

Returns theme id in IS



Tags:

access:  public


[ Top ]

method getTopicsContent [line 50]

array getTopicsContent( )

Returns array of IS id of topics in the package



Tags:

access:  public


[ Top ]

method setPackageIsId [line 134]

void setPackageIsId( $id $packageIsId)

Sets package id (same as in IS)



Tags:

access:  public


Parameters:

$id   $packageIsId   string

[ Top ]

method setTopicIsId [line 154]

void setTopicIsId( $id $topicIsId)

Sets topic id (same as in IS)



Tags:

access:  public


Parameters:

$id   $topicIsId   string

[ Top ]

method setupTopic [line 171]

void setupTopic( )



Tags:

access:  protected


[ Top ]


Documentation generated on Sat, 22 May 2010 23:40:54 +0200 by phpDocumentor 1.4.1