/*! set custom cell attribute

@param name
name of column
@param attr
name of attribute
@param value
value of attribute
356382
function set_cell_attribute($name,$attr,$value){
		if (!array_key_exists($name, $this->cell_attrs)) $this->cell_attrs[$name]=array();
		$this->cell_attrs[$name][$attr]=$value;
	}
568606
@Override
    public void setAttribute(String name, Object value) {
        if (name.startsWith(IPortletRenderer.RENDERER_ATTRIBUTE_PREFIX)) {
            throw new IllegalArgumentException(
                    "Portlets cannot set attributes that start with: "
                            + IPortletRenderer.RENDERER_ATTRIBUTE_PREFIX);
        }

        this.attributes.put(name, value);
    }
32588
public function setRawColumnValue(string $name, $value): void
	{
		$this->columns[$name] = $this->cast($name, $value);
	}
966967
public void changeAttribute (String name, Object value)
    {
        Accessor acc = getAccessor(name);
        requestAttributeChange(name, value, acc.get(this));
        acc.set(this, value);
    }
59538
@Override
    public void setAttribute(final String name, final String value) {
        hash.put(name, value);
    }
100220
public void setStringAttribute(String name, String value) {
		Attribute attribute = getAttributes().get(name);
		if (!(attribute instanceof StringAttribute)) {
			throw new IllegalStateException("Cannot set boolean value on attribute with different type, " +
					attribute.getClass().getName() + " setting value " + value);
		}
		((StringAttribute) attribute).setValue(value);
	}
769183
private void setAttrValue(final AttrName _attrName,
                              final String _value)
    {
        synchronized (this.attrValues) {
            this.attrValues.put(_attrName, _value);
        }
    }
495192
@Override
    public BaseJsonBo setAttribute(String attrName, Object value) {
        return setAttribute(attrName, value, true);
    }
712815
public function set_attribute($name, $value){
		if (method_exists($this->child, 'set_attribute')) {
			LogMaster::log("setting attribute: \nname = {$name}\nvalue = {$value}");
			$this->child->set_attribute($name, $value);
		} else {
			LogMaster::log("set_attribute method doesn't exists");
		}
	}
928757
public void setAttributeValue(final AttributeValue attrval) {
	this.attrval.value = attrval.value;
	this.attrval.name = attrval.name;
	this.attrval.quality = attrval.quality;
	this.attrval.time = attrval.time;
	this.attrval.r_dim.dim_x = attrval.dim_x;
	this.attrval.r_dim.dim_y = attrval.dim_y;
	this.attrval.w_dim.dim_x = 0;
	this.attrval.w_dim.dim_y = 0;
	this.attrval.err_list = null;
    }
79694
public void setDateAttribute(String name, Date value) {
		ensureAttributes();
		Attribute attribute = new DateAttribute(value);
		attribute.setEditable(isEditable(name));
		getAllAttributes().put(name, attribute);
	}
40297
HtmlTag attr(String name, String value) {
        if (attrs == null) {
            attrs = new HashMap<>();
        }
        attrs.put(name, value);
        return this;
    }
270221
public void setCurrencyAttribute(String name, String value) {
		ensureValue();
		Attribute attribute = new CurrencyAttribute(value);
		attribute.setEditable(isEditable(name));
		getValue().getAllAttributes().put(name, attribute);
	}
7626
public T attr(String name, String value) throws IOException {
		if (value != null) {
			writer.write(' ');
			writer.write(name);
			writer.write("=\"");
			writer.write(value);
			writer.write('\"');
		}
		return (T) this;
	}
785606
public void setIntegerAttribute(String name, Integer value) {
		ensureValue();
		Attribute attribute = new IntegerAttribute(value);
		attribute.setEditable(isEditable(name));
		getValue().getAllAttributes().put(name, attribute);
	}
857089
public void setAttribute(final String name, final Attribute attribute) {
        if (name.equals(MAP_KEY)) {
            this.mapAttribute = (MapAttribute) attribute;
        }
    }
1215362
public function attrSet($name, $value)
    {
        $idx = $this->attrIndex($name);
        $attrData = [ $name, $value ];

        if ($idx < 0) {
            $this->attrPush($attrData);
        } else {
            $this->attrs[$idx] = $attrData;
        }
    }