contenido\includes\include.upl_search_results.php

Show: PublicProtectedPrivateinherited
Table of Contents
Project: Contenido Content Management System

Description: File Manager Search Engine Reulsts

Requirements:

Author
Timo A. Hummel  
Con_php_req
5.0  
Copyright
four for business AG  
License
http://www.contenido.org/license/LIZENZ.txt  
Link
http://www.4fb.de  
Link
http://www.contenido.org  
Package
Contenido Backend includes  
Since
file available since contenido release <= 4.6 {@internal created 2003-12-29 modified 2008-06-27, Frederic Schneider, add security fix $Id: include.upl_search_results.php 722 2008-08-25 09:17:49Z timo.trautmann $: }}  
Version
1.9.0  

Functions

functionuplRender( $searchfor,  $sortby,  $sortmode,  $startpage = 1,  $thumbnailmode) : void

Parameters
NameTypeDescription
$searchfor
$sortby
$sortmode
$startpage
$thumbnailmode

\UploadList

Package: Default
Class FrontendList Class for scrollable frontend lists
Parent(s)
\FrontendList
Author
Timo A. Hummel  
Version
0.1  

Properties

>VPropertypublic$dark
Details
Type
n/a
>VPropertypublicarray $data = array()
inherited
Data container
Inherited from: \FrontendList::$$data
Default valuearray()Details
Type
array
Inherited_from
\FrontendList::$$data  
>VPropertypublicstring $endwrap
inherited
Wrap for table end
Inherited from: \FrontendList::$$endwrap
Details
Type
string
Inherited_from
\FrontendList::$$endwrap  
>VPropertypublicstring $itemwrap
inherited
Wrap for a single item
Inherited from: \FrontendList::$$itemwrap
Details
Type
string
Inherited_from
\FrontendList::$$itemwrap  
>VPropertypublicstring $listStart
inherited
Start page
Inherited from: \FrontendList::$$listStart
Details
Type
string
Inherited_from
\FrontendList::$$listStart  
>VPropertypublic$pathdata
Details
Type
n/a
>VPropertypublicstring $resultsPerPage
inherited
Number of records displayed per page
Inherited from: \FrontendList::$$resultsPerPage
Details
Type
string
Inherited_from
\FrontendList::$$resultsPerPage  
>VPropertypublic$size
Details
Type
n/a
>VPropertypublicstring $startwrap
inherited
Wrap for table start
Inherited from: \FrontendList::$$startwrap
Details
Type
string
Inherited_from
\FrontendList::$$startwrap  

Methods

methodpublicFrontendList( $startwrap,  $endwrap,  $itemwrap) : void
inherited

Creates a new FrontendList object.

Inherited from: \FrontendList::FrontendList()

The placeholder for item wraps are the same as for sprintf. See the documentation for sprintf.

Caution: Make sure that percentage signs are written as %%.

Parameters
NameTypeDescription
$startwrap

Wrap for the list start

$endwrap

Wrap for the list end

$itemwrap

Wrap for a single item

methodpublicconvert( $field,  $data) : void

Field converting facility.

Needs to be overridden in the child class to work properbly.

Parameters
NameTypeDescription
$field

Field index

$data
methodpublicgetCurrentPage() : void
inherited

Returns the current page.

Inherited from: \FrontendList::getCurrentPage()
Details
Returns
Current page number  
methodpublicgetNumPages() : void
inherited

Returns the amount of pages.

Inherited from: \FrontendList::getNumPages()
Details
Returns
Amount of pages  
methodpublicoutput( $return = false) : void
inherited

Outputs or optionally returns

Inherited from: \FrontendList::output()
Parameters
NameTypeDescription
$return

If true, returns the list

methodpublicsetData( $index) : void
inherited

Sets data.

Inherited from: \FrontendList::setData()

Note: This function eats as many parameters as you specify.

Example: $obj->setData(0, "foo", "bar");

Make sure that the amount of parameters stays the same for all setData calls in a single object.

Parameters
NameTypeDescription
$index

Numeric index

methodpublicsetListStart( $startpage) : void
inherited

Sets the starting page number.

Inherited from: \FrontendList::setListStart()
Parameters
NameTypeDescription
$startpage

Page number on which the list display starts

methodpublicsetResultsPerPage( $numresults) : void
inherited

Sets the number of records per page.

Inherited from: \FrontendList::setResultsPerPage()
Parameters
NameTypeDescription
$numresults

Amount of records per page

methodpublicsort( $field,  $order) : void
inherited

Sorts the list by a given field and a given order.

Inherited from: \FrontendList::sort()
Parameters
NameTypeDescription
$field

Field index

$order

Sort order (see php's sort documentation)

Documentation was generated by phpDocumentor 2.0.0a12.