JPaginationObject/ construct: Difference between revisions
From Joomla! Documentation
New page:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JPaginatio... |
m preparing for archive only |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
===Syntax=== | ===Syntax=== | ||
<source lang="php">__construct($text, $prefix= '', $base=null, $link=null)</source> | <source lang="php">__construct($text, $prefix= '', $base=null, $link=null)</source> | ||
| Line 48: | Line 41: | ||
</source> | </source> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=__construct | category=__construct | ||
category=JPaginationObject | category=JPaginationObject | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 01:57, 25 March 2017
Syntax
__construct($text, $prefix= '', $base=null, $link=null)
| Parameter Name | Default Value | Description |
|---|---|---|
| $text | ||
| $prefix | ||
| $base | null | |
| $link | null |
Defined in
libraries/joomla/html/pagination.php
Importing
jimport( 'joomla.html.pagination' );
Source Body
public function __construct($text, $prefix = '', $base = null, $link = null)
{
$this->text = $text;
$this->prefix = $prefix;
$this->base = $base;
$this->link = $link;
}
Examples
Code Examples