OPiQuotations  v.03.00.00 — April 5, 2019
Namespaces | Variables
une-OPiCitation.php File Reference

Little Web application to display one quotation (from OPiCitations) http://www.opimedia.be/OPiCitations/une-OPiCitation.php. More...

Go to the source code of this file.

Namespaces

 OPiCitations
 

Variables

if(true) else
 
 $opiquotations = new OPiQuotations\OPiQuotations()
 
if($quot===null) $title = 'une OPiCitations n°'.$quot->id().' — Dictionnaire de citations'
 
 $desc
 
 $desc_open_graph = OPiQuotations\html_text_cut($desc, 300)
 
 $keywords = ['citation', 'citations', 'maxime', 'maximes', 'proverbe', 'proverbes', 'littérature', 'français']
 
 $i = 0
 
 $url_site = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/'
 
 $url = $url_site.basename($_SERVER['PHP_SELF']).'?id='.$quot->id()
 
 $url_opicitations = $url_site.'?id='.$quot->id()
 
 if ( $quot->is_maxim())
 
if(!isset($_GET['no-link-OPiQuotations'])) endif
 

Detailed Description

Little Web application to display one quotation (from OPiCitations) http://www.opimedia.be/OPiCitations/une-OPiCitation.php.

(November 23, 2018)

May be used in an iframe to include in another Web page.

Piece of OPiQuotations. https://bitbucket.org/OPiMedia/opiquotations

GPLv3 — Copyright (C) 2014, 2015, 2016, 2018 Olivier Pirson http://www.opimedia.be/

Definition in file une-OPiCitation.php.

Variable Documentation

◆ $desc

$desc
Initial value:
= 'une OPiCitation n°'.$quot->id().' :
'.htmlspecialchars($quot->to_text())

Definition at line 91 of file une-OPiCitation.php.

◆ $desc_open_graph

$desc_open_graph = OPiQuotations\html_text_cut($desc, 300)

Definition at line 94 of file une-OPiCitation.php.

◆ $i

$i = 0

Definition at line 101 of file une-OPiCitation.php.

Referenced by OPiQuotations\html_text_cut(), and print_page_links().

◆ $keywords

$keywords = ['citation', 'citations', 'maxime', 'maximes', 'proverbe', 'proverbes', 'littérature', 'français']

Definition at line 99 of file une-OPiCitation.php.

◆ $opiquotations

$opiquotations = new OPiQuotations\OPiQuotations()

Definition at line 62 of file une-OPiCitation.php.

◆ $title

if ( $quot===null) $title = 'une OPiCitations n°'.$quot->id().' — Dictionnaire de citations'

Definition at line 89 of file une-OPiCitation.php.

Referenced by OPiQuotations\Selection\to_html().

◆ $url

$url = $url_site.basename($_SERVER['PHP_SELF']).'?id='.$quot->id()

Definition at line 132 of file une-OPiCitation.php.

◆ $url_opicitations

$url_opicitations = $url_site.'?id='.$quot->id()

Definition at line 133 of file une-OPiCitation.php.

◆ $url_site

$url_site = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/'

Definition at line 131 of file une-OPiCitation.php.

◆ else

if (isset( $_GET[ 'id'])) else
Initial value:
{
#DEBUG_END
ini_set('display_errors', 'stderr')

Definition at line 36 of file une-OPiCitation.php.

◆ endif

if (!isset( $_GET[ 'no-link-OPiQuotations'])) endif

Definition at line 183 of file une-OPiCitation.php.

◆ if

if($quot->is_maxim())

Definition at line 159 of file une-OPiCitation.php.