PHP 클래스 Rubenwouters\CrmLauncher\Updates\UpdateAllCases

파일 보기 프로젝트 열기: rubenwouters/crm-launcher 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$answer Rubenwouters\CrmLauncher\Models\Answer
$case Rubenwouters\CrmLauncher\Models\CaseOverview
$contact Rubenwouters\CrmLauncher\Models\Contact
$facebookContent Rubenwouters\CrmLauncher\ApiCalls\FetchFacebookContent
$innerComment Rubenwouters\CrmLauncher\Models\InnerComment
$media Rubenwouters≈\CrmLauncher\Models\Media
$message Rubenwouters\CrmLauncher\Models\Message
$publishment Rubenwouters\CrmLauncher\Models\Publishment
$reaction Rubenwouters\CrmLauncher\Models\Reaction
$twitterContent Rubenwouters\CrmLauncher\ApiCalls\FetchTwitterContent

공개 메소드들

메소드 설명
__construct ( Contact $contact, CaseOverview $case, Reaction $reaction, Publishment $publishment, Message $message, Media $media, Answer $answer, InnerComment $innerComment, FetchTwitterContent $twitterContent, FetchFacebookContent $facebookContent )
collectDirectMessages ( ) : void Gets all direct (private) messages on Twitter
collectMentions ( ) : void Gets all public mentions on Twitter
collectPosts ( ) : view Gets all posts on Facebook
collectPrivateConversations ( ) : void Handles all private conversations from Facebook

비공개 메소드들

메소드 설명
collectPrivateMessages ( object $conversation, datetime $newest ) : void Get the messages out of a conversation
fetchComments ( Datetime $newest ) : return Fetch comments on post form Facebook
fetchInnerComments ( datetime $newest ) : void Fetch inner comments of facebook
fetchSpecificMention ( $mention ) : void Fetch mentions from Twitter
getComments ( )
getPosts ( ) : [type] Return all facebook posts (merges messages & publishments)
updateCase ( integer $caseId, string $type, integer $messageId ) : void Update case with newest Facebook or Tweet id

메소드 상세

__construct() 공개 메소드

public __construct ( Contact $contact, CaseOverview $case, Reaction $reaction, Publishment $publishment, Message $message, Media $media, Answer $answer, InnerComment $innerComment, FetchTwitterContent $twitterContent, FetchFacebookContent $facebookContent )
$contact Rubenwouters\CrmLauncher\Models\Contact
$case Rubenwouters\CrmLauncher\Models\CaseOverview
$reaction Rubenwouters\CrmLauncher\Models\Reaction
$publishment Rubenwouters\CrmLauncher\Models\Publishment
$message Rubenwouters\CrmLauncher\Models\Message
$media Rubenwouters\CrmLauncher\Models\Media
$answer Rubenwouters\CrmLauncher\Models\Answer
$innerComment Rubenwouters\CrmLauncher\Models\InnerComment
$twitterContent Rubenwouters\CrmLauncher\ApiCalls\FetchTwitterContent
$facebookContent Rubenwouters\CrmLauncher\ApiCalls\FetchFacebookContent

collectDirectMessages() 공개 메소드

Gets all direct (private) messages on Twitter
public collectDirectMessages ( ) : void
리턴 void

collectMentions() 공개 메소드

Gets all public mentions on Twitter
public collectMentions ( ) : void
리턴 void

collectPosts() 공개 메소드

Gets all posts on Facebook
public collectPosts ( ) : view
리턴 view

collectPrivateConversations() 공개 메소드

Handles all private conversations from Facebook
public collectPrivateConversations ( ) : void
리턴 void

프로퍼티 상세

$answer 보호되어 있는 프로퍼티

protected Answer,Rubenwouters\CrmLauncher\Models $answer
리턴 Rubenwouters\CrmLauncher\Models\Answer

$case 보호되어 있는 프로퍼티

protected CaseOverview,Rubenwouters\CrmLauncher\Models $case
리턴 Rubenwouters\CrmLauncher\Models\CaseOverview

$contact 보호되어 있는 프로퍼티

protected Contact,Rubenwouters\CrmLauncher\Models $contact
리턴 Rubenwouters\CrmLauncher\Models\Contact

$facebookContent 보호되어 있는 프로퍼티

protected FetchFacebookContent,Rubenwouters\CrmLauncher\ApiCalls $facebookContent
리턴 Rubenwouters\CrmLauncher\ApiCalls\FetchFacebookContent

$innerComment 보호되어 있는 프로퍼티

protected InnerComment,Rubenwouters\CrmLauncher\Models $innerComment
리턴 Rubenwouters\CrmLauncher\Models\InnerComment

$media 보호되어 있는 프로퍼티

protected Rubenwouters≈\CrmLauncher\Models\Media $media
리턴 Rubenwouters≈\CrmLauncher\Models\Media

$message 보호되어 있는 프로퍼티

protected Message,Rubenwouters\CrmLauncher\Models $message
리턴 Rubenwouters\CrmLauncher\Models\Message

$publishment 보호되어 있는 프로퍼티

protected Publishment,Rubenwouters\CrmLauncher\Models $publishment
리턴 Rubenwouters\CrmLauncher\Models\Publishment

$reaction 보호되어 있는 프로퍼티

protected Reaction,Rubenwouters\CrmLauncher\Models $reaction
리턴 Rubenwouters\CrmLauncher\Models\Reaction

$twitterContent 보호되어 있는 프로퍼티

protected FetchTwitterContent,Rubenwouters\CrmLauncher\ApiCalls $twitterContent
리턴 Rubenwouters\CrmLauncher\ApiCalls\FetchTwitterContent