Yioop_V9.5_Source_Code_Documentation

UsermessagesElement extends Element
in package
implements CrawlConstants

Element responsible for draw the feeds a user is subscribed to

Tags
author

Chris Pollett

Interfaces, Classes, Traits and Enums

CrawlConstants
Shared constants and enums used by components that are involved in the crawling process

Table of Contents

$emoji_helper  : helper
Emojipicker helper
$view  : object
The View on which this Element is drawn
__construct()  : mixed
constructor stores a reference to the view this element will reside on
formatHref()  : string
Used to slightly clean up hypertext links before drawing them (get rid of empty queries, avoid double encoding)
render()  : mixed
This method is responsible for actually drawing the view.
renderContactMessages()  : mixed
renderContacts()  : mixed
drawNewMessageForm()  : mixed
Used to draw the new message form to add a message to an existing conversation

Properties

$view

The View on which this Element is drawn

public object $view

Methods

__construct()

constructor stores a reference to the view this element will reside on

public __construct([object $view = null ]) : mixed
Parameters
$view : object = null

object this element will reside on

Return values
mixed

formatHref()

Used to slightly clean up hypertext links before drawing them (get rid of empty queries, avoid double encoding)

public formatHref(string $url) : string
Parameters
$url : string

to clean up

Return values
string

cleaned url

render()

This method is responsible for actually drawing the view.

public render(mixed $data) : mixed
Parameters
$data : mixed

contains all external data from the controller that should be used in drawing the view

Return values
mixed

renderContactMessages()

public renderContactMessages(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

renderContacts()

public renderContacts(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

drawNewMessageForm()

Used to draw the new message form to add a message to an existing conversation

private drawNewMessageForm(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

containing other field needed to draw the form

Return values
mixed

        

Search results