Izartu API

ShowTag extends Crud
in package
uses Tag

FinalYes

Create, Read, Update and Delete actions on a database table.

Tags
file

showtag.php

brief

Methods to display Tag data.

Table of Contents

Properties

$db  : mixed

Methods

__construct()  : Connection
tagCloud()  : mixed
read()  : array<int, array<string, mixed>>
Prepare and run a read query, then return its rows.
getCloud()  : mixed
getTags()  : mixed

Properties

Methods

__construct()

public final __construct() : Connection
Tags
fn

__construct

brief

To open a database connection.

Return values
Connection

between PHP and a database server or and E_USER_ERROR.

tagCloud()

public final tagCloud() : mixed

read()

Prepare and run a read query, then return its rows.

protected final read(string $sql[, array<int, array{0: string, 1: mixed, 2: int, 3: int}>|false $param = false ]) : array<int, array<string, mixed>>
Parameters
$sql : string

SQL query with bind placeholders.

$param : array<int, array{0: string, 1: mixed, 2: int, 3: int}>|false = false

Bind parameters (each: [name, value, PDO type, length]), or false for none.

Return values
array<int, array<string, mixed>>

The result rows.

getCloud()

private getCloud([mixed $cond = false ][, mixed $param = false ]) : mixed
Parameters
$cond : mixed = false
$param : mixed = false
Tags
fn

getCloud

brief

Get tags for tagcloud.

getTags()

private getTags(mixed $id) : mixed
Parameters
$id : mixed
Tags
fn

getTags

brief

Get tag for one bookmark.

On this page

Search results