Overview

Packages

  • Folks
  • None

Classes

  • Folks
  • Folks_Activity_Form
  • Folks_Api
  • Folks_Application
  • Folks_Block_Activities
  • Folks_Block_Friends
  • Folks_Block_Know
  • Folks_Block_New
  • Folks_Block_Random
  • Folks_Block_Recent
  • Folks_Driver
  • Folks_Driver_sql
  • Folks_Friends
  • Folks_Friends_application
  • Folks_Friends_facebook
  • Folks_Friends_prefs
  • Folks_Friends_shared
  • Folks_Friends_sql
  • Folks_Login_Form
  • Folks_Notification
  • Folks_Notification_facebook
  • Folks_Notification_letter
  • Folks_Notification_mail
  • Folks_Notification_tickets
  • Folks_Search_Form
  • Overview
  • Package
  • Class
  • Tree

Class Folks

Folks Base Class.

Copyright Obala d.o.o. (www.obala.si)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Package: Folks
Author: Duck duck@obala.net
Located at Folks.php
Methods summary
public static
# format_date( string $time )

Returns published videos from user

Returns published videos from user

Parameters

$time
$user User to check
public static
# format_datetime( string $time )

Returns published videos from user

Returns published videos from user

Parameters

$time
$user User to check
public static
# getCountries( )

Returns avaiable countries

Returns avaiable countries

public static
# getImageUrl( string $user, string $view = 'small', boolean $full = false )

Get Image path

Get Image path

Parameters

$user
Image username
$view
View type
$full
Generate a full URL.
public
# getUrlFor( string $controller, array $data = null, boolean $full = false, integer $append_session = 0 )

Return a properly formatted link depending on the global pretty url configuration

Return a properly formatted link depending on the global pretty url configuration

Parameters

$controller
The controller to generate a URL for.
$data
The data needed to generate the URL.
$full
Generate a full URL.
$append_session
<p>0 = only if needed, 1 = always, -1 = never.</p>
public static
# calcAge( mixed $birthday )

Calculate user age

Calculate user age

public static
# getCAPTCHA( mixed $new = false )

Returns a new or the current CAPTCHA string.

Returns a new or the current CAPTCHA string.

public static string
# encodeString( string $string, string $key )

Get encripted cookie login string

Get encripted cookie login string

Parameters

$string
String to encode
$key
Key to encode with

Returns

string
Encripted
public static true
# sendMail( string $to, string $subject, string $body, array $attaches = array() )

Send email with attachments

Send email with attachments

Parameters

$to
$from From address
$subject
Subject of message
$body
Body of message
$attaches
Path of file to attach

Returns

true
on succes, PEAR_Error on failure
public static email
# getUserEmail( string $user )

Fetch user email

Fetch user email

Parameters

$user
Username

Returns

email
on succes, PEAR_Error on failure
public static
# getMenu( )

Build Folks's list of menu items.

Build Folks's list of menu items.

Constants summary
string VFS_PATH
# '.horde/folks'
API documentation generated by ApiGen