PHP Class SAL_Post, jetpack

ファイルを表示 Open project: automattic/jetpack

Public Properties

Property Type Description
$context
$post
$site

Public Methods

Method Description
__call ( $name, $arguments )
__construct ( $site, $post, $context )
__get ( $key )
__isset ( $name )
__set ( $key, $value )
get_attachments_and_count ( )
get_author ( )
get_categories ( )
get_content ( )
get_current_user_capabilities ( )
get_date ( )
get_discussion ( )
get_excerpt ( )
get_featured_image ( ) note this is overridden in jetpack-shadow
get_format ( )
get_geo ( )
get_global_id ( )
get_guid ( )
get_like_count ( )
get_menu_order ( )
get_meta ( )
get_metadata ( )
get_modified_date ( )
get_other_urls ( )
get_page_template ( )
get_parent ( )
get_password ( )
get_permalink_suggestions ( $title ) : array Get extra post permalink suggestions
get_post_thumbnail ( )
get_publicize_urls ( )
get_revisions ( )
get_shortlink ( )
get_slug ( )
get_status ( )
get_tags ( )
get_terms ( )
get_the_post_content_for_display ( ) Expects setup_postdata() to already have been run
get_title ( )
get_type ( )
get_url ( )
is_following ( )
is_liked ( )
is_likes_enabled ( )
is_reblogged ( )
is_sharing_enabled ( )
is_sticky ( )
the_password_form ( )

Protected Methods

Method Description
get_avatar_url ( $email, $avatar_size = 96 )
get_post_link ( $path = null )
get_site_link ( )

Private Methods

Method Description
format_taxonomy ( $taxonomy, $taxonomy_type, $context )
get_attachment ( $attachment )
get_media_item_v1_1 ( $media_id ) TODO: factor this out into site

Method Details

__call() public method

public __call ( $name, $arguments )

__construct() public method

public __construct ( $site, $post, $context )

__get() public method

public __get ( $key )

__isset() public method

public __isset ( $name )

__set() public method

public __set ( $key, $value )

get_attachments_and_count() public method

get_author() public method

public get_author ( )

get_avatar_url() protected method

protected get_avatar_url ( $email, $avatar_size = 96 )

get_categories() public method

public get_categories ( )

get_content() public method

public get_content ( )

get_current_user_capabilities() public method

get_date() public method

public get_date ( )

get_discussion() public method

public get_discussion ( )

get_excerpt() public method

public get_excerpt ( )

get_format() public method

public get_format ( )

get_geo() abstract public method

abstract public get_geo ( )

get_global_id() abstract public method

abstract public get_global_id ( )

get_guid() public method

public get_guid ( )

get_like_count() abstract public method

abstract public get_like_count ( )

get_menu_order() public method

public get_menu_order ( )

get_meta() public method

public get_meta ( )

get_metadata() public method

public get_metadata ( )

get_modified_date() public method

public get_modified_date ( )

get_other_urls() public method

public get_other_urls ( )

get_page_template() public method

public get_page_template ( )

get_parent() public method

public get_parent ( )

get_password() public method

public get_password ( )

get_post_link() protected method

protected get_post_link ( $path = null )

get_post_thumbnail() public method

public get_post_thumbnail ( )

get_publicize_urls() public method

public get_publicize_urls ( )

get_revisions() public method

public get_revisions ( )

get_slug() public method

public get_slug ( )

get_status() public method

public get_status ( )

get_tags() public method

public get_tags ( )

get_terms() public method

public get_terms ( )

get_the_post_content_for_display() public method

Expects setup_postdata() to already have been run

get_title() public method

public get_title ( )

get_type() public method

public get_type ( )

get_url() public method

public get_url ( )

is_following() abstract public method

abstract public is_following ( )

is_liked() abstract public method

abstract public is_liked ( )

is_likes_enabled() public method

public is_likes_enabled ( )

is_reblogged() abstract public method

abstract public is_reblogged ( )

is_sharing_enabled() public method

public is_sharing_enabled ( )

is_sticky() public method

public is_sticky ( )

the_password_form() public method

public the_password_form ( )

Property Details

$context public_oe property

public $context

$post public_oe property

public $post

$site public_oe property

public $site