Documentation

Formulaire extends Frontend
in package

Tags
abstract

dinamic frontend for admin(login, create), author(create, update, delete)

desc

ticket(create, update, delete) et delete confirmation for both author and ticket

access

delete admin not implemented for security reasons

author

Kaloyan KRASTEV

link
kaloyansen@gmail.com
version
0.0.2

Table of Contents

$controbj  : object
__construct()  : mixed
alert()  : void
stop()  : bool
viewModal()  : void
adminForm()  : void
array2option()  : string
author2option()  : string
authorForm()  : void
conForm()  : void
getObjet()  : object
setObjet()  : void
ticketForm()  : void
viewAdmin()  : void
viewAuthor()  : void
viewMessage()  : void
viewTicket()  : void
viewTicketArray()  : void
etoile()  : mixed
hide()  : mixed
star()  : mixed
ticketLink()  : void
ticketOverview()  : void

Properties

$controbj

private object $controbj
Tags
desc

data to visualise

abstract

sent from controller

Methods

__construct()

public __construct(mixed $controbjet) : mixed
Parameters
$controbjet : mixed
Return values
mixed —

alert()

public static alert(string $message[, int $lifetime = 5 ]) : void
Parameters
$message : string
$lifetime : int = 5
Return values
void —

stop()

public stop() : bool
Return values
bool —

viewModal()

public static viewModal(mixed $message[, string $title = 'de la base de données' ][, string $ok = 'merci' ]) : void
Parameters
$message : mixed
$title : string = 'de la base de données'
$ok : string = 'merci'
Return values
void —

adminForm()

protected static adminForm(mixed $controbjet[, string $name = 'validate' ]) : void
Parameters
$controbjet : mixed
$name : string = 'validate'
Return values
void —

array2option()

protected static array2option(mixed $arrr, string $name, string $value) : string
Parameters
$arrr : mixed
$name : string
$value : string
Return values
string —

author2option()

protected static author2option(mixed $arrauth, string $name, string $value) : string
Parameters
$arrauth : mixed
$name : string
$value : string
Return values
string —

authorForm()

protected static authorForm(string $action, string $dcl, string $name) : void
Parameters
$action : string
$dcl : string
$name : string
Return values
void —

conForm()

protected static conForm(string $dcl, string $name) : void
Parameters
$dcl : string
$name : string
Return values
void —

getObjet()

protected getObjet() : object
Return values
object —

setObjet()

protected setObjet(object $contre) : void
Parameters
$contre : object
Return values
void —

ticketForm()

protected static ticketForm(Ticket $ticket, mixed $authors, string $dcl, string $name) : void
Parameters
$ticket : Ticket
$authors : mixed
$dcl : string
$name : string
Return values
void —

viewAdmin()

protected static viewAdmin(mixed $adminarray) : void
Parameters
$adminarray : mixed
Return values
void —

viewAuthor()

protected static viewAuthor(Cuisinier|null $cuisinier, int $rate, int $nart) : void
Parameters
$cuisinier : Cuisinier|null
$rate : int
$nart : int
Return values
void —

viewMessage()

protected static viewMessage(mixed $message) : void
Parameters
$message : mixed
Return values
void —

viewTicket()

protected static viewTicket(Ticket|null $ticket, mixed $rate, int $option) : void
Parameters
$ticket : Ticket|null
$rate : mixed
$option : int
Return values
void —

viewTicketArray()

protected viewTicketArray(int $option) : void
Parameters
$option : int
Return values
void —

etoile()

private static etoile(Ticket $ticket, string $link_class, int $rate) : mixed
Parameters
$ticket : Ticket
$link_class : string
$rate : int
Return values
mixed —

hide()

private static hide(Ticket $ticket, string $link_class) : mixed
Parameters
$ticket : Ticket
$link_class : string
Return values
mixed —

star()

private static star(int $total, int $actif) : mixed
Parameters
$total : int
$actif : int
Return values
mixed —
private static ticketLink(Ticket $ticket, string $lcl) : void
Parameters
$ticket : Ticket
$lcl : string
Return values
void —

ticketOverview()

private static ticketOverview(Ticket $ticket, string $lcl) : void
Parameters
$ticket : Ticket
$lcl : string
Return values
void —

Search results