Location: PHPKode > scripts > wpSearch > wpsearch/WPSearch/Document.php
<?php
/**
 * This file contains a class for holding Wordpress post information
 *
 * @author Kenny Katzgrau <hide@address.com>
 */

/**
 * A class that pretends to be a Wordpress search result object
 */
class WPSearch_Document
{
    // Example entries are in comments to the left.
    public $ID; 				// 1
    public $post_author; 		// 1
    public $post_date; 			// 2008-07-13 10:27:30
    public $post_date_gmt; 		// 2008-07-13 14:27:30
    public $post_content; 		// Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
    public $post_title; 		// Hello world!
    public $post_category; 		// 0
    public $post_excerpt; 		//
    public $post_status; 		// publish
    public $comment_status; 	// open
    public $ping_status; 		// open
    public $post_name; 			// hello-world
    public $to_ping; 			//
    public $pinged; 			//
    public $post_modified; 		// 2008-07-13 10:27:30
    public $post_modified_gmt; 	// 2008-07-13 14:27:30
    public $post_content_filtered; //
    public $post_parent; 		// 0
    public $guid; 				// http://localhost/wordpress/?p=1
    public $menu_order; 		// 0
    public $post_type; 			// post
    public $post_mime_type; 	//
    public $comment_count; 		// 1
}
Return current item: wpSearch