phpDocumentor pivotx
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Procedural File: module_trackbacks.php

Source Location: /modules/module_trackbacks.php

Page Details
Includes
require_once (dirname(dirname(__FILE__))."/lamer_protection.php") [line 19]
[ Top ]


Functions
editTrackback  [line 165]

void editTrackback( array $entry, string $track_key, array $track_val  )

Edits/modifies a trackback.

Parameters:
array   $entry:  The entry containing the trackback
string   $track_key:  The key for the edited trackback
array   $track_val:  The (content of the) edited trackback


[ Top ]
generateLastTrackbacks  [line 224]

void generateLastTrackbacks( array $temptrack  )

Creates the file that holds the last trackbacks. Just returns if we're using SQL.

Parameters:
array   $temptrack: 


[ Top ]
getTracbackKeyJS  [line 354]

void getTracbackKeyJS( $uri, $date  )

Returns the Javascript code and creates the key for hardened trackbacks.

Parameters:
   $uri: 
   $date: 


[ Top ]
handlePostTrackback  [line 25]

void handlePostTrackback( $uri, $date  )

Enter description here...

Parameters:
   $uri: 
   $date: 


[ Top ]
makeTrackbackUID  [line 345]

string makeTrackbackUID( array $trackback  )

Creates (an unique) UID for trackbacks.

This function isn't needed for SQL DB since this key is part of the table. However for flatfile DB this is convenient.

Parameters:
array   $trackback: 


[ Top ]
respondExit  [line 440]

void respondExit( [string $msg = ""], [bool $error = false], bool 2  )

Print result of trackback posting and exit

Parameters:
bool   $error:  print error
string   $msg:  addtional text to display
bool   2: 


[ Top ]
sendMailTrackback  [line 262]

void sendMailTrackback( $my_trackback  )
Parameters:
   $my_trackback: 


[ Top ]
xml  [line 460]

string xml( string $tag, string $value  )

Build xml tag

Parameters:
string   $tag:  xml tag name
string   $value:  value of tag


[ Top ]


Documentation generated on Tue, 05 Sep 2017 01:06:12 +0200 by phpDocumentor 1.4.3