Sets whether or not to include racy videos in the search results

@param string $value
@return Zend_Gdata_YouTube_VideoQuery Provides a fluent interface
558337
public function setRacy($value = null)
    {
        switch ($value) {
            case 'include':
                $this->_params['racy'] = $value;
                break;
            case 'exclude':
                $this->_params['racy'] = $value;
                break;
            case null:
                unset($this->_params['racy']);
                break;
        }
        return $this;
    }
1195903
protected function storeVerbatimBlocks($value)
    {
        return preg_replace_callback(
            '/(?<!@)@verbatim(.*?)@endverbatim/s',
            function ($matches) {
                $this->verbatimBlocks[] = $matches[1];

                return $this->verbatimPlaceholder;
            },
            $value
        );
    }
1084716
public function removeFilterByValue($value)
    {
        return $this->removeFilterByFunction(
            function($key, $query) use ($value) {
                $query = $query->getQuery();
                return $query == $value;
            }
        );
    }
1163776
public function setCoreUseWeblinkTarget($value)
    {
        $this->setFieldName('use_weblink_target');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
442411
public function setModel(string $value) : SearchIndex
    {

        if ($this->data['model'] !== $value) {
            $this->data['model'] = $value;
            $this->setModified('model');
        }

        return $this;
    }
872722
public function setContentInset($value) {
    if (is_object($value) && !$value instanceof ContentInset) {
      $this->triggerError('Object not of type ContentInset');
    }
    else {
      $this->contentInset = $value;
    }
    return $this;
  }
729218
public function getProviderAttribute($value)
    {
        if (!isset($this->providers[$value])) {
            throw new \Exception('Video provider '.$value.' not registered');
        }

        return new $this->providers[$value]($this);
    }
610280
public function setCoreRequestMethodStrict($value)
    {
        $this->setFieldName('request_method_strict');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
36190
public function setRed($value)
    {
        $this->assertChannelValue($value, self::CHANNEL_RED);
        $this->red = $value;

        return $this;
    }
1321965
public function setCaption($value) {
		if (JString::startswith($value, "-")) {
			$this->class="dropdown-header";
			$this->role="presentation";
			$this->_template='<li id="%identifier%" class="%class%" role="%role%">%content%</li>';
			if ($value==="-") {
				$this->class="divider";
			}
			$value=substr($value, 1);
		}
		$this->content=$value;
		return $this;
	}
1106078
public function setCoreModxBrowserTreeHideFiles($value)
    {
        $this->setFieldName('modx_browser_tree_hide_files');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
441068
public function filter($value)
    {
        try {
            $handlers = [
                self::CONSTRUCTION_DEPEND_PATTERN => [$this, 'dependDirective'],
                self::CONSTRUCTION_IF_PATTERN     => [$this, 'ifDirective'],
                self::CONSTRUCTION_PATTERN        => [$this, 'directiveLookup']
            ];
            foreach ($handlers as $pattern => $callback) {
                $value = preg_replace_callback($pattern, $callback, $value);
            }
        } catch (Exception $e) {
            $value = '';
            Mage::logException($e);
        }
        return $value;
    }
992791
public function setCorePhpthumbNooffsitelinkWatermarkSrc($value)
    {
        $this->setFieldName('phpthumb_nooffsitelink_watermark_src');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
457756
public function setScopeId(?string $value) : Log
    {

        if ($this->data['scope_id'] !== $value) {
            $this->data['scope_id'] = $value;
            $this->setModified('scope_id');
        }

        return $this;
    }
352244
public function validateVideoLink($attribute, $value, $parameters, $validator)
    {
        return preg_match($this->youtubeRegex, $value) || preg_match($this->vimeoRegex, $value);
    }
312144
protected function shouldMinify($value)
    {
        if ($this->force) {
            return true;
        }

        return !$this->containsBadHtml($value) && !$this->containsBadComments($value);
    }
827538
public function filter($value)
        {
            // start by stripping the comments, if necessary
            if(!$this->allowComments) {
                $value = preg_replace('/<!\-\-.*\-\->/U', '', $value);
            }

            // strip unallowed tags
            $allowed = '';
            foreach($this->allowedTags as $tag) {
                $allowed .= "<{$tag}>";
            }
            $value = strip_tags($value, $allowed);

            // strip unallowed attributes - only if there are allowed tags,
            // otherwise all attributes have already been removed with the tags
            if(!empty($this->allowedTags)) {
                $allowed = $this->allowedAttributes;
                do {
                    $old   = $value;
                    $value = preg_replace_callback('/<[a-zA-Z]+ *(([a-zA-Z_:][\-a-zA-Z0-9_:\.]+) *=.*["\'].*["\']).*>/U', function($matches) use($allowed) {
                        if(in_array($matches[2], $allowed)) {
                            return $matches[0];
                        } else {
                            return repl(' ' . $matches[1], '', $matches[0]);
                        }
                    }, $value);
                } while($old != $value);
            }

            // we're left with the filtered value
            return $value;
        }