public getAttributes ( array $arrStrip = [] ) : string | ||
$arrStrip | array | An optional array with attributes to strip |
return | string | The attributes string |
public function getAttributes($arrStrip = array())
{
$strAttributes = '';
foreach (array_keys($this->arrAttributes) as $strKey) {
if (!in_array($strKey, $arrStrip)) {
$strAttributes .= $this->getAttribute($strKey);
}
}
return $strAttributes;
}