[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/components/com_content/ -> content.html.php (summary)

(no description)

Author: Mambo Foundation Inc see README.php
Copyright: (C) 2000 - 2009 Mambo Foundation Inc.
License: GNU/GPL Version 2, see LICENSE.php
File Size: 1390 lines (38 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

HTML_content:: (26 methods):
  showContentList()
  showCategories()
  showTable()
  showLinks()
  show()
  Title()
  EditIcon()
  PdfIcon()
  EmailIcon()
  Section_Category()
  Section()
  Category()
  Author()
  CreateDate()
  URL()
  TOC()
  ModifiedDate()
  ReadMore()
  Navigation()
  editContent()
  submitbutton()
  setgood()
  WarnUser()
  emailForm()
  submitbutton()
  emailSent()


Class: HTML_content  - X-Ref

Utility class for writing the HTML for content

showContentList( $title, $items, $access, $id=0, $sectionid=NULL, $gid, $params, $pageNav=NULL, $other_categories, $lists )   X-Ref
Draws a Content List
Used by Content Category & Content Section


showCategories( &$params, &$items, $gid, &$other_categories, $catid, $id, $Itemid )   X-Ref
Display links to categories


showTable( &$params, &$items, &$gid, $catid, $id, &$pageNav, &$access, &$sectionid, &$lists )   X-Ref
Display Table of items


showLinks( &$rows, $links, $total, $i=0, $show=1 )   X-Ref
Display links to content items


show( $row, $params, $access, $page=0, $option, $ItemidCount=NULL )   X-Ref
Show a content item

param: object An object with the record data
param: boolean If <code>false</code>, the print button links to a popup window.  If <code>true</code> then the print button invokes the browser print method.

Title( $row, $params, $link_on, $access )   X-Ref
Writes Title


EditIcon( $row, $params, $access )   X-Ref
Writes Edit icon that links to edit page


PdfIcon( $row, $params, $link_on, $hide_js )   X-Ref
Writes PDF icon


EmailIcon( $row, $params, $hide_js )   X-Ref
Writes Email icon


Section_Category( $row, $params )   X-Ref
Writes Container for Section & Category


Section( $row, $params )   X-Ref
Writes Section


Category( $row, $params )   X-Ref
Writes Category


Author( $row, $params )   X-Ref
Writes Author name


CreateDate( $row, $params )   X-Ref
Writes Create Date


URL( $row, $params )   X-Ref
Writes URL's


TOC( $row )   X-Ref
Writes TOC


ModifiedDate( $row, $params )   X-Ref
Writes Modified Date


ReadMore( $params, $link_on, $link_text )   X-Ref
Writes Readmore Button


Navigation( $row, $params )   X-Ref
Writes Next & Prev navigation button


editContent( &$row, $section, &$lists, &$images, &$access, $myid, $sectionid, $task, $Itemid )   X-Ref
Writes the edit form for new and existing content item

A new record is defined when <var>$row</var> is passed with the <var>id</var>
property set to 0.
param: mosContent The category object
param: string The html for the groups select list

submitbutton(pressbutton)   X-Ref
No description

setgood()   X-Ref
No description

WarnUser()   X-Ref
No description

emailForm( $uid, $title, $template='' )   X-Ref
Writes Email form for filling in the send destination


submitbutton()   X-Ref
No description

emailSent( $to, $template='' )   X-Ref
Writes Email sent popup

param: string Who it was sent to
param: string The current template