API16

JPaginationObject/ construct: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 1: Line 1:
{{subst:Description:JPaginationObject/__construct}}
===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 44: Line 42:




{{subst:SeeAlso:JPaginationObject/__construct}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=__construct
  category=__construct
  category=JPaginationObject
  category=JPaginationObject
  category=CodeExample
  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