[ Index ] |
|
Code source de LifeType 1.2.4 |
1 <?php 2 3 4 lt_include( PLOG_CLASS_PATH."class/dao/usercomment.class.php" ); 5 6 /** 7 * Represents a trackback item, even though in pLog 1.1 trackbacks are 8 * nothing else than remote comments and in fact they are even stored in the 9 * same table as comments. 10 * 11 * \ingroup DAO 12 */ 13 class TrackBack extends UserComment 14 { 15 16 /** 17 * Constructor. Creates a new trackback object. 18 * 19 * @param url The permalink of the post. 20 * @param title The title of the post. 21 * @param articleId The article id to which this trackback item was pointing. 22 * @param excerpt An excerpt of the post. 23 * @param blogName The name of the blog which is ping backing to us. 24 * @param date Date of the post. 25 * @param clientIp the IP address where the trackback is coming from 26 * @param id Identifier of this item. 27 */ 28 function TrackBack( $url, $title, $articleId, $blogId, $excerpt, $blogName, $date, $clientIp, $spamRate = 0, $status = COMMENT_STATUS_NONSPAM, $properties = Array(), $id = -1 ) 29 { 30 // initialize the UserComment object 31 $this->UserComment( $articleId, 32 $blogId, 33 0, 34 $title, 35 $excerpt, 36 $date, 37 $blogName, 38 '', 39 $url, 40 $clientIp, 41 $spamRate, 42 $status, 43 $properties, 44 $id ); 45 // and mark it as a trackback 46 $this->setType( COMMENT_TYPE_TRACKBACK ); 47 } 48 } 49 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |