PHP 클래스 bloggerclient, aprilchild

include_once("class.bloggerclient.php"); $username = "whoever"; $password = "password"; $blog = new bloggerclient($username, $password); $postid = "8450106"; $myPost = $blog->getPost($postid);
파일 보기 프로젝트 열기: aprilchild/aprilchild

공개 프로퍼티들

프로퍼티 타입 설명
$XMLappID
$XMLpassword
$XMLusername
$apiName should not need to change
$appID
$bPath should not need to change
$bServer replace with one from http://plant.blogger.com/api/register.html
$blogClient

공개 메소드들

메소드 설명
bloggerclient ( $username, $password )
connectToBlogger ( ) Returns a connection object to the blogger server
deletePost ( $postID, $publish = false )
editPost ( $blogID, $textPost, $publish = false )
errTest ( $result_struct )
exec ( $req )
getPost ( $postID )
getRecentPosts ( $blogID, $numPosts )
getTemplate ( $blogID, $template = "main" )
getUserInfo ( )
getUsersBlogs ( )
getUsersBlogsSelect ( $name = "blog", $selected = "", $extra = "" ) $name as it would have for the select
newPost ( $blogID, $textPost, $publish = false )
setTemplate ( $blogID, $template = "archiveIndex" )

메소드 상세

bloggerclient() 공개 메소드

public bloggerclient ( $username, $password )

connectToBlogger() 공개 메소드

Returns a connection object to the blogger server
public connectToBlogger ( )

deletePost() 공개 메소드

public deletePost ( $postID, $publish = false )

editPost() 공개 메소드

public editPost ( $blogID, $textPost, $publish = false )

errTest() 공개 메소드

public errTest ( $result_struct )

exec() 공개 메소드

public exec ( $req )

getPost() 공개 메소드

public getPost ( $postID )

getRecentPosts() 공개 메소드

public getRecentPosts ( $blogID, $numPosts )

getTemplate() 공개 메소드

public getTemplate ( $blogID, $template = "main" )

getUserInfo() 공개 메소드

public getUserInfo ( )

getUsersBlogs() 공개 메소드

public getUsersBlogs ( )

getUsersBlogsSelect() 공개 메소드

$name as it would have for the select
public getUsersBlogsSelect ( $name = "blog", $selected = "", $extra = "" )

newPost() 공개 메소드

public newPost ( $blogID, $textPost, $publish = false )

setTemplate() 공개 메소드

public setTemplate ( $blogID, $template = "archiveIndex" )

프로퍼티 상세

$XMLappID 공개적으로 프로퍼티

public $XMLappID

$XMLpassword 공개적으로 프로퍼티

public $XMLpassword

$XMLusername 공개적으로 프로퍼티

public $XMLusername

$apiName 공개적으로 프로퍼티

should not need to change
public $apiName

$appID 공개적으로 프로퍼티

public $appID

$bPath 공개적으로 프로퍼티

should not need to change
public $bPath

$bServer 공개적으로 프로퍼티

replace with one from http://plant.blogger.com/api/register.html
public $bServer

$blogClient 공개적으로 프로퍼티

public $blogClient