set calendar component property description

@author Kjell-Inge Gustafsson <ical@kigkonsult.se>
@since 0.9.18 - 2007-03-18
@param string $value
@param array $params optional
@return void
765192
function setDescription( $value, $params=FALSE ) {
    $description['value']  = $value;
    $description['params'] = $this->_setParams( $params );
    $this->description[]   = $description;
  }
101071
public function setComponentParameter(string $componentClassName, string $parameterName, $value): void
    {
        if (!isset($this->componentParameters[$componentClassName])) {
            $this->componentParameters[$componentClassName] = [];
        }
        $this->componentParameters[$componentClassName][$parameterName] = $value;
    }
918643
public function setDateVerified( $value )
	{
		if( $value === $this->getDateVerified() ) { return; }

		$this->_checkDateOnlyFormat( $value );

		$this->_values['vdate'] = ( $value ? (string) $value : null );
		$this->setModified();
	}
1191627
function setTzoffsetto( $value, $params=FALSE ) {
    $this->tzoffsetto['value']  = $value;
    if( empty( $this->tzoffsetto['value'] ))
      return;
    $this->tzoffsetto['params'] = $this->_setParams( $params );
  }
812274
protected function memorizeParam($param, $value)
    {
        if ($this->paramsMemorizeAllowed && !$this->session->getParamsMemorizeDisabled()) {
            $this->session->setData($param, $value);
        }

        return $this;
    }
1082704
function setResources( $value, $params=FALSE ) {
    $input = array();
    $input['value']    = $value;
    $input['params']   = $this->_setParams( $params );
    $this->resources[] = $input;
  }
1051082
private function check($value, $params) {
		
		$timestamp = strtotime($value);

		if(true === is_int($timestamp)) {
			return true === (date($params[0], $timestamp) == $value);
		}

		return false;
	}
657970
public function setScenario($value)
    {
        if(array_key_exists($value, $this->dataProperties->scenarios())) $this->dataProperties->setScenario($value);
        parent::setScenario($value); // TODO: Change the autogenerated stub
    }
1373454
public void setValue(final String value) throws ParseException {
        // value can be either a date-time or a date..
        if (Value.DATE.equals(getParameter(Parameter.VALUE))) {
            // ensure timezone is null for VALUE=DATE properties..
            updateTimeZone(null);
            this.date = new Date(value);
        } else if (value != null && !value.isEmpty()){
            this.date = new DateTime(value, timeZone);
        }
    }
108035
public function setParam($param, $value = null)
    {
        if (is_string($param)) {
            $this->_params[$param] = $value;

            return $this;
        }

        if (is_array($param)) {
            foreach ($param as $key => $value) {
                $this->_params[$key] = $value;
            }
        }

        return $this;
    }
566734
function setTransp( $value, $params=FALSE ) {
    $this->transp['value']  = $value;
    $this->transp['params'] = $this->_setParams( $params );
  }
234613
function setClass( $value, $params=FALSE ) {
    $this->class['value']  = $value;
    $this->class['params'] = $this->_setParams( $params );
  }
717986
public function setDescriptionAttribute($value)
    {
        $this->attributes['description'] = ! empty($value) ? json_encode(! is_array($value) ? [app()->getLocale() => $value] : $value) : null;
    }
206069
function set($parm, $value = null)
    {
        if(is_array($parm)){
            foreach($parm as $k=>$v){ $this->__columns[$k] = $v; }
            return $this;
        }
        elseif(isset($this->__columns[$parm])) {
            $this->__columns[$parm] = $value;
            return $this;
        }
        else return false;
    }
1261070
public static function typeDate($value, array $params, array $field)
    {
        if (!isset($params['format'])) {
            $params['format'] = 'Y-m-d';
        }

        return self::typeDatetime($value, $params, $field);
    }
372170
public function setModelAttribute($value)
    {
        $value = ! empty($value)
            ? Carbon::createFromFormat($this->getPickerFormat(), $value, $this->getTimezone())
                    ->timezone(config('app.timezone'))->format($this->getFormat())
            : null;

        parent::setModelAttribute($value);
    }
784557
public function set( $key, $value, $param = null ) 
	{
		if ( $param === true )
		{
			$value = CCStr::htmlentities( $value );
		}
		
		return CCArr::set( $key, $value, $this->_data );
	}