[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/components/com_contact/ -> controller.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: controller.php 14974 2010-02-21 14:32:22Z ian $
File Size: 423 lines (12 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ContactController:: (5 methods):
  display()
  submit()
  vcard()
  _validateInputs()
  _checkText()


Class: ContactController  - X-Ref

Contact Component Controller

display()   X-Ref
Display the view


submit()   X-Ref
Method to send an email to a contact


vcard()   X-Ref
Method to output a vCard


_validateInputs( $contact, $email, $subject, $body )   X-Ref
Validates some inputs based on component configuration

param: Object    $contact    JTable Object
param: String    $email        Email address
param: String    $subject    Email subject
param: String    $body        Email body
return: Boolean

_checkText($text, $list)   X-Ref
Checks $text for values contained in the array $array, and sets error message if true...

param: String    $text        Text to search against
param: String    $list        semicolon (;) seperated list of banned values
return: Boolean



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1