TYPO3 CMS  TYPO3_6-2
ADODB_Pager Class Reference

Public Member Functions

 ADODB_Pager (&$db, $sql, $id='adodb', $showPageLinks=false)
 
 Render_First ($anchor=true)
 
 render_next ($anchor=true)
 
 render_last ($anchor=true)
 
 render_pagelinks ()
 
 render_prev ($anchor=true)
 
 RenderGrid ()
 
 RenderNav ()
 
 RenderPageCount ()
 
 Render ($rows=10)
 
 RenderLayout ($header, $grid, $footer, $attributes='border=1 bgcolor=beige')
 

Public Attributes

 $id
 
 $db
 
 $sql
 
 $rs
 
 $curr_page
 
 $rows
 
 $linksPerPage =10
 
 $showPageLinks
 
 $gridAttributes = 'width=100% border=1 bgcolor=white'
 
 $first = '<code>|&lt;</code>'
 
 $prev = '<code>&lt;&lt;</code>'
 
 $next = '<code>>></code>'
 
 $last = '<code>>|</code>'
 
 $moreLinks = '...'
 
 $startLinks = '...'
 
 $gridHeader = false
 
 $htmlSpecialChars = true
 
 $page = 'Page'
 
 $linkSelectedColor = 'red'
 
 $cache = 0
 

Detailed Description

Definition at line 24 of file adodb-pager.inc.php.

Member Function Documentation

◆ ADODB_Pager()

ADODB_Pager::ADODB_Pager ( $db,
  $sql,
  $id = 'adodb',
  $showPageLinks = false 
)

Definition at line 58 of file adodb-pager.inc.php.

References $curr_page, $db, $id, $showPageLinks, and $sql.

◆ Render()

ADODB_Pager::Render (   $rows = 10)

Definition at line 239 of file adodb-pager.inc.php.

References $rows, $rs, RenderGrid(), RenderLayout(), RenderNav(), and RenderPageCount().

◆ Render_First()

ADODB_Pager::Render_First (   $anchor = true)

Definition at line 83 of file adodb-pager.inc.php.

References $first.

Referenced by RenderNav().

◆ render_last()

ADODB_Pager::render_last (   $anchor = true)

Definition at line 116 of file adodb-pager.inc.php.

References $last.

◆ render_next()

ADODB_Pager::render_next (   $anchor = true)

Definition at line 97 of file adodb-pager.inc.php.

References $next.

◆ render_pagelinks()

ADODB_Pager::render_pagelinks ( )

Definition at line 133 of file adodb-pager.inc.php.

◆ render_prev()

ADODB_Pager::render_prev (   $anchor = true)

Definition at line 168 of file adodb-pager.inc.php.

References $prev.

◆ RenderGrid()

ADODB_Pager::RenderGrid ( )

Definition at line 185 of file adodb-pager.inc.php.

References $gSQLBlockRows, $rows, and rs2html().

Referenced by Render().

◆ RenderLayout()

ADODB_Pager::RenderLayout (   $header,
  $grid,
  $footer,
  $attributes = 'border=1 bgcolor=beige' 
)

Definition at line 277 of file adodb-pager.inc.php.

Referenced by Render().

◆ RenderNav()

ADODB_Pager::RenderNav ( )

Definition at line 201 of file adodb-pager.inc.php.

References Render_First().

Referenced by Render().

◆ RenderPageCount()

ADODB_Pager::RenderPageCount ( )

Definition at line 228 of file adodb-pager.inc.php.

Referenced by Render().

Member Data Documentation

◆ $cache

ADODB_Pager::$cache = 0

Definition at line 47 of file adodb-pager.inc.php.

◆ $curr_page

ADODB_Pager::$curr_page

Definition at line 29 of file adodb-pager.inc.php.

Referenced by ADODB_Pager().

◆ $db

ADODB_Pager::$db

Definition at line 26 of file adodb-pager.inc.php.

Referenced by ADODB_Pager().

◆ $first

ADODB_Pager::$first = '<code>|&lt;</code>'

Definition at line 37 of file adodb-pager.inc.php.

Referenced by Render_First().

◆ $gridAttributes

ADODB_Pager::$gridAttributes = 'width=100% border=1 bgcolor=white'

Definition at line 34 of file adodb-pager.inc.php.

◆ $gridHeader

ADODB_Pager::$gridHeader = false

Definition at line 43 of file adodb-pager.inc.php.

◆ $htmlSpecialChars

ADODB_Pager::$htmlSpecialChars = true

Definition at line 44 of file adodb-pager.inc.php.

◆ $id

ADODB_Pager::$id

Definition at line 25 of file adodb-pager.inc.php.

Referenced by ADODB_Pager().

◆ $last

ADODB_Pager::$last = '<code>>|</code>'

Definition at line 40 of file adodb-pager.inc.php.

Referenced by render_last().

◆ $linkSelectedColor

ADODB_Pager::$linkSelectedColor = 'red'

Definition at line 46 of file adodb-pager.inc.php.

◆ $linksPerPage

ADODB_Pager::$linksPerPage =10

Definition at line 31 of file adodb-pager.inc.php.

◆ $moreLinks

ADODB_Pager::$moreLinks = '...'

Definition at line 41 of file adodb-pager.inc.php.

◆ $next

ADODB_Pager::$next = '<code>>></code>'

Definition at line 39 of file adodb-pager.inc.php.

Referenced by render_next().

◆ $page

ADODB_Pager::$page = 'Page'

Definition at line 45 of file adodb-pager.inc.php.

◆ $prev

ADODB_Pager::$prev = '<code>&lt;&lt;</code>'

Definition at line 38 of file adodb-pager.inc.php.

Referenced by render_prev().

◆ $rows

ADODB_Pager::$rows

Definition at line 30 of file adodb-pager.inc.php.

Referenced by Render(), and RenderGrid().

◆ $rs

ADODB_Pager::$rs

Definition at line 28 of file adodb-pager.inc.php.

Referenced by Render().

◆ $showPageLinks

ADODB_Pager::$showPageLinks

Definition at line 32 of file adodb-pager.inc.php.

Referenced by ADODB_Pager().

◆ $sql

ADODB_Pager::$sql

Definition at line 27 of file adodb-pager.inc.php.

Referenced by ADODB_Pager().

◆ $startLinks

ADODB_Pager::$startLinks = '...'

Definition at line 42 of file adodb-pager.inc.php.