parseCurrentBlock() (Previous) (Next) replaceBlock()

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

placeholderExists()

placeholderExists() -- Checks whether the placeholder exists

Descripción

Checks whether the placeholder exists in the template, returns the name of the (first) block that contains the specified placeholder.

Parámetro

string $placeholder

Name of the placeholder you're searching

string $block

Name of the block to scan. If left out (default) all blocks are scanned.

Valor devuelto

return Name of the (first) block that contains the specified placeholder. If the placeholder was not found an empty string is returned.

Nota

Esta función no puede ser llamada estáticamente.

parseCurrentBlock() (Previous) (Next) replaceBlock()

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.