API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsLocalAbstract Class Reference
Inheritance diagram for XoopsLocalAbstract:

Public Member Functions

 number_format ($number)
 
 money_format ($format, $number)
 
 __call ($name, $args)
 

Static Public Member Functions

static substr ($str, $start, $length, $trimmarker='...')
 
static utf8_encode ($text)
 
static convert_encoding ($text, $to='utf-8', $from='')
 
static trim ($text)
 
static getTimeFormatDesc ()
 
static formatTimestamp ($time, $format='l', $timeoffset=null)
 

Detailed Description

Member Function Documentation

◆ __call()

__call (   $name,
  $args 
)

XoopsLocalAbstract::__call()

Parameters
mixed$name
mixed$args
Returns
mixed

◆ convert_encoding()

static convert_encoding (   $text,
  $to = 'utf-8',
  $from = '' 
)
static

XoopsLocalAbstract::convert_encoding()

Parameters
mixed$text
string$to
string$from
Returns
mixed|string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ formatTimestamp()

static formatTimestamp (   $time,
  $format = 'l',
  $timeoffset = null 
)
static

Function to display formatted times in user timezone

Setting $timeoffset to null (by default) will skip timezone calculation for user, using default timezone instead, which is a MUST for cached contents

Parameters
$time
string$format
null | string$timeoffset
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTimeFormatDesc()

static getTimeFormatDesc ( )
static

Get description for setting time format

◆ money_format()

money_format (   $format,
  $number 
)

XoopsLocalAbstract::money_format()

Parameters
mixed$format
mixed$number
Returns
mixed

Reimplemented in XoopsLocal.

◆ number_format()

number_format (   $number)

XoopsLocalAbstract::number_format()

Parameters
mixed$number
Returns
mixed

Reimplemented in XoopsLocal.

◆ substr()

static substr (   $str,
  $start,
  $length,
  $trimmarker = '...' 
)
static

XoopsLocalAbstract::substr()

Parameters
mixed$str
mixed$start
mixed$length
string$trimmarker
Returns
mixed|string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ trim()

static trim (   $text)
static

XoopsLocalAbstract::trim()

Parameters
mixed$text
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8_encode()

static utf8_encode (   $text)
static

XoopsLocalAbstract::utf8_encode()

Parameters
mixed$text
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: