Skip to content

icms_view_Printerfriendly

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_view_Printerfriendly

Class to manage a printer friendly page

  • Class name: icms_view_Printerfriendly
  • Namespace:

Properties

$_title

public mixed $_title
  • Visibility: public

$_dsc

public mixed $_dsc
  • Visibility: public

$_content

public mixed $_content
  • Visibility: public

$_tpl

public mixed $_tpl
  • Visibility: public

$_pageTitle

public mixed $_pageTitle = \false
  • Visibility: public

$_width

public mixed $_width = 680
  • Visibility: public

Methods

__construct

mixed icms_view_Printerfriendly::__construct(mixed content, mixed title, mixed dsc)

Constructor

  • Visibility: public

Arguments

  • content mixed
  • title mixed
  • dsc mixed

setPageTitle

mixed icms_view_Printerfriendly::setPageTitle(mixed text)
  • Visibility: public

Arguments

  • text mixed

setWidth

mixed icms_view_Printerfriendly::setWidth(mixed width)
  • Visibility: public

Arguments

  • width mixed

render

mixed icms_view_Printerfriendly::render()
  • Visibility: public

generate

mixed icms_view_Printerfriendly::generate(string content, string title, string description, string pagetitle, int width)

Generates a printer friendly version of a page

  • Visibility: public
  • This method is static.

Arguments

  • content string - <p>The HTML content of the page</p>
  • title string - <p>The title of the page</p>
  • description string - <p>The description of the page</p>
  • pagetitle string
  • width int - <p>The width of the page, in pixels</p>
Clone this wiki locally