ArininAV

Config_Container::createComment()

Config_Container::createComment() -- Add comment to item

Synopsis

require_once 'Config/Container.php';

objectConfig_Container::createComment ([string $content = '' [, string $where = 'bottom' [, object $target = NULL]]])

Описание

The current item must be a section. This is a helper method that calls createItem()

Параметр

string $content

Comment content

string $where

Where to create the new item ('top', 'bottom', 'before', 'after')

object $target

Required only if 'before' or 'after' is used for $where

Возвращаемое значение

object - reference to new item

Throws

Таблица 30-1. Возможные значения PEAR_Error

Error codeError valueMeaningSolution
 ""  

Заметка

Эта функция не должна вызываться статически.

Пример