Overview   Package   Tree   Index 
Tv2 documentation
PREV  NEXT FRAMES  NO FRAME 

Functions for the Package tv2-engine

Function Summary
array ctlSetIntersect(array $a, array $b)
Returns an intersection of two sets.
array ctlSetSubtract(array $a, array $b)
Subtracts one set from the other
array ctlSetUnion(array $a, array $b)
Returns a union of two sets.
object& loadTv2Module(string $name)
Loads a specified module
array mapTv2Module(string $name, [string $method], [string $site_method])
Returns array for the map


Function Detail

ctlSetIntersect()

array ctlSetIntersect(array $a, array $b)

Returns an intersection of two sets.

Parameters:
a - 1st union
b - 2d union
Returns:
intersection array

ctlSetSubtract()

array ctlSetSubtract(array $a, array $b)

Subtracts one set from the other

Parameters:
a - 1st union
b - 2d union
Returns:
difference array

ctlSetUnion()

array ctlSetUnion(array $a, array $b)

Returns a union of two sets.

Parameters:
a - 1st union
b - 2d union
Returns:
union array

loadTv2Module()

object& loadTv2Module(string $name)

Loads a specified module

Parameters:
name - module name, specified in $apps variable in config
Returns:
object module object
Uses the global variables:
$apps

mapTv2Module()

array mapTv2Module(string $name, [string $method], [string $site_method])

Returns array for the map

Parameters:
name - module name, specified in $apps variable in config
method - Module method to call (default 'dispatch')
site_method - Site method to use (default 'passthru')
Returns:
array for the map
Uses the global variables:
$apps

 Overview   Package   Tree   Index 
Tv2 documentation
PREV  NEXT FRAMES  NO FRAME 

Submit a bug

This document was generated by phpdocgen 0.17-rc3.
Copyright © 2002-03 Stéphane GALLAND (under the GNU General Public License)