Main class. More...
Go to the source code of this file.
Classes | |
class | OPiQuotations\OPiQuotations |
Class to get OPiQuotation and informations from the databse. More... |
Namespaces | |
namespace | OPiQuotations |
Functions | |
OPiQuotations::html_text_cut ($html_text, $max_length, $hellip='…', $reduce=true) | |
If length of $html_text <= $max_length characters then return $html_text, else return $html_text cutted added of $hellip to not be longer than $max_length characters. | |
OPiQuotations::text_cut ($text, $max_length, $hellip='…', $reduce=true) | |
If length of $text <= $max_length characters then return $text, else return $text cutted added of $hellip to be length of $max_length characters. |
Main class.
(October 26, 2015)
PHP package to deal quotations (text, author…) and maxims (text, nation…) from a MySQL database.
Piece of OPiQuotations. https://bitbucket.org/OPiMedia/opiquotations
GPL3 — Copyright (C) 2014, 2015 Olivier Pirson http://www.opimedia.be/
Definition in file OPiQuotations.inc.