[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/core/ -> collapse_api.php (summary)

Collapse API

Copyright: Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
Copyright: Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
File Size: 241 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  collapse_open()
  collapse_closed()
  collapse_icon()
  collapse_end()
  collapse_display()
  collapse_cache_token()

Functions
Functions that are not part of a class:

collapse_open( $p_name, $p_section = '' )   X-Ref
Marks the beginning of a collapse block's open phase.
This will be visible if the block is expanded, or if
javascript is disabled.

param: string Collapse block name
param: string Collapse block section

collapse_closed( $p_name, $p_section = '' )   X-Ref
Marks the end of a collapse block's open phase and the beginning
of the block's closed phase.  Thi will only be visible if the
block have been collapsed and javascript is enabled.

param: string Collapse block name
param: string Collapse block section

collapse_icon( $p_name, $p_section = '' )   X-Ref
Marks the location where a +/- icon is placed in output
for the user to toggle the collapse block status.
This should appear in both the open and closed phase of a block.

param: string Collapse block name
param: string Collapse block section

collapse_end( $p_name, $p_section = '' )   X-Ref
Marks the end of a collaps block's closed phase.
Closed phase output is discarded if javascript is disabled.

param: string Collapse block name
param: string Collapse block section

collapse_display( $p_block )   X-Ref
Determine if a block should be displayed open by default.

param: string Collapse block
return: bool

collapse_cache_token()   X-Ref
Cache collapse API data from the database for the current user.
If the collapse cookie has been set, grab the changes and resave
the token, or touch it otherwise.




Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7