collapse_cache_token [line 201]
void collapse_cache_token(
)
|
|
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.
collapse_closed [line 101]
void collapse_closed(
string $p_name, [string $p_section = '']
)
|
|
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.
Parameters:
|
string |
$p_name: |
Collapse block name |
|
string |
$p_section: |
Collapse block section |
collapse_display [line 186]
bool collapse_display(
string $p_block
)
|
|
Determine if a block should be displayed open by default.
Parameters:
|
string |
$p_block: |
Collapse block |
collapse_end [line 156]
void collapse_end(
string $p_name, [string $p_section = '']
)
|
|
Marks the end of a collaps block's closed phase.
Closed phase output is discarded if javascript is disabled.
Parameters:
|
string |
$p_name: |
Collapse block name |
|
string |
$p_section: |
Collapse block section |
collapse_icon [line 129]
void collapse_icon(
string $p_name, [string $p_section = '']
)
|
|
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.
Parameters:
|
string |
$p_name: |
Collapse block name |
|
string |
$p_section: |
Collapse block section |
collapse_open [line 76]
void collapse_open(
string $p_name, [string $p_section = '']
)
|
|
Marks the beginning of a collapse block's open phase.
This will be visible if the block is expanded, or if javascript is disabled.
Parameters:
|
string |
$p_name: |
Collapse block name |
|
string |
$p_section: |
Collapse block section |