Enable/disable the use of XML to object mapping.

@param boolean $value Pass in true to use the XML to object mapping.
Pass in false or null to disable it.
@return void
434370
public function useObjectMapping($value)
    {
        if ($value === True) {
            $this->_useObjectMapping = true;
        } else {
            $this->_useObjectMapping = false;
        }
    }
872729
public function setCreatedAt($value)
    {
        if (! is_null($column = $this->getCreatedAtColumn())) {
            $this->setAttribute($column, $value);
        }
    }
434612
public function setCheck($value)
    {
        $check = StringHelper::booleanValue($value);
        $this->check = $check;
        if ($check) {
            $this->flags .= ' --check ';
        } else {
            $this->flags = str_replace(' --check ', '', $this->flags);
        }
    }
1122302
public function setWasConverterUsed($value, $alias = null)
    {
        if ($alias) {
            $this->converterAliasUsed[$alias] = (bool) $value;
        } else {
            $this->converterUsed = (bool) $value;
        }
    }
355865
public function useDebug($value = true)
    {
        if (!$value) {
            // reset query logging
            $this->setLastExecutedQuery('');
            $this->queryCount = 0;
        }
        $this->clearStatementCache();
        $this->useDebug = $value;
    }
332178
public function setValueAttribute($value)
    {
        $registry = $this->getDataTypeRegistry();

        $this->attributes['type'] = $registry->getTypeForValue($value);
        $this->attributes['value'] = $registry->getHandlerForType($this->type)
            ->serializeValue($value);

        $this->cachedValue = null;
    }
1250224
public function setExpand($value)
    {
        $expand = StringHelper::booleanValue($value);
        if ($expand) {
            $this->flags = str_replace(' --style ' . $this->style, '', $this->flags);
            $this->flags .= ' --style expanded';
            $this->style = 'expanded';
        }
    }
1239670
public function setHash($value) {
        // TODO: freeze the instance after configuration and automatically call copy()

        if (isset($value)) {
            if (!is_scalar($value)) throw new IllegalTypeException('Illegal type of parameter $value: '.gettype($value));
            if (is_bool($value))
                $value = (int) $value;
        }
        $value = (string) $value;
        $path = $this->getPath();
        $this->setPath(strLeftTo($path, '#', $count=1, $includeLimiter=false, $onNotFound=$path).'#'.$value);

        return $this;
    }
619666
public function setIsActiveAttribute($value)
    {
        $this->attributes['is_active'] = $value == 1 || $value === 'true' || $value === true ? true : false;
    }
1291064
public function setSingleAttribute($value): void
    {
        $value = $value[0] ?? (is_array($value) ? '' : $value);

        $this->attributes['single'] = (bool) trim(strip_tags($value));
    }
784672
public function setXmlBasicMetadata(\AgentSIB\Diadoc\Api\Proto\Events\EncryptedXmlBasicDocumentMetadata $value)
    {
        $this->XmlBasicMetadata = $value;
    }
784720
public function setValue($value)
    {
        if ($this->value instanceof Binding && !($value instanceof Binding)) {
            $this->value->setValue($value);
        } else {
            $this->value = $value;
        }
    }
1342814
public function replaceValue($value)
    {
        foreach ($this->_children as $i => $child) {
            if ($child instanceof XMLElement) {
                continue;
            }

            unset($this->_children[$i]);
        }

        $this->setValue($value);
    }
1110414
public function setVerifyPeer($value = FALSE)
    {
        if (!$value) {
            $this->verifyPeer = FALSE;
        } else {
            $this->verifyPeer = TRUE;
        }
    }
756328
public static function detectAjax($value = true)
    {
        if ($value === 'end' && PrintHelper::isAjax()) {
            self::quit();
        } else {
            if (self::$detectAjax = (bool)$value) {
                echo self::_scriptTag();
            }
        }
    }
1271921
public function setDescriptionAttribute($value)
    {
        if (strlen($value) > 255) {
            $value = substr($value, 0, 255);
        }

        $this->attributes['description'] = $value;
    }
514226
function setValue( $value )
    {
        $this->Value = $value;
        if ( $value instanceof ggWebservicesFault || $value instanceof eZSOAPFault )
        {
            $this->IsFault = true;
            $this->FaultCode = $value->faultCode();
            $this->FaultString = $value->faultString();
        }
        else
        {
            $this->IsFault = false;
        }
    }