Google Shared Contacts Manager  1.0
Semestral project for BI-ZNF
PictureEditor Class Reference

Class represents a component that handles upload & send of the profile photo. More...

Inheritance diagram for PictureEditor:

Public Member Functions

 __construct (ContactService $cs, Contact $contact=null)
 PictureEditor constructor. More...
 
 renderEdit ()
 Render editor of profile photo. More...
 
 renderView (Contact $contact)
 Render the profile photo of a contact. More...
 

Private Attributes

 $contactService
 
 $contact
 

Detailed Description

Class represents a component that handles upload & send of the profile photo.

Constructor & Destructor Documentation

◆ __construct()

__construct ( ContactService  $cs,
Contact  $contact = null 
)

PictureEditor constructor.

Parameters
ContactService$cs
Contact | null$contact

Member Function Documentation

◆ renderEdit()

renderEdit ( )

Render editor of profile photo.

◆ renderView()

renderView ( Contact  $contact)

Render the profile photo of a contact.

Parameters
Contact$contact

Field Documentation

◆ $contact

$contact
private

◆ $contactService

$contactService
private

The documentation for this class was generated from the following file: