repo stringlengths 6 63 | path stringlengths 5 140 | func_name stringlengths 3 151 | original_string stringlengths 84 13k | language stringclasses 1 value | code stringlengths 84 13k | code_tokens list | docstring stringlengths 3 47.2k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 91 247 | partition stringclasses 1 value |
|---|---|---|---|---|---|---|---|---|---|---|---|
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailSmtpAuth | public function setCoreMailSmtpAuth($value)
{
$this->setFieldName('mail_smtp_auth');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailSmtpAuth($value)
{
$this->setFieldName('mail_smtp_auth');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailSmtpAuth",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_smtp_auth'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | SMTP Authentication ~
Sets SMTP authentication. Utilizes the mail_smtp_user and mail_smtp_pass settings.
@param bool $value
@return $this | [
"SMTP",
"Authentication",
"~",
"Sets",
"SMTP",
"authentication",
".",
"Utilizes",
"the",
"mail_smtp_user",
"and",
"mail_smtp_pass",
"settings",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2228-L2235 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailSmtpKeepalive | public function setCoreMailSmtpKeepalive($value)
{
$this->setFieldName('mail_smtp_keepalive');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailSmtpKeepalive($value)
{
$this->setFieldName('mail_smtp_keepalive');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailSmtpKeepalive",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_smtp_keepalive'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | SMTP Keep-Alive ~
Prevents the SMTP connection from being closed after each mail sending. Not recommended.
@param bool $value
@return $this | [
"SMTP",
"Keep",
"-",
"Alive",
"~",
"Prevents",
"the",
"SMTP",
"connection",
"from",
"being",
"closed",
"after",
"each",
"mail",
"sending",
".",
"Not",
"recommended",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2281-L2288 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailSmtpPass | public function setCoreMailSmtpPass($value)
{
$this->setFieldName('mail_smtp_pass');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailSmtpPass($value)
{
$this->setFieldName('mail_smtp_pass');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailSmtpPass",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_smtp_pass'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | SMTP Password ~
The password to authenticate to SMTP against.
@param string $value
@return $this | [
"SMTP",
"Password",
"~",
"The",
"password",
"to",
"authenticate",
"to",
"SMTP",
"against",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2298-L2305 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailSmtpPort | public function setCoreMailSmtpPort($value)
{
$this->setFieldName('mail_smtp_port');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailSmtpPort($value)
{
$this->setFieldName('mail_smtp_port');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailSmtpPort",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_smtp_port'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | SMTP Port ~
Sets the default SMTP server port.
@param string $value
@return $this | [
"SMTP",
"Port",
"~",
"Sets",
"the",
"default",
"SMTP",
"server",
"port",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2316-L2323 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailSmtpPrefix | public function setCoreMailSmtpPrefix($value)
{
$this->setFieldName('mail_smtp_prefix');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailSmtpPrefix($value)
{
$this->setFieldName('mail_smtp_prefix');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailSmtpPrefix",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_smtp_prefix'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value... | SMTP Connection Prefix ~
Sets connection prefix. Options are "", "ssl" or "tls"
@param string $value
@return $this | [
"SMTP",
"Connection",
"Prefix",
"~",
"Sets",
"connection",
"prefix",
".",
"Options",
"are",
"ssl",
"or",
"tls"
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2334-L2341 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailSmtpSingleTo | public function setCoreMailSmtpSingleTo($value)
{
$this->setFieldName('mail_smtp_single_to');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailSmtpSingleTo($value)
{
$this->setFieldName('mail_smtp_single_to');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailSmtpSingleTo",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_smtp_single_to'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"... | SMTP Single To ~
Provides the ability to have the TO field process individual emails, instead of sending to entire TO addresses.
@param bool $value
@return $this | [
"SMTP",
"Single",
"To",
"~",
"Provides",
"the",
"ability",
"to",
"have",
"the",
"TO",
"field",
"process",
"individual",
"emails",
"instead",
"of",
"sending",
"to",
"entire",
"TO",
"addresses",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2352-L2359 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailSmtpTimeout | public function setCoreMailSmtpTimeout($value)
{
$this->setFieldName('mail_smtp_timeout');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailSmtpTimeout($value)
{
$this->setFieldName('mail_smtp_timeout');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailSmtpTimeout",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_smtp_timeout'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"val... | SMTP Timeout ~
Sets the SMTP server timeout in seconds. This function will not work in win32 servers.
@param string $value
@return $this | [
"SMTP",
"Timeout",
"~",
"Sets",
"the",
"SMTP",
"server",
"timeout",
"in",
"seconds",
".",
"This",
"function",
"will",
"not",
"work",
"in",
"win32",
"servers",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2369-L2376 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailSmtpUser | public function setCoreMailSmtpUser($value)
{
$this->setFieldName('mail_smtp_user');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailSmtpUser($value)
{
$this->setFieldName('mail_smtp_user');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailSmtpUser",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_smtp_user'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | SMTP User ~
The user to authenticate to SMTP against.
@param string $value
@return $this | [
"SMTP",
"User",
"~",
"The",
"user",
"to",
"authenticate",
"to",
"SMTP",
"against",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2387-L2394 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailUseSmtp | public function setCoreMailUseSmtp($value)
{
$this->setFieldName('mail_use_smtp');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailUseSmtp($value)
{
$this->setFieldName('mail_use_smtp');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailUseSmtp",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_use_smtp'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
"... | Use SMTP ~
If true, MODX will attempt to use SMTP in mail functions.
@param bool $value
@return $this | [
"Use",
"SMTP",
"~",
"If",
"true",
"MODX",
"will",
"attempt",
"to",
"use",
"SMTP",
"in",
"mail",
"functions",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2405-L2412 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMainNavParent | public function setCoreMainNavParent($value)
{
$this->setFieldName('main_nav_parent');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMainNavParent($value)
{
$this->setFieldName('main_nav_parent');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMainNavParent",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'main_nav_parent'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",... | Main menu parent ~
The container used to pull all records for the main menu.
@param string $value
@return $this | [
"Main",
"menu",
"parent",
"~",
"The",
"container",
"used",
"to",
"pull",
"all",
"records",
"for",
"the",
"main",
"menu",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2422-L2429 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreManagerDirection | public function setCoreManagerDirection($value)
{
$this->setFieldName('manager_direction');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreManagerDirection($value)
{
$this->setFieldName('manager_direction');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreManagerDirection",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'manager_direction'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"va... | Manager Text Direction ~
Choose the direction that the text will be rendered in the Manager, left to right or right to left.
@param string $value
@return $this | [
"Manager",
"Text",
"Direction",
"~",
"Choose",
"the",
"direction",
"that",
"the",
"text",
"will",
"be",
"rendered",
"in",
"the",
"Manager",
"left",
"to",
"right",
"or",
"right",
"to",
"left",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2458-L2465 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreManagerLangAttribute | public function setCoreManagerLangAttribute($value)
{
$this->setFieldName('manager_lang_attribute');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreManagerLangAttribute($value)
{
$this->setFieldName('manager_lang_attribute');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreManagerLangAttribute",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'manager_lang_attribute'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"... | Manager HTML and XML Language Attribute ~
Enter the language code that best fits with your chosen manager language, this will ensure that the browser can present content in the best format for you.
@param string $value
@return $this | [
"Manager",
"HTML",
"and",
"XML",
"Language",
"Attribute",
"~",
"Enter",
"the",
"language",
"code",
"that",
"best",
"fits",
"with",
"your",
"chosen",
"manager",
"language",
"this",
"will",
"ensure",
"that",
"the",
"browser",
"can",
"present",
"content",
"in",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2564-L2571 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreManagerLanguage | public function setCoreManagerLanguage($value)
{
$this->setFieldName('manager_language');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreManagerLanguage($value)
{
$this->setFieldName('manager_language');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreManagerLanguage",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'manager_language'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"valu... | Manager Language ~
Select the language for the MODX Content Manager.
@param string $value
@return $this | [
"Manager",
"Language",
"~",
"Select",
"the",
"language",
"for",
"the",
"MODX",
"Content",
"Manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2582-L2589 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreManagerLoginUrlAlternate | public function setCoreManagerLoginUrlAlternate($value)
{
$this->setFieldName('manager_login_url_alternate');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreManagerLoginUrlAlternate($value)
{
$this->setFieldName('manager_login_url_alternate');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreManagerLoginUrlAlternate",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'manager_login_url_alternate'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
... | Alternate Manager Login URL ~
An alternate URL to send an unauthenticated user to when they need to login to the manager. The login form there must login the user to the "mgr" context to work.
@param string $value
@return $this | [
"Alternate",
"Manager",
"Login",
"URL",
"~",
"An",
"alternate",
"URL",
"to",
"send",
"an",
"unauthenticated",
"user",
"to",
"when",
"they",
"need",
"to",
"login",
"to",
"the",
"manager",
".",
"The",
"login",
"form",
"there",
"must",
"login",
"the",
"user",... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2600-L2607 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreManagerTheme | public function setCoreManagerTheme($value)
{
$this->setFieldName('manager_theme');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreManagerTheme($value)
{
$this->setFieldName('manager_theme');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreManagerTheme",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'manager_theme'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Manager Theme ~
Select the Theme for the Content Manager.
@param string $value
@return $this | [
"Manager",
"Theme",
"~",
"Select",
"the",
"Theme",
"for",
"the",
"Content",
"Manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2618-L2625 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreManagerUseFullname | public function setCoreManagerUseFullname($value)
{
$this->setFieldName('manager_use_fullname');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreManagerUseFullname($value)
{
$this->setFieldName('manager_use_fullname');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreManagerUseFullname",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'manager_use_fullname'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Show fullname in manager header ~
If set to yes, the content of the "fullname" field will be shown in manager instead of "loginname"
@param bool $value
@return $this | [
"Show",
"fullname",
"in",
"manager",
"header",
"~",
"If",
"set",
"to",
"yes",
"the",
"content",
"of",
"the",
"fullname",
"field",
"will",
"be",
"shown",
"in",
"manager",
"instead",
"of",
"loginname"
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2654-L2661 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMgrSourceIcon | public function setCoreMgrSourceIcon($value)
{
$this->setFieldName('mgr_source_icon');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMgrSourceIcon($value)
{
$this->setFieldName('mgr_source_icon');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMgrSourceIcon",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mgr_source_icon'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",... | Media Source icon ~
Indicate a CSS class to be used to display the Media Sources icons in the files tree. Defaults to "icon-folder-open-o"
@param string $value
@return $this | [
"Media",
"Source",
"icon",
"~",
"Indicate",
"a",
"CSS",
"class",
"to",
"be",
"used",
"to",
"display",
"the",
"Media",
"Sources",
"icons",
"in",
"the",
"files",
"tree",
".",
"Defaults",
"to",
"icon",
"-",
"folder",
"-",
"open",
"-",
"o"
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2689-L2696 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMgrTreeIconContext | public function setCoreMgrTreeIconContext($value)
{
$this->setFieldName('mgr_tree_icon_context');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMgrTreeIconContext($value)
{
$this->setFieldName('mgr_tree_icon_context');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMgrTreeIconContext",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mgr_tree_icon_context'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",... | Context tree icon ~
Define a CSS class here to be used to display the context icon in the tree. You can use this setting on each context to customize the icon per context.
@param string $value
@return $this | [
"Context",
"tree",
"icon",
"~",
"Define",
"a",
"CSS",
"class",
"here",
"to",
"be",
"used",
"to",
"display",
"the",
"context",
"icon",
"in",
"the",
"tree",
".",
"You",
"can",
"use",
"this",
"setting",
"on",
"each",
"context",
"to",
"customize",
"the",
"... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2707-L2714 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreModxBrowserTreeHideFiles | public function setCoreModxBrowserTreeHideFiles($value)
{
$this->setFieldName('modx_browser_tree_hide_files');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreModxBrowserTreeHideFiles($value)
{
$this->setFieldName('modx_browser_tree_hide_files');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreModxBrowserTreeHideFiles",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'modx_browser_tree_hide_files'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
... | Media Browser Tree Hide Files ~
If true the files inside folders are not displayed in the Media Browser source tree. Defaults to false.
@param bool $value
@return $this | [
"Media",
"Browser",
"Tree",
"Hide",
"Files",
"~",
"If",
"true",
"the",
"files",
"inside",
"folders",
"are",
"not",
"displayed",
"in",
"the",
"Media",
"Browser",
"source",
"tree",
".",
"Defaults",
"to",
"false",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2761-L2768 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreModxBrowserTreeHideTooltips | public function setCoreModxBrowserTreeHideTooltips($value)
{
$this->setFieldName('modx_browser_tree_hide_tooltips');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreModxBrowserTreeHideTooltips($value)
{
$this->setFieldName('modx_browser_tree_hide_tooltips');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreModxBrowserTreeHideTooltips",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'modx_browser_tree_hide_tooltips'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldVa... | Media Browser Tree Hide Tooltips ~
If true, no image preview tooltips are shown when hovering over a file in the Media Browser tree. Defaults to true.
@param bool $value
@return $this | [
"Media",
"Browser",
"Tree",
"Hide",
"Tooltips",
"~",
"If",
"true",
"no",
"image",
"preview",
"tooltips",
"are",
"shown",
"when",
"hovering",
"over",
"a",
"file",
"in",
"the",
"Media",
"Browser",
"tree",
".",
"Defaults",
"to",
"true",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2778-L2785 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreModxCharset | public function setCoreModxCharset($value)
{
$this->setFieldName('modx_charset');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreModxCharset($value)
{
$this->setFieldName('modx_charset');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreModxCharset",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'modx_charset'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")... | Character encoding ~
Please select which character encoding you wish to use. Please note that MODX has been tested with a number of these encodings, but not all of them. For most languages, the default setting of UTF-8 is preferable.
@param string $value
@return $this | [
"Character",
"encoding",
"~",
"Please",
"select",
"which",
"character",
"encoding",
"you",
"wish",
"to",
"use",
".",
"Please",
"note",
"that",
"MODX",
"has",
"been",
"tested",
"with",
"a",
"number",
"of",
"these",
"encodings",
"but",
"not",
"all",
"of",
"t... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2795-L2802 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreParserRecurseUncacheable | public function setCoreParserRecurseUncacheable($value)
{
$this->setFieldName('parser_recurse_uncacheable');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreParserRecurseUncacheable($value)
{
$this->setFieldName('parser_recurse_uncacheable');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreParserRecurseUncacheable",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'parser_recurse_uncacheable'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
... | Delay Uncacheable Parsing ~
If disabled, uncacheable elements may have their output cached inside cacheable element content. Disable this ONLY if you are having problems with complex nested parsing which stopped working as expected.
@param bool $value
@return $this | [
"Delay",
"Uncacheable",
"Parsing",
"~",
"If",
"disabled",
"uncacheable",
"elements",
"may",
"have",
"their",
"output",
"cached",
"inside",
"cacheable",
"element",
"content",
".",
"Disable",
"this",
"ONLY",
"if",
"you",
"are",
"having",
"problems",
"with",
"compl... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2813-L2820 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePasswordGeneratedLength | public function setCorePasswordGeneratedLength($value)
{
$this->setFieldName('password_generated_length');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePasswordGeneratedLength($value)
{
$this->setFieldName('password_generated_length');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePasswordGeneratedLength",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'password_generated_length'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(... | Password Auto-Generated Length ~
The length of the auto-generated password for a User.
@param string $value
@return $this | [
"Password",
"Auto",
"-",
"Generated",
"Length",
"~",
"The",
"length",
"of",
"the",
"auto",
"-",
"generated",
"password",
"for",
"a",
"User",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2830-L2837 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePasswordMinLength | public function setCorePasswordMinLength($value)
{
$this->setFieldName('password_min_length');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePasswordMinLength($value)
{
$this->setFieldName('password_min_length');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePasswordMinLength",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'password_min_length'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Minimum Password Length ~
The minimum length for a password for a User.
@param string $value
@return $this | [
"Minimum",
"Password",
"Length",
"~",
"The",
"minimum",
"length",
"for",
"a",
"password",
"for",
"a",
"User",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2848-L2855 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbAllowSrcAboveDocroot | public function setCorePhpthumbAllowSrcAboveDocroot($value)
{
$this->setFieldName('phpthumb_allow_src_above_docroot');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbAllowSrcAboveDocroot($value)
{
$this->setFieldName('phpthumb_allow_src_above_docroot');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbAllowSrcAboveDocroot",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_allow_src_above_docroot'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setField... | phpThumb Allow src Above Document Root ~
Indicates if the src path is allowed outside the document root. This is useful for multi-context deployments with multiple virtual hosts.
@param bool $value
@return $this | [
"phpThumb",
"Allow",
"src",
"Above",
"Document",
"Root",
"~",
"Indicates",
"if",
"the",
"src",
"path",
"is",
"allowed",
"outside",
"the",
"document",
"root",
".",
"This",
"is",
"useful",
"for",
"multi",
"-",
"context",
"deployments",
"with",
"multiple",
"vir... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2866-L2873 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbCacheMaxage | public function setCorePhpthumbCacheMaxage($value)
{
$this->setFieldName('phpthumb_cache_maxage');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbCacheMaxage($value)
{
$this->setFieldName('phpthumb_cache_maxage');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbCacheMaxage",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_cache_maxage'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$"... | phpThumb Max Cache Age ~
Delete cached thumbnails that have not been accessed in more than X days.
@param string $value
@return $this | [
"phpThumb",
"Max",
"Cache",
"Age",
"~",
"Delete",
"cached",
"thumbnails",
"that",
"have",
"not",
"been",
"accessed",
"in",
"more",
"than",
"X",
"days",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2883-L2890 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbCacheMaxfiles | public function setCorePhpthumbCacheMaxfiles($value)
{
$this->setFieldName('phpthumb_cache_maxfiles');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbCacheMaxfiles($value)
{
$this->setFieldName('phpthumb_cache_maxfiles');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbCacheMaxfiles",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_cache_maxfiles'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
... | phpThumb Max Cache Files ~
Delete least-recently-accessed thumbnails when cache has more than X files.
@param string $value
@return $this | [
"phpThumb",
"Max",
"Cache",
"Files",
"~",
"Delete",
"least",
"-",
"recently",
"-",
"accessed",
"thumbnails",
"when",
"cache",
"has",
"more",
"than",
"X",
"files",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2901-L2908 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbCacheMaxsize | public function setCorePhpthumbCacheMaxsize($value)
{
$this->setFieldName('phpthumb_cache_maxsize');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbCacheMaxsize($value)
{
$this->setFieldName('phpthumb_cache_maxsize');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbCacheMaxsize",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_cache_maxsize'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"... | phpThumb Max Cache Size ~
Delete least-recently-accessed thumbnails when cache grows bigger than X megabytes in size.
@param string $value
@return $this | [
"phpThumb",
"Max",
"Cache",
"Size",
"~",
"Delete",
"least",
"-",
"recently",
"-",
"accessed",
"thumbnails",
"when",
"cache",
"grows",
"bigger",
"than",
"X",
"megabytes",
"in",
"size",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2919-L2926 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbCacheSourceEnabled | public function setCorePhpthumbCacheSourceEnabled($value)
{
$this->setFieldName('phpthumb_cache_source_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbCacheSourceEnabled($value)
{
$this->setFieldName('phpthumb_cache_source_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbCacheSourceEnabled",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_cache_source_enabled'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue... | phpThumb Cache Source Files ~
Whether or not to cache source files as they are loaded. Recommended to off.
@param bool $value
@return $this | [
"phpThumb",
"Cache",
"Source",
"Files",
"~",
"Whether",
"or",
"not",
"to",
"cache",
"source",
"files",
"as",
"they",
"are",
"loaded",
".",
"Recommended",
"to",
"off",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2937-L2944 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbDocumentRoot | public function setCorePhpthumbDocumentRoot($value)
{
$this->setFieldName('phpthumb_document_root');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbDocumentRoot($value)
{
$this->setFieldName('phpthumb_document_root');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbDocumentRoot",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_document_root'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"... | PHPThumb Document Root ~
Set this if you are experiencing issues with the server variable DOCUMENT_ROOT, or getting errors with OutputThumbnail or !is_resource. Set it to the absolute document root path you would like to use. If this is empty, MODX will use the DOCUMENT_ROOT server variable.
@param string $value
@return $this | [
"PHPThumb",
"Document",
"Root",
"~",
"Set",
"this",
"if",
"you",
"are",
"experiencing",
"issues",
"with",
"the",
"server",
"variable",
"DOCUMENT_ROOT",
"or",
"getting",
"errors",
"with",
"OutputThumbnail",
"or",
"!is_resource",
".",
"Set",
"it",
"to",
"the",
"... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2954-L2961 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbErrorFontsize | public function setCorePhpthumbErrorFontsize($value)
{
$this->setFieldName('phpthumb_error_fontsize');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbErrorFontsize($value)
{
$this->setFieldName('phpthumb_error_fontsize');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbErrorFontsize",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_error_fontsize'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
... | phpThumb Error Font Size ~
An em value indicating a font size to use for text appearing in phpThumb error output.
@param string $value
@return $this | [
"phpThumb",
"Error",
"Font",
"Size",
"~",
"An",
"em",
"value",
"indicating",
"a",
"font",
"size",
"to",
"use",
"for",
"text",
"appearing",
"in",
"phpThumb",
"error",
"output",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2990-L2997 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbFar | public function setCorePhpthumbFar($value)
{
$this->setFieldName('phpthumb_far');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbFar($value)
{
$this->setFieldName('phpthumb_far');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbFar",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_far'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")... | phpThumb Force Aspect Ratio ~
The default far setting for phpThumb when used in MODX. Defaults to C to force aspect ratio toward the center.
@param string $value
@return $this | [
"phpThumb",
"Force",
"Aspect",
"Ratio",
"~",
"The",
"default",
"far",
"setting",
"for",
"phpThumb",
"when",
"used",
"in",
"MODX",
".",
"Defaults",
"to",
"C",
"to",
"force",
"aspect",
"ratio",
"toward",
"the",
"center",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3026-L3033 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbImagemagickPath | public function setCorePhpthumbImagemagickPath($value)
{
$this->setFieldName('phpthumb_imagemagick_path');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbImagemagickPath($value)
{
$this->setFieldName('phpthumb_imagemagick_path');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbImagemagickPath",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_imagemagick_path'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(... | phpThumb ImageMagick Path ~
Optional. Set an alternative ImageMagick path here for generating thumbnails with phpThumb, if it is not in the PHP default.
@param string $value
@return $this | [
"phpThumb",
"ImageMagick",
"Path",
"~",
"Optional",
".",
"Set",
"an",
"alternative",
"ImageMagick",
"path",
"here",
"for",
"generating",
"thumbnails",
"with",
"phpThumb",
"if",
"it",
"is",
"not",
"in",
"the",
"PHP",
"default",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3044-L3051 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNohotlinkEnabled | public function setCorePhpthumbNohotlinkEnabled($value)
{
$this->setFieldName('phpthumb_nohotlink_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNohotlinkEnabled($value)
{
$this->setFieldName('phpthumb_nohotlink_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNohotlinkEnabled",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nohotlink_enabled'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
... | phpThumb Hotlinking Disabled ~
Remote servers are allowed in the src parameter unless you disable hotlinking in phpThumb.
@param bool $value
@return $this | [
"phpThumb",
"Hotlinking",
"Disabled",
"~",
"Remote",
"servers",
"are",
"allowed",
"in",
"the",
"src",
"parameter",
"unless",
"you",
"disable",
"hotlinking",
"in",
"phpThumb",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3062-L3069 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNohotlinkEraseImage | public function setCorePhpthumbNohotlinkEraseImage($value)
{
$this->setFieldName('phpthumb_nohotlink_erase_image');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNohotlinkEraseImage($value)
{
$this->setFieldName('phpthumb_nohotlink_erase_image');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNohotlinkEraseImage",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nohotlink_erase_image'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldVal... | phpThumb Hotlinking Erase Image ~
Indicates if an image generated from a remote server should be erased when not allowed.
@param bool $value
@return $this | [
"phpThumb",
"Hotlinking",
"Erase",
"Image",
"~",
"Indicates",
"if",
"an",
"image",
"generated",
"from",
"a",
"remote",
"server",
"should",
"be",
"erased",
"when",
"not",
"allowed",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3079-L3086 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNohotlinkTextMessage | public function setCorePhpthumbNohotlinkTextMessage($value)
{
$this->setFieldName('phpthumb_nohotlink_text_message');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNohotlinkTextMessage($value)
{
$this->setFieldName('phpthumb_nohotlink_text_message');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNohotlinkTextMessage",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nohotlink_text_message'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldV... | phpThumb Hotlinking Not Allowed Message ~
A message that is rendered instead of the thumbnail when a hotlinking attempt is rejected.
@param string $value
@return $this | [
"phpThumb",
"Hotlinking",
"Not",
"Allowed",
"Message",
"~",
"A",
"message",
"that",
"is",
"rendered",
"instead",
"of",
"the",
"thumbnail",
"when",
"a",
"hotlinking",
"attempt",
"is",
"rejected",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3096-L3103 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNohotlinkValidDomains | public function setCorePhpthumbNohotlinkValidDomains($value)
{
$this->setFieldName('phpthumb_nohotlink_valid_domains');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNohotlinkValidDomains($value)
{
$this->setFieldName('phpthumb_nohotlink_valid_domains');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNohotlinkValidDomains",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nohotlink_valid_domains'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFiel... | phpThumb Hotlinking Valid Domains ~
A comma-delimited list of hostnames that are valid in src URLs.
@param string $value
@return $this | [
"phpThumb",
"Hotlinking",
"Valid",
"Domains",
"~",
"A",
"comma",
"-",
"delimited",
"list",
"of",
"hostnames",
"that",
"are",
"valid",
"in",
"src",
"URLs",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3114-L3121 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNooffsitelinkEnabled | public function setCorePhpthumbNooffsitelinkEnabled($value)
{
$this->setFieldName('phpthumb_nooffsitelink_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNooffsitelinkEnabled($value)
{
$this->setFieldName('phpthumb_nooffsitelink_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNooffsitelinkEnabled",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nooffsitelink_enabled'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldVa... | phpThumb Offsite Linking Disabled ~
Disables the ability for others to use phpThumb to render images on their own sites.
@param bool $value
@return $this | [
"phpThumb",
"Offsite",
"Linking",
"Disabled",
"~",
"Disables",
"the",
"ability",
"for",
"others",
"to",
"use",
"phpThumb",
"to",
"render",
"images",
"on",
"their",
"own",
"sites",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3132-L3139 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNooffsitelinkEraseImage | public function setCorePhpthumbNooffsitelinkEraseImage($value)
{
$this->setFieldName('phpthumb_nooffsitelink_erase_image');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNooffsitelinkEraseImage($value)
{
$this->setFieldName('phpthumb_nooffsitelink_erase_image');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNooffsitelinkEraseImage",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nooffsitelink_erase_image'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"set... | phpThumb Offsite Linking Erase Image ~
Indicates if an image linked from a remote server should be erased when not allowed.
@param bool $value
@return $this | [
"phpThumb",
"Offsite",
"Linking",
"Erase",
"Image",
"~",
"Indicates",
"if",
"an",
"image",
"linked",
"from",
"a",
"remote",
"server",
"should",
"be",
"erased",
"when",
"not",
"allowed",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3149-L3156 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNooffsitelinkRequireRefer | public function setCorePhpthumbNooffsitelinkRequireRefer($value)
{
$this->setFieldName('phpthumb_nooffsitelink_require_refer');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNooffsitelinkRequireRefer($value)
{
$this->setFieldName('phpthumb_nooffsitelink_require_refer');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNooffsitelinkRequireRefer",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nooffsitelink_require_refer'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
... | phpThumb Offsite Linking Require Referrer ~
If enabled, any offsite linking attempts will be rejected without a valid referrer header.
@param bool $value
@return $this | [
"phpThumb",
"Offsite",
"Linking",
"Require",
"Referrer",
"~",
"If",
"enabled",
"any",
"offsite",
"linking",
"attempts",
"will",
"be",
"rejected",
"without",
"a",
"valid",
"referrer",
"header",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3166-L3173 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNooffsitelinkTextMessage | public function setCorePhpthumbNooffsitelinkTextMessage($value)
{
$this->setFieldName('phpthumb_nooffsitelink_text_message');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNooffsitelinkTextMessage($value)
{
$this->setFieldName('phpthumb_nooffsitelink_text_message');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNooffsitelinkTextMessage",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nooffsitelink_text_message'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"s... | phpThumb Offsite Linking Not Allowed Message ~
A message that is rendered instead of the thumbnail when an offsite linking attempt is rejected.
@param string $value
@return $this | [
"phpThumb",
"Offsite",
"Linking",
"Not",
"Allowed",
"Message",
"~",
"A",
"message",
"that",
"is",
"rendered",
"instead",
"of",
"the",
"thumbnail",
"when",
"an",
"offsite",
"linking",
"attempt",
"is",
"rejected",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3183-L3190 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNooffsitelinkValidDomains | public function setCorePhpthumbNooffsitelinkValidDomains($value)
{
$this->setFieldName('phpthumb_nooffsitelink_valid_domains');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNooffsitelinkValidDomains($value)
{
$this->setFieldName('phpthumb_nooffsitelink_valid_domains');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNooffsitelinkValidDomains",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nooffsitelink_valid_domains'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
... | phpThumb Offsite Linking Valid Domains ~
A comma-delimited list of hostnames that are valid referrers for offsite linking.
@param string $value
@return $this | [
"phpThumb",
"Offsite",
"Linking",
"Valid",
"Domains",
"~",
"A",
"comma",
"-",
"delimited",
"list",
"of",
"hostnames",
"that",
"are",
"valid",
"referrers",
"for",
"offsite",
"linking",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3201-L3208 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbNooffsitelinkWatermarkSrc | public function setCorePhpthumbNooffsitelinkWatermarkSrc($value)
{
$this->setFieldName('phpthumb_nooffsitelink_watermark_src');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbNooffsitelinkWatermarkSrc($value)
{
$this->setFieldName('phpthumb_nooffsitelink_watermark_src');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbNooffsitelinkWatermarkSrc",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_nooffsitelink_watermark_src'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
... | phpThumb Offsite Linking Watermark Source ~
Optional. A valid file system path to a file to use as a watermark source when your images are rendered offsite by phpThumb.
@param string $value
@return $this | [
"phpThumb",
"Offsite",
"Linking",
"Watermark",
"Source",
"~",
"Optional",
".",
"A",
"valid",
"file",
"system",
"path",
"to",
"a",
"file",
"to",
"use",
"as",
"a",
"watermark",
"source",
"when",
"your",
"images",
"are",
"rendered",
"offsite",
"by",
"phpThumb",... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3219-L3226 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePhpthumbZoomcrop | public function setCorePhpthumbZoomcrop($value)
{
$this->setFieldName('phpthumb_zoomcrop');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePhpthumbZoomcrop($value)
{
$this->setFieldName('phpthumb_zoomcrop');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePhpthumbZoomcrop",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'phpthumb_zoomcrop'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"va... | phpThumb Zoom-Crop ~
The default zc setting for phpThumb when used in MODX. Defaults to 0 to prevent zoom cropping.
@param string $value
@return $this | [
"phpThumb",
"Zoom",
"-",
"Crop",
"~",
"The",
"default",
"zc",
"setting",
"for",
"phpThumb",
"when",
"used",
"in",
"MODX",
".",
"Defaults",
"to",
"0",
"to",
"prevent",
"zoom",
"cropping",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3237-L3244 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePreserveMenuindex | public function setCorePreserveMenuindex($value)
{
$this->setFieldName('preserve_menuindex');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePreserveMenuindex($value)
{
$this->setFieldName('preserve_menuindex');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePreserveMenuindex",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'preserve_menuindex'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"... | Preserve Menu Index When Duplicating Resources ~
When duplicating Resources, the menu index order will also be preserved.
@param bool $value
@return $this | [
"Preserve",
"Menu",
"Index",
"When",
"Duplicating",
"Resources",
"~",
"When",
"duplicating",
"Resources",
"the",
"menu",
"index",
"order",
"will",
"also",
"be",
"preserved",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3255-L3262 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePrincipalTargets | public function setCorePrincipalTargets($value)
{
$this->setFieldName('principal_targets');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePrincipalTargets($value)
{
$this->setFieldName('principal_targets');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePrincipalTargets",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'principal_targets'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"va... | ACL Targets to Load ~
Customize the ACL targets to load for MODX Users.
@param string $value
@return $this | [
"ACL",
"Targets",
"to",
"Load",
"~",
"Customize",
"the",
"ACL",
"targets",
"to",
"load",
"for",
"MODX",
"Users",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3272-L3279 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreProxyAuthType | public function setCoreProxyAuthType($value)
{
$this->setFieldName('proxy_auth_type');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreProxyAuthType($value)
{
$this->setFieldName('proxy_auth_type');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreProxyAuthType",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'proxy_auth_type'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",... | Proxy Authentication Type ~
Supports either BASIC or NTLM.
@param string $value
@return $this | [
"Proxy",
"Authentication",
"Type",
"~",
"Supports",
"either",
"BASIC",
"or",
"NTLM",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3290-L3297 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreProxyHost | public function setCoreProxyHost($value)
{
$this->setFieldName('proxy_host');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreProxyHost($value)
{
$this->setFieldName('proxy_host');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreProxyHost",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'proxy_host'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",
... | Proxy Host ~
If your server is using a proxy, set the hostname here to enable MODX features that might need to use the proxy, such as Package Management.
@param string $value
@return $this | [
"Proxy",
"Host",
"~",
"If",
"your",
"server",
"is",
"using",
"a",
"proxy",
"set",
"the",
"hostname",
"here",
"to",
"enable",
"MODX",
"features",
"that",
"might",
"need",
"to",
"use",
"the",
"proxy",
"such",
"as",
"Package",
"Management",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3308-L3315 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreProxyPassword | public function setCoreProxyPassword($value)
{
$this->setFieldName('proxy_password');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreProxyPassword($value)
{
$this->setFieldName('proxy_password');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreProxyPassword",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'proxy_password'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Proxy Password ~
The password required to authenticate to your proxy server.
@param string $value
@return $this | [
"Proxy",
"Password",
"~",
"The",
"password",
"required",
"to",
"authenticate",
"to",
"your",
"proxy",
"server",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3326-L3333 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreProxyPort | public function setCoreProxyPort($value)
{
$this->setFieldName('proxy_port');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreProxyPort($value)
{
$this->setFieldName('proxy_port');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreProxyPort",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'proxy_port'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",
... | Proxy Port ~
The port for your proxy server.
@param string $value
@return $this | [
"Proxy",
"Port",
"~",
"The",
"port",
"for",
"your",
"proxy",
"server",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3344-L3351 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreProxyUsername | public function setCoreProxyUsername($value)
{
$this->setFieldName('proxy_username');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreProxyUsername($value)
{
$this->setFieldName('proxy_username');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreProxyUsername",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'proxy_username'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Proxy Username ~
The username to authenticate against with your proxy server.
@param string $value
@return $this | [
"Proxy",
"Username",
"~",
"The",
"username",
"to",
"authenticate",
"against",
"with",
"your",
"proxy",
"server",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3362-L3369 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCorePublishDefault | public function setCorePublishDefault($value)
{
$this->setFieldName('publish_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCorePublishDefault($value)
{
$this->setFieldName('publish_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCorePublishDefault",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'publish_default'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value"... | Published default ~
Select 'Yes' to make all new resources published by default.
@param bool $value
@return $this | [
"Published",
"default",
"~",
"Select",
"Yes",
"to",
"make",
"all",
"new",
"resources",
"published",
"by",
"default",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3380-L3387 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreRequestController | public function setCoreRequestController($value)
{
$this->setFieldName('request_controller');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreRequestController($value)
{
$this->setFieldName('request_controller');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreRequestController",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'request_controller'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"... | Request Controller Filename ~
The filename of the main request controller from which MODX is loaded. Most users can leave this as index.php.
@param string $value
@return $this | [
"Request",
"Controller",
"Filename",
"~",
"The",
"filename",
"of",
"the",
"main",
"request",
"controller",
"from",
"which",
"MODX",
"is",
"loaded",
".",
"Most",
"users",
"can",
"leave",
"this",
"as",
"index",
".",
"php",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3433-L3440 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreRequestMethodStrict | public function setCoreRequestMethodStrict($value)
{
$this->setFieldName('request_method_strict');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreRequestMethodStrict($value)
{
$this->setFieldName('request_method_strict');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreRequestMethodStrict",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'request_method_strict'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$"... | Strict Request Method ~
If enabled, requests via the Request ID Parameter will be ignored with FURLs enabled, and those via Request Alias Parameter will be ignored without FURLs enabled.
@param bool $value
@return $this | [
"Strict",
"Request",
"Method",
"~",
"If",
"enabled",
"requests",
"via",
"the",
"Request",
"ID",
"Parameter",
"will",
"be",
"ignored",
"with",
"FURLs",
"enabled",
"and",
"those",
"via",
"Request",
"Alias",
"Parameter",
"will",
"be",
"ignored",
"without",
"FURLs... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3451-L3458 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreRequestParamAlias | public function setCoreRequestParamAlias($value)
{
$this->setFieldName('request_param_alias');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreRequestParamAlias($value)
{
$this->setFieldName('request_param_alias');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreRequestParamAlias",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'request_param_alias'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Request Alias Parameter ~
The name of the GET parameter to identify Resource aliases when redirecting with FURLs.
@param string $value
@return $this | [
"Request",
"Alias",
"Parameter",
"~",
"The",
"name",
"of",
"the",
"GET",
"parameter",
"to",
"identify",
"Resource",
"aliases",
"when",
"redirecting",
"with",
"FURLs",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3468-L3475 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreRequestParamId | public function setCoreRequestParamId($value)
{
$this->setFieldName('request_param_id');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreRequestParamId($value)
{
$this->setFieldName('request_param_id');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreRequestParamId",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'request_param_id'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value... | Request ID Parameter ~
The name of the GET parameter to identify Resource IDs when not using FURLs.
@param string $value
@return $this | [
"Request",
"ID",
"Parameter",
"~",
"The",
"name",
"of",
"the",
"GET",
"parameter",
"to",
"identify",
"Resource",
"IDs",
"when",
"not",
"using",
"FURLs",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3486-L3493 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreResolveHostnames | public function setCoreResolveHostnames($value)
{
$this->setFieldName('resolve_hostnames');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreResolveHostnames($value)
{
$this->setFieldName('resolve_hostnames');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreResolveHostnames",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'resolve_hostnames'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"va... | Resolve hostnames ~
Do you want MODX to try to resolve your visitors' hostnames when they visit your site? Resolving hostnames may create some extra server load, although your visitors won't notice this in any way.
@param bool $value
@return $this | [
"Resolve",
"hostnames",
"~",
"Do",
"you",
"want",
"MODX",
"to",
"try",
"to",
"resolve",
"your",
"visitors",
"hostnames",
"when",
"they",
"visit",
"your",
"site?",
"Resolving",
"hostnames",
"may",
"create",
"some",
"extra",
"server",
"load",
"although",
"your",... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3504-L3511 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreResourceTreeNodeName | public function setCoreResourceTreeNodeName($value)
{
$this->setFieldName('resource_tree_node_name');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreResourceTreeNodeName($value)
{
$this->setFieldName('resource_tree_node_name');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreResourceTreeNodeName",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'resource_tree_node_name'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
... | Resource Tree Node Field ~
Specify the Resource field to use when rendering the nodes in the Resource Tree. Defaults to pagetitle, although any Resource field can be used, such as menutitle, alias, longtitle, etc.
@param string $value
@return $this | [
"Resource",
"Tree",
"Node",
"Field",
"~",
"Specify",
"the",
"Resource",
"field",
"to",
"use",
"when",
"rendering",
"the",
"nodes",
"in",
"the",
"Resource",
"Tree",
".",
"Defaults",
"to",
"pagetitle",
"although",
"any",
"Resource",
"field",
"can",
"be",
"used... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3521-L3528 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreResourceTreeNodeNameFallback | public function setCoreResourceTreeNodeNameFallback($value)
{
$this->setFieldName('resource_tree_node_name_fallback');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreResourceTreeNodeNameFallback($value)
{
$this->setFieldName('resource_tree_node_name_fallback');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreResourceTreeNodeNameFallback",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'resource_tree_node_name_fallback'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setField... | Resource Tree Node Fallback Field ~
Specify the Resource field to use as fallback when rendering the nodes in the Resource Tree. This will be used if the resource has an empty value for the configured Resource Tree Node Field.
@param string $value
@return $this | [
"Resource",
"Tree",
"Node",
"Fallback",
"Field",
"~",
"Specify",
"the",
"Resource",
"field",
"to",
"use",
"as",
"fallback",
"when",
"rendering",
"the",
"nodes",
"in",
"the",
"Resource",
"Tree",
".",
"This",
"will",
"be",
"used",
"if",
"the",
"resource",
"h... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3539-L3546 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreResourceTreeNodeTooltip | public function setCoreResourceTreeNodeTooltip($value)
{
$this->setFieldName('resource_tree_node_tooltip');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreResourceTreeNodeTooltip($value)
{
$this->setFieldName('resource_tree_node_tooltip');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreResourceTreeNodeTooltip",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'resource_tree_node_tooltip'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"... | Resource Tree Tooltip Field ~
Specify the Resource field to use when rendering the nodes in the Resource Tree. Any Resource field can be used, such as menutitle, alias, longtitle, etc. If blank, will be the longtitle with a description underneath.
@param string $value
@return $this | [
"Resource",
"Tree",
"Tooltip",
"Field",
"~",
"Specify",
"the",
"Resource",
"field",
"to",
"use",
"when",
"rendering",
"the",
"nodes",
"in",
"the",
"Resource",
"Tree",
".",
"Any",
"Resource",
"field",
"can",
"be",
"used",
"such",
"as",
"menutitle",
"alias",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3557-L3564 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreRichtextDefault | public function setCoreRichtextDefault($value)
{
$this->setFieldName('richtext_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreRichtextDefault($value)
{
$this->setFieldName('richtext_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreRichtextDefault",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'richtext_default'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"valu... | Richtext Default ~
Select 'Yes' to make all new Resources use the Richtext Editor by default.
@param bool $value
@return $this | [
"Richtext",
"Default",
"~",
"Select",
"Yes",
"to",
"make",
"all",
"new",
"Resources",
"use",
"the",
"Richtext",
"Editor",
"by",
"default",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3575-L3582 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSearchDefault | public function setCoreSearchDefault($value)
{
$this->setFieldName('search_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSearchDefault($value)
{
$this->setFieldName('search_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSearchDefault",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'search_default'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Searchable Default ~
Select 'Yes' to make all new resources searchable by default.
@param bool $value
@return $this | [
"Searchable",
"Default",
"~",
"Select",
"Yes",
"to",
"make",
"all",
"new",
"resources",
"searchable",
"by",
"default",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3592-L3599 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSendPoweredbyHeader | public function setCoreSendPoweredbyHeader($value)
{
$this->setFieldName('send_poweredby_header');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSendPoweredbyHeader($value)
{
$this->setFieldName('send_poweredby_header');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSendPoweredbyHeader",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'send_poweredby_header'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$"... | Send X-Powered-By Header ~
When enabled, MODX will send the "X-Powered-By" header to identify this site as built on MODX. This helps tracking global MODX usage through third party trackers inspecting your site. Because this makes it easier to identify what your site is built with, it might pose a slightly increased security risk if a vulnerability is found in MODX.
@param bool $value
@return $this | [
"Send",
"X",
"-",
"Powered",
"-",
"By",
"Header",
"~",
"When",
"enabled",
"MODX",
"will",
"send",
"the",
"X",
"-",
"Powered",
"-",
"By",
"header",
"to",
"identify",
"this",
"site",
"as",
"built",
"on",
"MODX",
".",
"This",
"helps",
"tracking",
"global"... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3609-L3616 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreServerOffsetTime | public function setCoreServerOffsetTime($value)
{
$this->setFieldName('server_offset_time');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreServerOffsetTime($value)
{
$this->setFieldName('server_offset_time');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreServerOffsetTime",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'server_offset_time'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"v... | Server offset time ~
Select the number of hours time difference between where you are and where the server is.
@param string $value
@return $this | [
"Server",
"offset",
"time",
"~",
"Select",
"the",
"number",
"of",
"hours",
"time",
"difference",
"between",
"where",
"you",
"are",
"and",
"where",
"the",
"server",
"is",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3626-L3633 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreServerProtocol | public function setCoreServerProtocol($value)
{
$this->setFieldName('server_protocol');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreServerProtocol($value)
{
$this->setFieldName('server_protocol');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreServerProtocol",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'server_protocol'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value"... | Server type ~
If your site is on a https connection, please specify so here.
@param string $value
@return $this | [
"Server",
"type",
"~",
"If",
"your",
"site",
"is",
"on",
"a",
"https",
"connection",
"please",
"specify",
"so",
"here",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3644-L3651 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSessionCookieDomain | public function setCoreSessionCookieDomain($value)
{
$this->setFieldName('session_cookie_domain');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSessionCookieDomain($value)
{
$this->setFieldName('session_cookie_domain');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSessionCookieDomain",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'session_cookie_domain'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$"... | Session Cookie Domain ~
Use this setting to customize the session cookie domain. Leave blank to use the current domain.
@param string $value
@return $this | [
"Session",
"Cookie",
"Domain",
"~",
"Use",
"this",
"setting",
"to",
"customize",
"the",
"session",
"cookie",
"domain",
".",
"Leave",
"blank",
"to",
"use",
"the",
"current",
"domain",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3662-L3669 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSessionCookieHttponly | public function setCoreSessionCookieHttponly($value)
{
$this->setFieldName('session_cookie_httponly');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSessionCookieHttponly($value)
{
$this->setFieldName('session_cookie_httponly');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSessionCookieHttponly",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'session_cookie_httponly'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
... | Session Cookie HttpOnly ~
Use this setting to set the HttpOnly flag on session cookies.
@param bool $value
@return $this | [
"Session",
"Cookie",
"HttpOnly",
"~",
"Use",
"this",
"setting",
"to",
"set",
"the",
"HttpOnly",
"flag",
"on",
"session",
"cookies",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3680-L3687 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSessionCookieLifetime | public function setCoreSessionCookieLifetime($value)
{
$this->setFieldName('session_cookie_lifetime');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSessionCookieLifetime($value)
{
$this->setFieldName('session_cookie_lifetime');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSessionCookieLifetime",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'session_cookie_lifetime'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
... | Session Cookie Lifetime ~
Use this setting to customize the session cookie lifetime in seconds. This is used to set the lifetime of a client session cookie when they choose the 'remember me' option on login.
@param string $value
@return $this | [
"Session",
"Cookie",
"Lifetime",
"~",
"Use",
"this",
"setting",
"to",
"customize",
"the",
"session",
"cookie",
"lifetime",
"in",
"seconds",
".",
"This",
"is",
"used",
"to",
"set",
"the",
"lifetime",
"of",
"a",
"client",
"session",
"cookie",
"when",
"they",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3697-L3704 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSessionCookiePath | public function setCoreSessionCookiePath($value)
{
$this->setFieldName('session_cookie_path');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSessionCookiePath($value)
{
$this->setFieldName('session_cookie_path');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSessionCookiePath",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'session_cookie_path'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Session Cookie Path ~
Use this setting to customize the cookie path for identifying site specific session cookies. Leave blank to use MODX_BASE_URL.
@param string $value
@return $this | [
"Session",
"Cookie",
"Path",
"~",
"Use",
"this",
"setting",
"to",
"customize",
"the",
"cookie",
"path",
"for",
"identifying",
"site",
"specific",
"session",
"cookies",
".",
"Leave",
"blank",
"to",
"use",
"MODX_BASE_URL",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3715-L3722 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSessionGcMaxlifetime | public function setCoreSessionGcMaxlifetime($value)
{
$this->setFieldName('session_gc_maxlifetime');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSessionGcMaxlifetime($value)
{
$this->setFieldName('session_gc_maxlifetime');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSessionGcMaxlifetime",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'session_gc_maxlifetime'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"... | Session Garbage Collector Max Lifetime ~
Allows customization of the session.gc_maxlifetime PHP ini setting when using 'modSessionHandler'.
@param string $value
@return $this | [
"Session",
"Garbage",
"Collector",
"Max",
"Lifetime",
"~",
"Allows",
"customization",
"of",
"the",
"session",
".",
"gc_maxlifetime",
"PHP",
"ini",
"setting",
"when",
"using",
"modSessionHandler",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3750-L3757 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSessionHandlerClass | public function setCoreSessionHandlerClass($value)
{
$this->setFieldName('session_handler_class');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSessionHandlerClass($value)
{
$this->setFieldName('session_handler_class');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSessionHandlerClass",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'session_handler_class'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$"... | Session Handler Class Name ~
For database managed sessions, use 'modSessionHandler'. Leave this blank to use standard PHP session management.
@param string $value
@return $this | [
"Session",
"Handler",
"Class",
"Name",
"~",
"For",
"database",
"managed",
"sessions",
"use",
"modSessionHandler",
".",
"Leave",
"this",
"blank",
"to",
"use",
"standard",
"PHP",
"session",
"management",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3768-L3775 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSessionName | public function setCoreSessionName($value)
{
$this->setFieldName('session_name');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSessionName($value)
{
$this->setFieldName('session_name');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSessionName",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'session_name'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")... | Session Name ~
Use this setting to customize the session name used for the sessions in MODX. Leave blank to use the default PHP session name.
@param string $value
@return $this | [
"Session",
"Name",
"~",
"Use",
"this",
"setting",
"to",
"customize",
"the",
"session",
"name",
"used",
"for",
"the",
"sessions",
"in",
"MODX",
".",
"Leave",
"blank",
"to",
"use",
"the",
"default",
"PHP",
"session",
"name",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3786-L3793 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSetHeader | public function setCoreSetHeader($value)
{
$this->setFieldName('set_header');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSetHeader($value)
{
$this->setFieldName('set_header');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSetHeader",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'set_header'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",
... | Set HTTP Headers ~
When enabled, MODX will attempt to set the HTTP headers for Resources.
@param bool $value
@return $this | [
"Set",
"HTTP",
"Headers",
"~",
"When",
"enabled",
"MODX",
"will",
"attempt",
"to",
"set",
"the",
"HTTP",
"headers",
"for",
"Resources",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3804-L3811 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSettingsDistro | public function setCoreSettingsDistro($value)
{
$this->setFieldName('settings_distro');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSettingsDistro($value)
{
$this->setFieldName('settings_distro');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSettingsDistro",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'settings_distro'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value"... | Settings Distribution ~
The current installed distribution of MODX.
@param string $value
@return $this | [
"Settings",
"Distribution",
"~",
"The",
"current",
"installed",
"distribution",
"of",
"MODX",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3821-L3828 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSettingsVersion | public function setCoreSettingsVersion($value)
{
$this->setFieldName('settings_version');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSettingsVersion($value)
{
$this->setFieldName('settings_version');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSettingsVersion",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'settings_version'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"valu... | Settings Version ~
The current installed version of MODX.
@param string $value
@return $this | [
"Settings",
"Version",
"~",
"The",
"current",
"installed",
"version",
"of",
"MODX",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3839-L3846 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreShowTvCategoriesHeader | public function setCoreShowTvCategoriesHeader($value)
{
$this->setFieldName('show_tv_categories_header');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreShowTvCategoriesHeader($value)
{
$this->setFieldName('show_tv_categories_header');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreShowTvCategoriesHeader",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'show_tv_categories_header'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"("... | Show "Categories" Tabs Header with TVs ~
If "Yes", MODX will show the "Categories" header above the first category tab when editing TVs in a Resource.
@param bool $value
@return $this | [
"Show",
"Categories",
"Tabs",
"Header",
"with",
"TVs",
"~",
"If",
"Yes",
"MODX",
"will",
"show",
"the",
"Categories",
"header",
"above",
"the",
"first",
"category",
"tab",
"when",
"editing",
"TVs",
"in",
"a",
"Resource",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3857-L3864 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSiteName | public function setCoreSiteName($value)
{
$this->setFieldName('site_name');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSiteName($value)
{
$this->setFieldName('site_name');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSiteName",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'site_name'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",
"... | Site name ~
Enter the name of your site here.
@param string $value
@return $this | [
"Site",
"name",
"~",
"Enter",
"the",
"name",
"of",
"your",
"site",
"here",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3892-L3899 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSiteStatus | public function setCoreSiteStatus($value)
{
$this->setFieldName('site_status');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSiteStatus($value)
{
$this->setFieldName('site_status');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSiteStatus",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'site_status'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",... | Site status ~
Select 'Yes' to publish your site on the web. If you select 'No', your visitors will see the 'Site unavailable message', and won't be able to browse the site.
@param bool $value
@return $this | [
"Site",
"status",
"~",
"Select",
"Yes",
"to",
"publish",
"your",
"site",
"on",
"the",
"web",
".",
"If",
"you",
"select",
"No",
"your",
"visitors",
"will",
"see",
"the",
"Site",
"unavailable",
"message",
"and",
"won",
"t",
"be",
"able",
"to",
"browse",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3928-L3935 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSymlinkMergeFields | public function setCoreSymlinkMergeFields($value)
{
$this->setFieldName('symlink_merge_fields');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSymlinkMergeFields($value)
{
$this->setFieldName('symlink_merge_fields');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSymlinkMergeFields",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'symlink_merge_fields'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Merge Resource Fields in Symlinks ~
If set to Yes, will automatically merge non-empty fields with target resource when forwarding using Symlinks.
@param bool $value
@return $this | [
"Merge",
"Resource",
"Fields",
"in",
"Symlinks",
"~",
"If",
"set",
"to",
"Yes",
"will",
"automatically",
"merge",
"non",
"-",
"empty",
"fields",
"with",
"target",
"resource",
"when",
"forwarding",
"using",
"Symlinks",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L3998-L4005 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreSyncsiteDefault | public function setCoreSyncsiteDefault($value)
{
$this->setFieldName('syncsite_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreSyncsiteDefault($value)
{
$this->setFieldName('syncsite_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreSyncsiteDefault",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'syncsite_default'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"valu... | Empty Cache default ~
Select 'Yes' to empty the cache after you save a resource by default.
@param bool $value
@return $this | [
"Empty",
"Cache",
"default",
"~",
"Select",
"Yes",
"to",
"empty",
"the",
"cache",
"after",
"you",
"save",
"a",
"resource",
"by",
"default",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4015-L4022 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreTopmenuShowDescriptions | public function setCoreTopmenuShowDescriptions($value)
{
$this->setFieldName('topmenu_show_descriptions');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreTopmenuShowDescriptions($value)
{
$this->setFieldName('topmenu_show_descriptions');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreTopmenuShowDescriptions",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'topmenu_show_descriptions'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(... | Show Descriptions in Top Menu ~
If set to 'No', MODX will hide the descriptions from top menu items in the manager.
@param bool $value
@return $this | [
"Show",
"Descriptions",
"in",
"Top",
"Menu",
"~",
"If",
"set",
"to",
"No",
"MODX",
"will",
"hide",
"the",
"descriptions",
"from",
"top",
"menu",
"items",
"in",
"the",
"manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4032-L4039 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreTreeDefaultSort | public function setCoreTreeDefaultSort($value)
{
$this->setFieldName('tree_default_sort');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreTreeDefaultSort($value)
{
$this->setFieldName('tree_default_sort');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreTreeDefaultSort",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'tree_default_sort'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"val... | Resource Tree Default Sort Field ~
The default sort field for the Resource tree when loading the manager.
@param string $value
@return $this | [
"Resource",
"Tree",
"Default",
"Sort",
"Field",
"~",
"The",
"default",
"sort",
"field",
"for",
"the",
"Resource",
"tree",
"when",
"loading",
"the",
"manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4049-L4056 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreTreeRootId | public function setCoreTreeRootId($value)
{
$this->setFieldName('tree_root_id');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreTreeRootId($value)
{
$this->setFieldName('tree_root_id');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreTreeRootId",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'tree_root_id'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")"... | Tree Root ID ~
Set this to a valid ID of a Resource to start the left Resource tree at below that node as the root. The user will only be able to see Resources that are children of the specified Resource.
@param int $value
@return $this | [
"Tree",
"Root",
"ID",
"~",
"Set",
"this",
"to",
"a",
"valid",
"ID",
"of",
"a",
"Resource",
"to",
"start",
"the",
"left",
"Resource",
"tree",
"at",
"below",
"that",
"node",
"as",
"the",
"root",
".",
"The",
"user",
"will",
"only",
"be",
"able",
"to",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4067-L4074 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreTvsBelowContent | public function setCoreTvsBelowContent($value)
{
$this->setFieldName('tvs_below_content');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreTvsBelowContent($value)
{
$this->setFieldName('tvs_below_content');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreTvsBelowContent",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'tvs_below_content'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"val... | Move TVs Below Content ~
Set this to Yes to move Template Variables below the Content when editing Resources.
@param bool $value
@return $this | [
"Move",
"TVs",
"Below",
"Content",
"~",
"Set",
"this",
"to",
"Yes",
"to",
"move",
"Template",
"Variables",
"below",
"the",
"Content",
"when",
"editing",
"Resources",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4084-L4091 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreUdpermsAllowroot | public function setCoreUdpermsAllowroot($value)
{
$this->setFieldName('udperms_allowroot');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreUdpermsAllowroot($value)
{
$this->setFieldName('udperms_allowroot');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreUdpermsAllowroot",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'udperms_allowroot'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"va... | Allow root ~
Do you want to allow your users to create new Resources in the root of the site?
@param bool $value
@return $this | [
"Allow",
"root",
"~",
"Do",
"you",
"want",
"to",
"allow",
"your",
"users",
"to",
"create",
"new",
"Resources",
"in",
"the",
"root",
"of",
"the",
"site?"
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4101-L4108 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreUseBrowser | public function setCoreUseBrowser($value)
{
$this->setFieldName('use_browser');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreUseBrowser($value)
{
$this->setFieldName('use_browser');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreUseBrowser",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'use_browser'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",... | Enable Resource Browser ~
Select yes to enable the resource browser. This will allow your users to browse and upload resources such as images, flash and media files on the server.
@param bool $value
@return $this | [
"Enable",
"Resource",
"Browser",
"~",
"Select",
"yes",
"to",
"enable",
"the",
"resource",
"browser",
".",
"This",
"will",
"allow",
"your",
"users",
"to",
"browse",
"and",
"upload",
"resources",
"such",
"as",
"images",
"flash",
"and",
"media",
"files",
"on",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4243-L4250 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreUseContextResourceTable | public function setCoreUseContextResourceTable($value)
{
$this->setFieldName('use_context_resource_table');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreUseContextResourceTable($value)
{
$this->setFieldName('use_context_resource_table');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreUseContextResourceTable",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'use_context_resource_table'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"... | Use the context resource table ~
When enabled, context refreshes use the context_resource table. This enables you to programmatically have one resource in multiple contexts. If you do not use those multiple resource contexts via the API, you can set this to false. On large sites you will get a potential performance boost in the manager then.
@param bool $value
@return $this | [
"Use",
"the",
"context",
"resource",
"table",
"~",
"When",
"enabled",
"context",
"refreshes",
"use",
"the",
"context_resource",
"table",
".",
"This",
"enables",
"you",
"to",
"programmatically",
"have",
"one",
"resource",
"in",
"multiple",
"contexts",
".",
"If",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4260-L4267 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreUseEditor | public function setCoreUseEditor($value)
{
$this->setFieldName('use_editor');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreUseEditor($value)
{
$this->setFieldName('use_editor');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreUseEditor",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'use_editor'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",
... | Enable Rich Text Editor ~
Do you want to enable the rich text editor? If you're more comfortable writing HTML, then you can turn the editor off using this setting. Note that this setting applies to all documents and all users!
@param bool $value
@return $this | [
"Enable",
"Rich",
"Text",
"Editor",
"~",
"Do",
"you",
"want",
"to",
"enable",
"the",
"rich",
"text",
"editor?",
"If",
"you",
"re",
"more",
"comfortable",
"writing",
"HTML",
"then",
"you",
"can",
"turn",
"the",
"editor",
"off",
"using",
"this",
"setting",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4277-L4284 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreUseFrozenParentUris | public function setCoreUseFrozenParentUris($value)
{
$this->setFieldName('use_frozen_parent_uris');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreUseFrozenParentUris($value)
{
$this->setFieldName('use_frozen_parent_uris');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreUseFrozenParentUris",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'use_frozen_parent_uris'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$... | Use Frozen Parent URIs ~
When enabled, the URI for children resources will be relative to the frozen URI of one of its parents, ignoring the aliases of resources high in the tree.
@param bool $value
@return $this | [
"Use",
"Frozen",
"Parent",
"URIs",
"~",
"When",
"enabled",
"the",
"URI",
"for",
"children",
"resources",
"will",
"be",
"relative",
"to",
"the",
"frozen",
"URI",
"of",
"one",
"of",
"its",
"parents",
"ignoring",
"the",
"aliases",
"of",
"resources",
"high",
"... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4294-L4301 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreUseMultibyte | public function setCoreUseMultibyte($value)
{
$this->setFieldName('use_multibyte');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreUseMultibyte($value)
{
$this->setFieldName('use_multibyte');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreUseMultibyte",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'use_multibyte'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Use Multibyte Extension ~
Set to true if you want to use the mbstring extension for multibyte characters in your MODX installation. Only set to true if you have the mbstring PHP extension installed.
@param bool $value
@return $this | [
"Use",
"Multibyte",
"Extension",
"~",
"Set",
"to",
"true",
"if",
"you",
"want",
"to",
"use",
"the",
"mbstring",
"extension",
"for",
"multibyte",
"characters",
"in",
"your",
"MODX",
"installation",
".",
"Only",
"set",
"to",
"true",
"if",
"you",
"have",
"the... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4311-L4318 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreUserNavParent | public function setCoreUserNavParent($value)
{
$this->setFieldName('user_nav_parent');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreUserNavParent($value)
{
$this->setFieldName('user_nav_parent');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreUserNavParent",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'user_nav_parent'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",... | User menu parent ~
The container used to pull all records for the user menu.
@param string $value
@return $this | [
"User",
"menu",
"parent",
"~",
"The",
"container",
"used",
"to",
"pull",
"all",
"records",
"for",
"the",
"user",
"menu",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4345-L4352 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreWelcomeAction | public function setCoreWelcomeAction($value)
{
$this->setFieldName('welcome_action');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreWelcomeAction($value)
{
$this->setFieldName('welcome_action');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreWelcomeAction",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'welcome_action'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Welcome Action ~
The default controller to load when accessing the manager when no controller is specified in the URL.
@param string $value
@return $this | [
"Welcome",
"Action",
"~",
"The",
"default",
"controller",
"to",
"load",
"when",
"accessing",
"the",
"manager",
"when",
"no",
"controller",
"is",
"specified",
"in",
"the",
"URL",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4399-L4406 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreWelcomeNamespace | public function setCoreWelcomeNamespace($value)
{
$this->setFieldName('welcome_namespace');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreWelcomeNamespace($value)
{
$this->setFieldName('welcome_namespace');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreWelcomeNamespace",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'welcome_namespace'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"va... | Welcome Namespace ~
The namespace the Welcome Action belongs to.
@param string $value
@return $this | [
"Welcome",
"Namespace",
"~",
"The",
"namespace",
"the",
"Welcome",
"Action",
"belongs",
"to",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4417-L4424 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreWelcomeScreen | public function setCoreWelcomeScreen($value)
{
$this->setFieldName('welcome_screen');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreWelcomeScreen($value)
{
$this->setFieldName('welcome_screen');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreWelcomeScreen",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'welcome_screen'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Show Welcome Screen ~
If set to true, the welcome screen will show on the next successful loading of the welcome page, and then not show after that.
@param bool $value
@return $this | [
"Show",
"Welcome",
"Screen",
"~",
"If",
"set",
"to",
"true",
"the",
"welcome",
"screen",
"will",
"show",
"on",
"the",
"next",
"successful",
"loading",
"of",
"the",
"welcome",
"page",
"and",
"then",
"not",
"show",
"after",
"that",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4435-L4442 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreWelcomeScreenUrl | public function setCoreWelcomeScreenUrl($value)
{
$this->setFieldName('welcome_screen_url');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreWelcomeScreenUrl($value)
{
$this->setFieldName('welcome_screen_url');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreWelcomeScreenUrl",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'welcome_screen_url'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"v... | Welcome Screen URL ~
The URL for the welcome screen that loads on first load of MODX Revolution.
@param string $value
@return $this | [
"Welcome",
"Screen",
"URL",
"~",
"The",
"URL",
"for",
"the",
"welcome",
"screen",
"that",
"loads",
"on",
"first",
"load",
"of",
"MODX",
"Revolution",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4452-L4459 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreWhichEditor | public function setCoreWhichEditor($value)
{
$this->setFieldName('which_editor');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreWhichEditor($value)
{
$this->setFieldName('which_editor');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreWhichEditor",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'which_editor'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")... | Editor to use ~
Here you can select which Rich Text Editor you wish to use. You can download and install additional Rich Text Editors from Package Management.
@param string $value
@return $this | [
"Editor",
"to",
"use",
"~",
"Here",
"you",
"can",
"select",
"which",
"Rich",
"Text",
"Editor",
"you",
"wish",
"to",
"use",
".",
"You",
"can",
"download",
"and",
"install",
"additional",
"Rich",
"Text",
"Editors",
"from",
"Package",
"Management",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4470-L4477 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreWhichElementEditor | public function setCoreWhichElementEditor($value)
{
$this->setFieldName('which_element_editor');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreWhichElementEditor($value)
{
$this->setFieldName('which_element_editor');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreWhichElementEditor",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'which_element_editor'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Editor to use for Elements ~
Here you can select which Rich Text Editor you wish to use when editing Elements. You can download and install additional Rich Text Editors from Package Management.
@param string $value
@return $this | [
"Editor",
"to",
"use",
"for",
"Elements",
"~",
"Here",
"you",
"can",
"select",
"which",
"Rich",
"Text",
"Editor",
"you",
"wish",
"to",
"use",
"when",
"editing",
"Elements",
".",
"You",
"can",
"download",
"and",
"install",
"additional",
"Rich",
"Text",
"Edi... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4488-L4495 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreXhtmlUrls | public function setCoreXhtmlUrls($value)
{
$this->setFieldName('xhtml_urls');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreXhtmlUrls($value)
{
$this->setFieldName('xhtml_urls');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreXhtmlUrls",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'xhtml_urls'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",
... | XHTML URLs ~
If set to true, all URLs generated by MODX will be XHTML-compliant, including encoding of the ampersand character.
@param bool $value
@return $this | [
"XHTML",
"URLs",
"~",
"If",
"set",
"to",
"true",
"all",
"URLs",
"generated",
"by",
"MODX",
"will",
"be",
"XHTML",
"-",
"compliant",
"including",
"encoding",
"of",
"the",
"ampersand",
"character",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L4506-L4513 | train |
duncan3dc/sql-class | src/Sql.php | Sql.connect | public function connect()
{
if ($this->connected) {
return $this;
}
# Set that we are connected here, because queries can be run as part of the below code, which would cause an infinite loop
$this->connected = true;
switch ($this->mode) {
case "mysql":
$this->server = new \Mysqli($this->options["hostname"], $this->options["username"], $this->options["password"]);
if ($this->server->connect_error) {
$this->error();
}
if ($this->options["charset"]) {
$this->server->set_charset($this->options["charset"]);
}
if ($timezone = $this->options["timezone"]) {
if ($timezone === self::USE_PHP_TIMEZONE) {
$timezone = ini_get("date.timezone");
}
$this->query("SET time_zone='" . $timezone . "'");
}
if ($database = $this->options["database"]) {
if (!$this->server->select_db($database)) {
$this->error();
}
}
break;
case "postgres":
case "redshift":
$connect = "host=" . $this->options["hostname"] . " ";
$connect .= "user=" . $this->options["username"] . " ";
$connect .= "password=" . $this->options["password"] . " ";
$connect .= "dbname= " . $this->options["database"] . " ";
$this->server = pg_connect($connect, PGSQL_CONNECT_FORCE_NEW);
break;
case "odbc":
$this->server = odbc_connect($this->options["hostname"], $this->options["username"], $this->options["password"]);
break;
case "sqlite":
$this->server = new \Sqlite3($this->options["database"]);
break;
case "mssql":
$this->server = mssql_connect($this->options["hostname"], $this->options["username"], $this->options["password"]);
break;
case "mssqlsrv":
if (!$port = $this->options["port"]) {
$port = 1433;
}
$this->server = sqlsrv_connect("tcp:" . $this->options["hostname"] . ",{$port}", [
"Uid" => $this->options["username"],
"PWD" => $this->options["password"],
]);
break;
}
if (!$this->server) {
$this->error();
}
return $this;
} | php | public function connect()
{
if ($this->connected) {
return $this;
}
# Set that we are connected here, because queries can be run as part of the below code, which would cause an infinite loop
$this->connected = true;
switch ($this->mode) {
case "mysql":
$this->server = new \Mysqli($this->options["hostname"], $this->options["username"], $this->options["password"]);
if ($this->server->connect_error) {
$this->error();
}
if ($this->options["charset"]) {
$this->server->set_charset($this->options["charset"]);
}
if ($timezone = $this->options["timezone"]) {
if ($timezone === self::USE_PHP_TIMEZONE) {
$timezone = ini_get("date.timezone");
}
$this->query("SET time_zone='" . $timezone . "'");
}
if ($database = $this->options["database"]) {
if (!$this->server->select_db($database)) {
$this->error();
}
}
break;
case "postgres":
case "redshift":
$connect = "host=" . $this->options["hostname"] . " ";
$connect .= "user=" . $this->options["username"] . " ";
$connect .= "password=" . $this->options["password"] . " ";
$connect .= "dbname= " . $this->options["database"] . " ";
$this->server = pg_connect($connect, PGSQL_CONNECT_FORCE_NEW);
break;
case "odbc":
$this->server = odbc_connect($this->options["hostname"], $this->options["username"], $this->options["password"]);
break;
case "sqlite":
$this->server = new \Sqlite3($this->options["database"]);
break;
case "mssql":
$this->server = mssql_connect($this->options["hostname"], $this->options["username"], $this->options["password"]);
break;
case "mssqlsrv":
if (!$port = $this->options["port"]) {
$port = 1433;
}
$this->server = sqlsrv_connect("tcp:" . $this->options["hostname"] . ",{$port}", [
"Uid" => $this->options["username"],
"PWD" => $this->options["password"],
]);
break;
}
if (!$this->server) {
$this->error();
}
return $this;
} | [
"public",
"function",
"connect",
"(",
")",
"{",
"if",
"(",
"$",
"this",
"->",
"connected",
")",
"{",
"return",
"$",
"this",
";",
"}",
"# Set that we are connected here, because queries can be run as part of the below code, which would cause an infinite loop",
"$",
"this",
... | If we have not already connected then connect to the database now.
@return static | [
"If",
"we",
"have",
"not",
"already",
"connected",
"then",
"connect",
"to",
"the",
"database",
"now",
"."
] | a2b31ceced57c651199c787f4b1e509bc5a022ae | https://github.com/duncan3dc/sql-class/blob/a2b31ceced57c651199c787f4b1e509bc5a022ae/src/Sql.php#L318-L387 | train |
duncan3dc/sql-class | src/Sql.php | Sql.attachDatabase | public function attachDatabase($filename, $database = null)
{
if ($this->mode != "sqlite") {
throw new \Exception("You can only attach databases when in sqlite mode");
}
if (!$database) {
$database = pathinfo($filename, PATHINFO_FILENAME);
}
$query = "ATTACH DATABASE '" . $filename . "' AS " . $this->quoteTable($database);
$result = $this->query($query);
if (!$result) {
$this->error();
}
$this->attached[$database] = $filename;
return $result;
} | php | public function attachDatabase($filename, $database = null)
{
if ($this->mode != "sqlite") {
throw new \Exception("You can only attach databases when in sqlite mode");
}
if (!$database) {
$database = pathinfo($filename, PATHINFO_FILENAME);
}
$query = "ATTACH DATABASE '" . $filename . "' AS " . $this->quoteTable($database);
$result = $this->query($query);
if (!$result) {
$this->error();
}
$this->attached[$database] = $filename;
return $result;
} | [
"public",
"function",
"attachDatabase",
"(",
"$",
"filename",
",",
"$",
"database",
"=",
"null",
")",
"{",
"if",
"(",
"$",
"this",
"->",
"mode",
"!=",
"\"sqlite\"",
")",
"{",
"throw",
"new",
"\\",
"Exception",
"(",
"\"You can only attach databases when in sqli... | Attach another sqlite database to the current connection | [
"Attach",
"another",
"sqlite",
"database",
"to",
"the",
"current",
"connection"
] | a2b31ceced57c651199c787f4b1e509bc5a022ae | https://github.com/duncan3dc/sql-class/blob/a2b31ceced57c651199c787f4b1e509bc5a022ae/src/Sql.php#L411-L431 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.