public function addPlaceholder($text, $isPlain = true, $lang = 'en')
    {
        $value = '__placeholder';

        $this->placeholders[$lang] = new Label($text, $this->getLocaleKey('_placeholder'), $isPlain, $lang, $this->name . $value);
    }
public function addPlaceholder($text, $isPlain = true, $lang = 'en')
    {
        $value = '__placeholder';

        $this->placeholders[$lang] = new Label($text, $this->getLocaleKey('_placeholder'), $isPlain, $lang, $this->name . $value);
    }
public function addPlaceholder ( $ text , $ isPlain = true , $ lang = 'en' ) { $ value = '__placeholder' ; $ this -> placeholders [ $ lang ] = new Label ( $ text , $ this -> getLocaleKey ( '_placeholder' ) , $ isPlain , $ lang , $ this -> name . $ value ) ; }
Adds a label to the placeholders collection

@param string $text
@param bool $isPlain
@param string $lang

@return void
Adds a label to the placeholders collection