public function setLeftGlyph($glyphicon) { $glyphs = CssRef::glyphIcons(); if (array_search($glyphicon, $glyphs) !== false) { $this->_glyphs["left"] = $glyphicon; } }