Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_view_Printerfriendly
  • Overview
  • Package
  • Class

Class icms_view_Printerfriendly

Class to manage a printer friendly page

Package: View\PrinterFriendly
Category: ICMS
Copyright: http://www.impresscms.org/ The ImpressCMS Project
License: GNU General Public License (GPL)
Author: The IcmsFactory <www.smartfactory.ca>
Located at view/Printerfriendly.php
Methods summary
public
# __construct( field_type $content, $title = FALSE, $dsc = FALSE )

Constructor

Constructor

Parameters

$content
bare_field_name
$title
$dsc
public
# setPageTitle( $text )
public
# setWidth( $width )
public
# render( )
public static
# generate( string $content, string $title = FALSE, string $description = FALSE, string $pagetitle = FALSE, integer $width = 680 )

Generates a printer friendly version of a page

Generates a printer friendly version of a page

Parameters

$content
The HTML content of the page
$title
The title of the page
$description
The description of the page
$pagetitle
$width
The width of the page, in pixels
Properties summary
public $_title
#
public $_dsc
#
public $_content
#
public $_tpl
#
public boolean $_pageTitle
# FALSE
public integer $_width
# 680
API documentation generated by ApiGen