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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
htmlburger/wpemerge-theme-core | src/Avatar/Avatar.php | Avatar.getAvatarUrl | protected function getAvatarUrl( $id, $size ) {
$attachments_fallback_chain = $this->getAttachmentFallbackChain( $id );
foreach ( $attachments_fallback_chain as $attachment_id ) {
$image = wp_get_attachment_image_src( $attachment_id, $size );
if ( ! empty( $image ) ) {
return $image[0];
}
}
return null;
} | php | protected function getAvatarUrl( $id, $size ) {
$attachments_fallback_chain = $this->getAttachmentFallbackChain( $id );
foreach ( $attachments_fallback_chain as $attachment_id ) {
$image = wp_get_attachment_image_src( $attachment_id, $size );
if ( ! empty( $image ) ) {
return $image[0];
}
}
return null;
} | [
"protected",
"function",
"getAvatarUrl",
"(",
"$",
"id",
",",
"$",
"size",
")",
"{",
"$",
"attachments_fallback_chain",
"=",
"$",
"this",
"->",
"getAttachmentFallbackChain",
"(",
"$",
"id",
")",
";",
"foreach",
"(",
"$",
"attachments_fallback_chain",
"as",
"$"... | Get avatar url
@param integer $id
@param array<integer>|string $size
@return string|null | [
"Get",
"avatar",
"url"
] | 2e8532c9e9b4b7173476c1a11ca645a74895d0b5 | https://github.com/htmlburger/wpemerge-theme-core/blob/2e8532c9e9b4b7173476c1a11ca645a74895d0b5/src/Avatar/Avatar.php#L133-L144 | train |
htmlburger/wpemerge-theme-core | src/Avatar/Avatar.php | Avatar.filterAvatar | public function filterAvatar( $url, $id_or_email, $args ) {
if ( ! empty( $args['force_default'] ) ) {
return $url;
}
if ( $this->default_avatar_id === 0 && empty( $this->avatar_user_meta_keys ) ) {
return $url;
}
$id = $this->idOrEmailToId( $id_or_email );
if ( is_numeric( $id ) ) {
$filtered_url = $this->getAvatarUrl( (int) $id, $this->getSize( $args ) );
if ( $filtered_url !== null ) {
$url = $filtered_url;
}
}
return $url;
} | php | public function filterAvatar( $url, $id_or_email, $args ) {
if ( ! empty( $args['force_default'] ) ) {
return $url;
}
if ( $this->default_avatar_id === 0 && empty( $this->avatar_user_meta_keys ) ) {
return $url;
}
$id = $this->idOrEmailToId( $id_or_email );
if ( is_numeric( $id ) ) {
$filtered_url = $this->getAvatarUrl( (int) $id, $this->getSize( $args ) );
if ( $filtered_url !== null ) {
$url = $filtered_url;
}
}
return $url;
} | [
"public",
"function",
"filterAvatar",
"(",
"$",
"url",
",",
"$",
"id_or_email",
",",
"$",
"args",
")",
"{",
"if",
"(",
"!",
"empty",
"(",
"$",
"args",
"[",
"'force_default'",
"]",
")",
")",
"{",
"return",
"$",
"url",
";",
"}",
"if",
"(",
"$",
"th... | Filter an avatar url based on the default avatar attachment id and registered meta keys.
@param string $url
@param integer|string $id_or_email
@param array $args
@return string | [
"Filter",
"an",
"avatar",
"url",
"based",
"on",
"the",
"default",
"avatar",
"attachment",
"id",
"and",
"registered",
"meta",
"keys",
"."
] | 2e8532c9e9b4b7173476c1a11ca645a74895d0b5 | https://github.com/htmlburger/wpemerge-theme-core/blob/2e8532c9e9b4b7173476c1a11ca645a74895d0b5/src/Avatar/Avatar.php#L154-L173 | train |
Marwelln/basset | src/Basset/Server.php | Server.collection | public function collection(string $collection, ?string $format = null) : string {
list($collection, $extension) = preg_split('/\.(css|js)/', $collection, 2, PREG_SPLIT_DELIM_CAPTURE);
$group = $extension == 'css' ? 'stylesheets' : 'javascripts';
return $this->serve($collection, $group, $format);
} | php | public function collection(string $collection, ?string $format = null) : string {
list($collection, $extension) = preg_split('/\.(css|js)/', $collection, 2, PREG_SPLIT_DELIM_CAPTURE);
$group = $extension == 'css' ? 'stylesheets' : 'javascripts';
return $this->serve($collection, $group, $format);
} | [
"public",
"function",
"collection",
"(",
"string",
"$",
"collection",
",",
"?",
"string",
"$",
"format",
"=",
"null",
")",
":",
"string",
"{",
"list",
"(",
"$",
"collection",
",",
"$",
"extension",
")",
"=",
"preg_split",
"(",
"'/\\.(css|js)/'",
",",
"$"... | Serve a collection where the group is determined by the the extension. | [
"Serve",
"a",
"collection",
"where",
"the",
"group",
"is",
"determined",
"by",
"the",
"the",
"extension",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L29-L35 | train |
Marwelln/basset | src/Basset/Server.php | Server.stylesheets | public function stylesheets(string $collection, ?string $format = null) : string {
return $this->serve($collection, 'stylesheets', $format);
} | php | public function stylesheets(string $collection, ?string $format = null) : string {
return $this->serve($collection, 'stylesheets', $format);
} | [
"public",
"function",
"stylesheets",
"(",
"string",
"$",
"collection",
",",
"?",
"string",
"$",
"format",
"=",
"null",
")",
":",
"string",
"{",
"return",
"$",
"this",
"->",
"serve",
"(",
"$",
"collection",
",",
"'stylesheets'",
",",
"$",
"format",
")",
... | Serve the stylesheets for a given collection. | [
"Serve",
"the",
"stylesheets",
"for",
"a",
"given",
"collection",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L40-L42 | train |
Marwelln/basset | src/Basset/Server.php | Server.javascripts | public function javascripts(string $collection, ?string $format = null) : string {
return $this->serve($collection, 'javascripts', $format);
} | php | public function javascripts(string $collection, ?string $format = null) : string {
return $this->serve($collection, 'javascripts', $format);
} | [
"public",
"function",
"javascripts",
"(",
"string",
"$",
"collection",
",",
"?",
"string",
"$",
"format",
"=",
"null",
")",
":",
"string",
"{",
"return",
"$",
"this",
"->",
"serve",
"(",
"$",
"collection",
",",
"'javascripts'",
",",
"$",
"format",
")",
... | Serve the javascripts for a given collection. | [
"Serve",
"the",
"javascripts",
"for",
"a",
"given",
"collection",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L47-L49 | train |
Marwelln/basset | src/Basset/Server.php | Server.serve | public function serve(string $collection, string $group, ?string $format = null) : string {
if ( ! isset($this->app['basset'][$collection])) {
return '<!-- Basset could not find collection: '.$collection.' -->';
}
// Get the collection instance from the array of collections. This instance will be used
// throughout the building process to fetch assets and compare against the stored
// manfiest of fingerprints.
$collection = $this->app['basset'][$collection];
if ($this->runningInProduction() and $this->app['basset.manifest']->has($collection)) {
if ($this->app['basset.manifest']->get($collection)->hasProductionFingerprint($group)) {
return $this->serveProductionCollection($collection, $group, $format);
}
}
return $this->serveDevelopmentCollection($collection, $group, $format);
} | php | public function serve(string $collection, string $group, ?string $format = null) : string {
if ( ! isset($this->app['basset'][$collection])) {
return '<!-- Basset could not find collection: '.$collection.' -->';
}
// Get the collection instance from the array of collections. This instance will be used
// throughout the building process to fetch assets and compare against the stored
// manfiest of fingerprints.
$collection = $this->app['basset'][$collection];
if ($this->runningInProduction() and $this->app['basset.manifest']->has($collection)) {
if ($this->app['basset.manifest']->get($collection)->hasProductionFingerprint($group)) {
return $this->serveProductionCollection($collection, $group, $format);
}
}
return $this->serveDevelopmentCollection($collection, $group, $format);
} | [
"public",
"function",
"serve",
"(",
"string",
"$",
"collection",
",",
"string",
"$",
"group",
",",
"?",
"string",
"$",
"format",
"=",
"null",
")",
":",
"string",
"{",
"if",
"(",
"!",
"isset",
"(",
"$",
"this",
"->",
"app",
"[",
"'basset'",
"]",
"["... | Serve a given group for a collection. | [
"Serve",
"a",
"given",
"group",
"for",
"a",
"collection",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L54-L71 | train |
Marwelln/basset | src/Basset/Server.php | Server.serveProductionCollection | protected function serveProductionCollection(Collection $collection, string $group, ?string $format) : string {
$entry = $this->getCollectionEntry($collection);
$fingerprint = $entry->getProductionFingerprint($group);
$production = $this->{'create'.studly_case($group).'Element'}($this->prefixBuildPath($fingerprint), $format);
return $this->formatResponse($this->serveRawAssets($collection, $group, $format), $production);
} | php | protected function serveProductionCollection(Collection $collection, string $group, ?string $format) : string {
$entry = $this->getCollectionEntry($collection);
$fingerprint = $entry->getProductionFingerprint($group);
$production = $this->{'create'.studly_case($group).'Element'}($this->prefixBuildPath($fingerprint), $format);
return $this->formatResponse($this->serveRawAssets($collection, $group, $format), $production);
} | [
"protected",
"function",
"serveProductionCollection",
"(",
"Collection",
"$",
"collection",
",",
"string",
"$",
"group",
",",
"?",
"string",
"$",
"format",
")",
":",
"string",
"{",
"$",
"entry",
"=",
"$",
"this",
"->",
"getCollectionEntry",
"(",
"$",
"collec... | Serve a production collection. | [
"Serve",
"a",
"production",
"collection",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L76-L84 | train |
Marwelln/basset | src/Basset/Server.php | Server.serveDevelopmentCollection | protected function serveDevelopmentCollection(Collection $collection, string $group, ?string $format) : string {
$identifier = $collection->getIdentifier();
// Before we fetch the collections manifest entry we'll try to build the collection
// again if there is anything outstanding. This doesn't have a huge impact on
// page loads time like trying to dynamically serve each asset.
$this->tryDevelopmentBuild($collection, $group);
$entry = $this->getCollectionEntry($collection);
$responses = array();
foreach ($collection->getAssetsWithRaw($group) as $asset) {
if ( ! $asset->isRaw() and $path = $entry->getDevelopmentAsset($asset)) {
$path = $this->prefixBuildPath($identifier.'/'.$path);
} else {
$path = $asset->getRelativePath();
}
$responses[] = $this->{'create'.studly_case($group).'Element'}($path, $format);
}
return $this->formatResponse($responses);
} | php | protected function serveDevelopmentCollection(Collection $collection, string $group, ?string $format) : string {
$identifier = $collection->getIdentifier();
// Before we fetch the collections manifest entry we'll try to build the collection
// again if there is anything outstanding. This doesn't have a huge impact on
// page loads time like trying to dynamically serve each asset.
$this->tryDevelopmentBuild($collection, $group);
$entry = $this->getCollectionEntry($collection);
$responses = array();
foreach ($collection->getAssetsWithRaw($group) as $asset) {
if ( ! $asset->isRaw() and $path = $entry->getDevelopmentAsset($asset)) {
$path = $this->prefixBuildPath($identifier.'/'.$path);
} else {
$path = $asset->getRelativePath();
}
$responses[] = $this->{'create'.studly_case($group).'Element'}($path, $format);
}
return $this->formatResponse($responses);
} | [
"protected",
"function",
"serveDevelopmentCollection",
"(",
"Collection",
"$",
"collection",
",",
"string",
"$",
"group",
",",
"?",
"string",
"$",
"format",
")",
":",
"string",
"{",
"$",
"identifier",
"=",
"$",
"collection",
"->",
"getIdentifier",
"(",
")",
... | Serve a development collection. | [
"Serve",
"a",
"development",
"collection",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L89-L112 | train |
Marwelln/basset | src/Basset/Server.php | Server.serveRawAssets | protected function serveRawAssets(Collection $collection, string $group, ?string $format) : array {
$responses = array();
foreach ($collection->getAssetsOnlyRaw($group) as $asset) {
$path = $asset->getRelativePath();
$responses[] = $this->{'create'.studly_case($group).'Element'}($path, $format);
}
return $responses;
} | php | protected function serveRawAssets(Collection $collection, string $group, ?string $format) : array {
$responses = array();
foreach ($collection->getAssetsOnlyRaw($group) as $asset) {
$path = $asset->getRelativePath();
$responses[] = $this->{'create'.studly_case($group).'Element'}($path, $format);
}
return $responses;
} | [
"protected",
"function",
"serveRawAssets",
"(",
"Collection",
"$",
"collection",
",",
"string",
"$",
"group",
",",
"?",
"string",
"$",
"format",
")",
":",
"array",
"{",
"$",
"responses",
"=",
"array",
"(",
")",
";",
"foreach",
"(",
"$",
"collection",
"->... | Serve a collections raw assets. | [
"Serve",
"a",
"collections",
"raw",
"assets",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L117-L127 | train |
Marwelln/basset | src/Basset/Server.php | Server.formatResponse | protected function formatResponse() : string {
$responses = array();
foreach (func_get_args() as $response) {
$responses = array_merge($responses, (array) $response);
}
return array_to_newlines($responses);
} | php | protected function formatResponse() : string {
$responses = array();
foreach (func_get_args() as $response) {
$responses = array_merge($responses, (array) $response);
}
return array_to_newlines($responses);
} | [
"protected",
"function",
"formatResponse",
"(",
")",
":",
"string",
"{",
"$",
"responses",
"=",
"array",
"(",
")",
";",
"foreach",
"(",
"func_get_args",
"(",
")",
"as",
"$",
"response",
")",
"{",
"$",
"responses",
"=",
"array_merge",
"(",
"$",
"responses... | Format an array of responses and return a string.
@param mixed $args | [
"Format",
"an",
"array",
"of",
"responses",
"and",
"return",
"a",
"string",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L134-L142 | train |
Marwelln/basset | src/Basset/Server.php | Server.tryDevelopmentBuild | protected function tryDevelopmentBuild(Collection $collection, string $group) : void {
try {
$this->app['basset.builder']->buildAsDevelopment($collection, $group);
} catch (BuildNotRequiredException $e) {}
$this->app['basset.builder.cleaner']->clean($collection->getIdentifier());
} | php | protected function tryDevelopmentBuild(Collection $collection, string $group) : void {
try {
$this->app['basset.builder']->buildAsDevelopment($collection, $group);
} catch (BuildNotRequiredException $e) {}
$this->app['basset.builder.cleaner']->clean($collection->getIdentifier());
} | [
"protected",
"function",
"tryDevelopmentBuild",
"(",
"Collection",
"$",
"collection",
",",
"string",
"$",
"group",
")",
":",
"void",
"{",
"try",
"{",
"$",
"this",
"->",
"app",
"[",
"'basset.builder'",
"]",
"->",
"buildAsDevelopment",
"(",
"$",
"collection",
... | Try the development build of a collection. | [
"Try",
"the",
"development",
"build",
"of",
"a",
"collection",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L154-L160 | train |
Marwelln/basset | src/Basset/Server.php | Server.prefixBuildPath | protected function prefixBuildPath(string $path) : string {
if ($buildPath = $this->app['config']->get('basset.build_path')) {
$path = "{$buildPath}/{$path}";
}
return $path;
} | php | protected function prefixBuildPath(string $path) : string {
if ($buildPath = $this->app['config']->get('basset.build_path')) {
$path = "{$buildPath}/{$path}";
}
return $path;
} | [
"protected",
"function",
"prefixBuildPath",
"(",
"string",
"$",
"path",
")",
":",
"string",
"{",
"if",
"(",
"$",
"buildPath",
"=",
"$",
"this",
"->",
"app",
"[",
"'config'",
"]",
"->",
"get",
"(",
"'basset.build_path'",
")",
")",
"{",
"$",
"path",
"=",... | Prefix the build path to a given path. | [
"Prefix",
"the",
"build",
"path",
"to",
"a",
"given",
"path",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L165-L171 | train |
Marwelln/basset | src/Basset/Server.php | Server.createStylesheetsElement | protected function createStylesheetsElement(string $path, ?string $format) : string {
return sprintf($format ?: '<link rel="stylesheet" type="text/css" href="%s" />', $this->buildAssetUrl($path));
} | php | protected function createStylesheetsElement(string $path, ?string $format) : string {
return sprintf($format ?: '<link rel="stylesheet" type="text/css" href="%s" />', $this->buildAssetUrl($path));
} | [
"protected",
"function",
"createStylesheetsElement",
"(",
"string",
"$",
"path",
",",
"?",
"string",
"$",
"format",
")",
":",
"string",
"{",
"return",
"sprintf",
"(",
"$",
"format",
"?",
":",
"'<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\" />'",
",",
"$",
... | Create a stylesheets element for the specified path. | [
"Create",
"a",
"stylesheets",
"element",
"for",
"the",
"specified",
"path",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L183-L185 | train |
Marwelln/basset | src/Basset/Server.php | Server.createJavascriptsElement | protected function createJavascriptsElement(string $path, ?string $format) : string {
return sprintf($format ?: '<script src="%s"></script>', $this->buildAssetUrl($path));
} | php | protected function createJavascriptsElement(string $path, ?string $format) : string {
return sprintf($format ?: '<script src="%s"></script>', $this->buildAssetUrl($path));
} | [
"protected",
"function",
"createJavascriptsElement",
"(",
"string",
"$",
"path",
",",
"?",
"string",
"$",
"format",
")",
":",
"string",
"{",
"return",
"sprintf",
"(",
"$",
"format",
"?",
":",
"'<script src=\"%s\"></script>'",
",",
"$",
"this",
"->",
"buildAsse... | Create a javascripts element for the specified path. | [
"Create",
"a",
"javascripts",
"element",
"for",
"the",
"specified",
"path",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L190-L192 | train |
Marwelln/basset | src/Basset/Server.php | Server.buildAssetUrl | public function buildAssetUrl(string $path) : string {
return starts_with($path, '//') ? $path : $this->app['url']->asset($path);
} | php | public function buildAssetUrl(string $path) : string {
return starts_with($path, '//') ? $path : $this->app['url']->asset($path);
} | [
"public",
"function",
"buildAssetUrl",
"(",
"string",
"$",
"path",
")",
":",
"string",
"{",
"return",
"starts_with",
"(",
"$",
"path",
",",
"'//'",
")",
"?",
"$",
"path",
":",
"$",
"this",
"->",
"app",
"[",
"'url'",
"]",
"->",
"asset",
"(",
"$",
"p... | Build the URL to an asset. | [
"Build",
"the",
"URL",
"to",
"an",
"asset",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/Server.php#L197-L199 | train |
subjective-php/spl-types | src/AbstractEnum.php | AbstractEnum.all | final public static function all() : array
{
static $all = null;
if ($all === null) {
foreach ((new \ReflectionClass(get_called_class()))->getConstants() as $constant) {
$all[] = new static($constant);
}
}
return $all;
} | php | final public static function all() : array
{
static $all = null;
if ($all === null) {
foreach ((new \ReflectionClass(get_called_class()))->getConstants() as $constant) {
$all[] = new static($constant);
}
}
return $all;
} | [
"final",
"public",
"static",
"function",
"all",
"(",
")",
":",
"array",
"{",
"static",
"$",
"all",
"=",
"null",
";",
"if",
"(",
"$",
"all",
"===",
"null",
")",
"{",
"foreach",
"(",
"(",
"new",
"\\",
"ReflectionClass",
"(",
"get_called_class",
"(",
")... | Returns an array of all enums.
@return AbstractEnum[] | [
"Returns",
"an",
"array",
"of",
"all",
"enums",
"."
] | 96f02d27a75561d9259a7ee8c60d1454ae7d9ced | https://github.com/subjective-php/spl-types/blob/96f02d27a75561d9259a7ee8c60d1454ae7d9ced/src/AbstractEnum.php#L61-L72 | train |
mvccore/mvccore | src/MvcCore/View/Rendering.php | Rendering.& | public function & Render ($typePath = '', $relativePath = '') {
/** @var $this \MvcCore\View */
if (!$typePath) $typePath = static::$scriptsDir;
$result = '';
$relativePath = $this->_correctRelativePath(
$typePath, $relativePath
);
$viewScriptFullPath = static::GetViewScriptFullPath($typePath, $relativePath);
if (!file_exists($viewScriptFullPath)) {
$selfClass = version_compare(PHP_VERSION, '5.5', '>') ? self::class : __CLASS__;
throw new \InvalidArgumentException('['.$selfClass."] Template not found in path: `$viewScriptFullPath`.");
}
$renderedFullPaths = & $this->__protected['renderedFullPaths'];
$renderedFullPaths[] = $viewScriptFullPath;
ob_start();
include($viewScriptFullPath);
$result = ob_get_clean();
\array_pop($renderedFullPaths); // unset last
return $result;
} | php | public function & Render ($typePath = '', $relativePath = '') {
/** @var $this \MvcCore\View */
if (!$typePath) $typePath = static::$scriptsDir;
$result = '';
$relativePath = $this->_correctRelativePath(
$typePath, $relativePath
);
$viewScriptFullPath = static::GetViewScriptFullPath($typePath, $relativePath);
if (!file_exists($viewScriptFullPath)) {
$selfClass = version_compare(PHP_VERSION, '5.5', '>') ? self::class : __CLASS__;
throw new \InvalidArgumentException('['.$selfClass."] Template not found in path: `$viewScriptFullPath`.");
}
$renderedFullPaths = & $this->__protected['renderedFullPaths'];
$renderedFullPaths[] = $viewScriptFullPath;
ob_start();
include($viewScriptFullPath);
$result = ob_get_clean();
\array_pop($renderedFullPaths); // unset last
return $result;
} | [
"public",
"function",
"&",
"Render",
"(",
"$",
"typePath",
"=",
"''",
",",
"$",
"relativePath",
"=",
"''",
")",
"{",
"/** @var $this \\MvcCore\\View */",
"if",
"(",
"!",
"$",
"typePath",
")",
"$",
"typePath",
"=",
"static",
"::",
"$",
"scriptsDir",
";",
... | Render controller template and all necessary layout
templates and return rendered result as string reference.
@param string $typePath By default: `"Layouts" | "Scripts"`. It could be `"Forms" | "Forms/Fields"` etc...
@param string $relativePath
@throws \InvalidArgumentException Template not found in path: `$viewScriptFullPath`.
@return string | [
"Render",
"controller",
"template",
"and",
"all",
"necessary",
"layout",
"templates",
"and",
"return",
"rendered",
"result",
"as",
"string",
"reference",
"."
] | 5e580a2803bbccea8168316c4c6b963e1910e0bf | https://github.com/mvccore/mvccore/blob/5e580a2803bbccea8168316c4c6b963e1910e0bf/src/MvcCore/View/Rendering.php#L61-L80 | train |
Marwelln/basset | src/Basset/AssetFinder.php | AssetFinder.find | public function find($name)
{
$name = $this->config->get("basset.aliases.assets.{$name}", $name);
// Spin through an array of methods ordered by the priority of how an asset should be found.
// Once we find a non-null path we'll return that path breaking from the loop.
foreach (array('RemotelyHosted', 'PackageAsset', 'WorkingDirectory', 'PublicPath', 'AbsolutePath') as $method)
{
if ($path = $this->{'find'.$method}($name))
{
return $path;
}
}
throw new AssetNotFoundException;
} | php | public function find($name)
{
$name = $this->config->get("basset.aliases.assets.{$name}", $name);
// Spin through an array of methods ordered by the priority of how an asset should be found.
// Once we find a non-null path we'll return that path breaking from the loop.
foreach (array('RemotelyHosted', 'PackageAsset', 'WorkingDirectory', 'PublicPath', 'AbsolutePath') as $method)
{
if ($path = $this->{'find'.$method}($name))
{
return $path;
}
}
throw new AssetNotFoundException;
} | [
"public",
"function",
"find",
"(",
"$",
"name",
")",
"{",
"$",
"name",
"=",
"$",
"this",
"->",
"config",
"->",
"get",
"(",
"\"basset.aliases.assets.{$name}\"",
",",
"$",
"name",
")",
";",
"// Spin through an array of methods ordered by the priority of how an asset sho... | Find and return an assets path.
@param string $name
@return string
@throws \Basset\Exceptions\AssetExistsException
@throws \Basset\Exceptions\AssetNotFoundException | [
"Find",
"and",
"return",
"an",
"assets",
"path",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/AssetFinder.php#L62-L77 | train |
Marwelln/basset | src/Basset/AssetFinder.php | AssetFinder.findPackageAsset | public function findPackageAsset($name)
{
if (str_contains($name, '::'))
{
list($namespace, $name) = explode('::', $name);
if ( ! isset($this->hints[$namespace]))
{
return;
}
$path = $this->prefixPublicPath('packages/'.$this->hints[$namespace].'/'.$name);
if ($this->files->exists($path))
{
return $path;
}
}
} | php | public function findPackageAsset($name)
{
if (str_contains($name, '::'))
{
list($namespace, $name) = explode('::', $name);
if ( ! isset($this->hints[$namespace]))
{
return;
}
$path = $this->prefixPublicPath('packages/'.$this->hints[$namespace].'/'.$name);
if ($this->files->exists($path))
{
return $path;
}
}
} | [
"public",
"function",
"findPackageAsset",
"(",
"$",
"name",
")",
"{",
"if",
"(",
"str_contains",
"(",
"$",
"name",
",",
"'::'",
")",
")",
"{",
"list",
"(",
"$",
"namespace",
",",
"$",
"name",
")",
"=",
"explode",
"(",
"'::'",
",",
"$",
"name",
")",... | Find an asset by looking for a prefixed package namespace.
@param string $name
@return null|string | [
"Find",
"an",
"asset",
"by",
"looking",
"for",
"a",
"prefixed",
"package",
"namespace",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/AssetFinder.php#L99-L117 | train |
Marwelln/basset | src/Basset/AssetFinder.php | AssetFinder.findWorkingDirectory | public function findWorkingDirectory($name)
{
$path = $this->getWorkingDirectory().'/'.$name;
if ($this->withinWorkingDirectory() and $this->files->exists($path))
{
return $path;
}
} | php | public function findWorkingDirectory($name)
{
$path = $this->getWorkingDirectory().'/'.$name;
if ($this->withinWorkingDirectory() and $this->files->exists($path))
{
return $path;
}
} | [
"public",
"function",
"findWorkingDirectory",
"(",
"$",
"name",
")",
"{",
"$",
"path",
"=",
"$",
"this",
"->",
"getWorkingDirectory",
"(",
")",
".",
"'/'",
".",
"$",
"name",
";",
"if",
"(",
"$",
"this",
"->",
"withinWorkingDirectory",
"(",
")",
"and",
... | Find an asset by searching in the current working directory.
@param string $name
@return null|string | [
"Find",
"an",
"asset",
"by",
"searching",
"in",
"the",
"current",
"working",
"directory",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/AssetFinder.php#L125-L133 | train |
Marwelln/basset | src/Basset/AssetFinder.php | AssetFinder.findPublicPath | public function findPublicPath($name)
{
$path = $this->prefixPublicPath($name);
if ($this->files->exists($path))
{
return $path;
}
} | php | public function findPublicPath($name)
{
$path = $this->prefixPublicPath($name);
if ($this->files->exists($path))
{
return $path;
}
} | [
"public",
"function",
"findPublicPath",
"(",
"$",
"name",
")",
"{",
"$",
"path",
"=",
"$",
"this",
"->",
"prefixPublicPath",
"(",
"$",
"name",
")",
";",
"if",
"(",
"$",
"this",
"->",
"files",
"->",
"exists",
"(",
"$",
"path",
")",
")",
"{",
"return... | Find an asset by searching in the public path.
@param string $name
@return null|string | [
"Find",
"an",
"asset",
"by",
"searching",
"in",
"the",
"public",
"path",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/AssetFinder.php#L141-L149 | train |
Marwelln/basset | src/Basset/AssetFinder.php | AssetFinder.setWorkingDirectory | public function setWorkingDirectory($path)
{
$path = $this->prefixDirectoryStack($path);
if ($this->files->exists($path))
{
return $this->directoryStack[] = $path;
}
throw new DirectoryNotFoundException("Directory [{$path}] could not be found.");
} | php | public function setWorkingDirectory($path)
{
$path = $this->prefixDirectoryStack($path);
if ($this->files->exists($path))
{
return $this->directoryStack[] = $path;
}
throw new DirectoryNotFoundException("Directory [{$path}] could not be found.");
} | [
"public",
"function",
"setWorkingDirectory",
"(",
"$",
"path",
")",
"{",
"$",
"path",
"=",
"$",
"this",
"->",
"prefixDirectoryStack",
"(",
"$",
"path",
")",
";",
"if",
"(",
"$",
"this",
"->",
"files",
"->",
"exists",
"(",
"$",
"path",
")",
")",
"{",
... | Set the working directory path.
@param string $path
@return string
@throws \Basset\Exceptions\DirectoryNotFoundException | [
"Set",
"the",
"working",
"directory",
"path",
"."
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/AssetFinder.php#L172-L182 | train |
Marwelln/basset | src/Basset/AssetFinder.php | AssetFinder.prefixDirectoryStack | public function prefixDirectoryStack($path)
{
if ($this->withinWorkingDirectory())
{
return rtrim($this->getWorkingDirectory().'/'.ltrim($path, '/'), '/');
}
return $this->prefixPublicPath($path);
} | php | public function prefixDirectoryStack($path)
{
if ($this->withinWorkingDirectory())
{
return rtrim($this->getWorkingDirectory().'/'.ltrim($path, '/'), '/');
}
return $this->prefixPublicPath($path);
} | [
"public",
"function",
"prefixDirectoryStack",
"(",
"$",
"path",
")",
"{",
"if",
"(",
"$",
"this",
"->",
"withinWorkingDirectory",
"(",
")",
")",
"{",
"return",
"rtrim",
"(",
"$",
"this",
"->",
"getWorkingDirectory",
"(",
")",
".",
"'/'",
".",
"ltrim",
"(... | Prefix the last directory from the stack or the public path if not
within a working directory
@param string $path
@return string | [
"Prefix",
"the",
"last",
"directory",
"from",
"the",
"stack",
"or",
"the",
"public",
"path",
"if",
"not",
"within",
"a",
"working",
"directory"
] | bd8567b83e1562c83ef92aa1b83eed8b2ee3f267 | https://github.com/Marwelln/basset/blob/bd8567b83e1562c83ef92aa1b83eed8b2ee3f267/src/Basset/AssetFinder.php#L231-L239 | train |
GeckoPackages/GeckoPHPUnit | src/PHPUnit/Asserts/FileSystemAssertTrait.php | FileSystemAssertTrait.assertDirectoryNotEmpty | public static function assertDirectoryNotEmpty($filename, string $message = '')
{
self::assertThatConstraint($filename, $message, 'assertDirectoryNotEmpty', new LogicalNot(new DirectoryEmptyConstraint()));
} | php | public static function assertDirectoryNotEmpty($filename, string $message = '')
{
self::assertThatConstraint($filename, $message, 'assertDirectoryNotEmpty', new LogicalNot(new DirectoryEmptyConstraint()));
} | [
"public",
"static",
"function",
"assertDirectoryNotEmpty",
"(",
"$",
"filename",
",",
"string",
"$",
"message",
"=",
"''",
")",
"{",
"self",
"::",
"assertThatConstraint",
"(",
"$",
"filename",
",",
"$",
"message",
",",
"'assertDirectoryNotEmpty'",
",",
"new",
... | Assert that a directory exists and is not empty.
@param mixed $filename
@param string $message | [
"Assert",
"that",
"a",
"directory",
"exists",
"and",
"is",
"not",
"empty",
"."
] | a740ef4f1e194ad661e0edddb17823793d46d9e4 | https://github.com/GeckoPackages/GeckoPHPUnit/blob/a740ef4f1e194ad661e0edddb17823793d46d9e4/src/PHPUnit/Asserts/FileSystemAssertTrait.php#L52-L55 | train |
GeckoPackages/GeckoPHPUnit | src/PHPUnit/Asserts/FileSystemAssertTrait.php | FileSystemAssertTrait.assertFileIsNotLink | public static function assertFileIsNotLink($filename, string $message = '')
{
self::assertThatConstraint($filename, $message, 'assertFileIsNotLink', new LogicalNot(new FileIsLinkConstraint()));
} | php | public static function assertFileIsNotLink($filename, string $message = '')
{
self::assertThatConstraint($filename, $message, 'assertFileIsNotLink', new LogicalNot(new FileIsLinkConstraint()));
} | [
"public",
"static",
"function",
"assertFileIsNotLink",
"(",
"$",
"filename",
",",
"string",
"$",
"message",
"=",
"''",
")",
"{",
"self",
"::",
"assertThatConstraint",
"(",
"$",
"filename",
",",
"$",
"message",
",",
"'assertFileIsNotLink'",
",",
"new",
"Logical... | Assert that a file is not a symbolic link.
@param mixed $filename
@param string $message | [
"Assert",
"that",
"a",
"file",
"is",
"not",
"a",
"symbolic",
"link",
"."
] | a740ef4f1e194ad661e0edddb17823793d46d9e4 | https://github.com/GeckoPackages/GeckoPHPUnit/blob/a740ef4f1e194ad661e0edddb17823793d46d9e4/src/PHPUnit/Asserts/FileSystemAssertTrait.php#L101-L104 | train |
mvccore/mvccore | src/MvcCore/Route/Instancing.php | Instancing.constructVarAdvConf | protected function constructVarAdvConf (& $advCfg) {
$methodParam = static::CONFIG_METHOD;
if (isset($advCfg[$methodParam]))
$this->method = strtoupper((string) $advCfg[$methodParam]);
$redirectParam = static::CONFIG_REDIRECT;
if (isset($advCfg[$redirectParam]))
$this->redirect = (string) $advCfg[$redirectParam];
$absoluteParam = static::CONFIG_ABSOLUTE;
if (isset($advCfg[$absoluteParam]))
$this->absolute = (bool) $advCfg[$absoluteParam];
} | php | protected function constructVarAdvConf (& $advCfg) {
$methodParam = static::CONFIG_METHOD;
if (isset($advCfg[$methodParam]))
$this->method = strtoupper((string) $advCfg[$methodParam]);
$redirectParam = static::CONFIG_REDIRECT;
if (isset($advCfg[$redirectParam]))
$this->redirect = (string) $advCfg[$redirectParam];
$absoluteParam = static::CONFIG_ABSOLUTE;
if (isset($advCfg[$absoluteParam]))
$this->absolute = (bool) $advCfg[$absoluteParam];
} | [
"protected",
"function",
"constructVarAdvConf",
"(",
"&",
"$",
"advCfg",
")",
"{",
"$",
"methodParam",
"=",
"static",
"::",
"CONFIG_METHOD",
";",
"if",
"(",
"isset",
"(",
"$",
"advCfg",
"[",
"$",
"methodParam",
"]",
")",
")",
"$",
"this",
"->",
"method",... | If route is initialized by each constructor function arguments,
initialize `method`, `redirect` and `absolute`.
@param array $advCfg An array with possible keys `method`,
`redirect` and `absolute`.
@return void | [
"If",
"route",
"is",
"initialized",
"by",
"each",
"constructor",
"function",
"arguments",
"initialize",
"method",
"redirect",
"and",
"absolute",
"."
] | 5e580a2803bbccea8168316c4c6b963e1910e0bf | https://github.com/mvccore/mvccore/blob/5e580a2803bbccea8168316c4c6b963e1910e0bf/src/MvcCore/Route/Instancing.php#L289-L299 | train |
mvccore/mvccore | src/MvcCore/Model/Converters.php | Converters.convertToType | protected static function convertToType ($rawValue, $typeStr) {
$conversionResult = FALSE;
$typeStr = trim($typeStr, '\\');
if ($typeStr == 'DateTime') {
$dateTimeFormat = 'Y-m-d H:i:s';
if (is_numeric($rawValue)) {
$rawValueStr = str_replace(['+','-','.'], '', strval($rawValue));
$secData = mb_substr($rawValueStr, 0, 10);
$dateTimeStr = date($dateTimeFormat, intval($secData));
if (strlen($rawValueStr) > 10)
$dateTimeStr .= '.' . mb_substr($rawValueStr, 10);
} else {
$dateTimeStr = strval($rawValue);
if (strpos($dateTimeStr, '-') === FALSE) {
$dateTimeFormat = substr($dateTimeFormat, 6);
} else if (strpos($dateTimeStr, ':') === FALSE) {
$dateTimeFormat = substr($dateTimeFormat, 0, 5);
}
if (strpos($dateTimeStr, '.') !== FALSE) $dateTimeFormat .= '.u';
}
$dateTime = date_create_from_format($dateTimeFormat, $dateTimeStr);
if ($dateTime !== FALSE) {
$rawValue = $dateTime;
$conversionResult = TRUE;
}
} else {
if (settype($rawValue, $typeStr)) $conversionResult = TRUE;
}
return [$conversionResult, $rawValue];
} | php | protected static function convertToType ($rawValue, $typeStr) {
$conversionResult = FALSE;
$typeStr = trim($typeStr, '\\');
if ($typeStr == 'DateTime') {
$dateTimeFormat = 'Y-m-d H:i:s';
if (is_numeric($rawValue)) {
$rawValueStr = str_replace(['+','-','.'], '', strval($rawValue));
$secData = mb_substr($rawValueStr, 0, 10);
$dateTimeStr = date($dateTimeFormat, intval($secData));
if (strlen($rawValueStr) > 10)
$dateTimeStr .= '.' . mb_substr($rawValueStr, 10);
} else {
$dateTimeStr = strval($rawValue);
if (strpos($dateTimeStr, '-') === FALSE) {
$dateTimeFormat = substr($dateTimeFormat, 6);
} else if (strpos($dateTimeStr, ':') === FALSE) {
$dateTimeFormat = substr($dateTimeFormat, 0, 5);
}
if (strpos($dateTimeStr, '.') !== FALSE) $dateTimeFormat .= '.u';
}
$dateTime = date_create_from_format($dateTimeFormat, $dateTimeStr);
if ($dateTime !== FALSE) {
$rawValue = $dateTime;
$conversionResult = TRUE;
}
} else {
if (settype($rawValue, $typeStr)) $conversionResult = TRUE;
}
return [$conversionResult, $rawValue];
} | [
"protected",
"static",
"function",
"convertToType",
"(",
"$",
"rawValue",
",",
"$",
"typeStr",
")",
"{",
"$",
"conversionResult",
"=",
"FALSE",
";",
"$",
"typeStr",
"=",
"trim",
"(",
"$",
"typeStr",
",",
"'\\\\'",
")",
";",
"if",
"(",
"$",
"typeStr",
"... | Try to convert database value into target type.
@param mixed $rawValue
@param string $typeStr
@return array | [
"Try",
"to",
"convert",
"database",
"value",
"into",
"target",
"type",
"."
] | 5e580a2803bbccea8168316c4c6b963e1910e0bf | https://github.com/mvccore/mvccore/blob/5e580a2803bbccea8168316c4c6b963e1910e0bf/src/MvcCore/Model/Converters.php#L24-L53 | train |
mvccore/mvccore | src/MvcCore/Model/Converters.php | Converters.getKeyConversionMethods | protected static function getKeyConversionMethods ($keysConversionFlags = \MvcCore\IModel::KEYS_CONVERSION_CASE_SENSITIVE) {
$flagsAndConversionMethods = [
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_UNDERSCORES_TO_PASCALCASE => 'keyConversionUnderscoresToPascalcase',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_UNDERSCORES_TO_CAMELCASE => 'keyConversionUnderscoresToCamelcase',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_PASCALCASE_TO_UNDERSCORES => 'keyConversionPascalcaseToUnderscores',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_PASCALCASE_TO_CAMELCASE => 'keyConversionPascalcaseToCamelcase',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_CAMELCASE_TO_UNDERSCORES => 'keyConversionCamelcaseToUnderscores',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_CAMELCASE_TO_PASCALCASE => 'keyConversionCamelcaseToPascalcase',
/*$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_CASE_SENSITIVE => NULL,*/
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_CASE_INSENSITIVE => 'keyConversionCaseInsensitive',
];
unset($flagsAndConversionMethods[0]);
return $flagsAndConversionMethods;
} | php | protected static function getKeyConversionMethods ($keysConversionFlags = \MvcCore\IModel::KEYS_CONVERSION_CASE_SENSITIVE) {
$flagsAndConversionMethods = [
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_UNDERSCORES_TO_PASCALCASE => 'keyConversionUnderscoresToPascalcase',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_UNDERSCORES_TO_CAMELCASE => 'keyConversionUnderscoresToCamelcase',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_PASCALCASE_TO_UNDERSCORES => 'keyConversionPascalcaseToUnderscores',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_PASCALCASE_TO_CAMELCASE => 'keyConversionPascalcaseToCamelcase',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_CAMELCASE_TO_UNDERSCORES => 'keyConversionCamelcaseToUnderscores',
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_CAMELCASE_TO_PASCALCASE => 'keyConversionCamelcaseToPascalcase',
/*$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_CASE_SENSITIVE => NULL,*/
$keysConversionFlags & \MvcCore\IModel::KEYS_CONVERSION_CASE_INSENSITIVE => 'keyConversionCaseInsensitive',
];
unset($flagsAndConversionMethods[0]);
return $flagsAndConversionMethods;
} | [
"protected",
"static",
"function",
"getKeyConversionMethods",
"(",
"$",
"keysConversionFlags",
"=",
"\\",
"MvcCore",
"\\",
"IModel",
"::",
"KEYS_CONVERSION_CASE_SENSITIVE",
")",
"{",
"$",
"flagsAndConversionMethods",
"=",
"[",
"$",
"keysConversionFlags",
"&",
"\\",
"M... | Return protected static key conversion methods
array by given conversion flag.
@param int $keysConversionFlags
@return \string[] | [
"Return",
"protected",
"static",
"key",
"conversion",
"methods",
"array",
"by",
"given",
"conversion",
"flag",
"."
] | 5e580a2803bbccea8168316c4c6b963e1910e0bf | https://github.com/mvccore/mvccore/blob/5e580a2803bbccea8168316c4c6b963e1910e0bf/src/MvcCore/Model/Converters.php#L61-L74 | train |
mvccore/mvccore | src/MvcCore/Model/Converters.php | Converters.keyConversionCaseInsensitive | protected static function keyConversionCaseInsensitive ($key, & $toolsClass, & $csKeysMap) {
$keyPos = stripos($csKeysMap, ','.$key.',');
if ($keyPos === FALSE) return $key;
return substr($csKeysMap, $keyPos + 1, strlen($key));
} | php | protected static function keyConversionCaseInsensitive ($key, & $toolsClass, & $csKeysMap) {
$keyPos = stripos($csKeysMap, ','.$key.',');
if ($keyPos === FALSE) return $key;
return substr($csKeysMap, $keyPos + 1, strlen($key));
} | [
"protected",
"static",
"function",
"keyConversionCaseInsensitive",
"(",
"$",
"key",
",",
"&",
"$",
"toolsClass",
",",
"&",
"$",
"csKeysMap",
")",
"{",
"$",
"keyPos",
"=",
"stripos",
"(",
"$",
"csKeysMap",
",",
"','",
".",
"$",
"key",
".",
"','",
")",
"... | Return key proper case sensitive value by given case sensitive map.
@param string $key
@param string $toolsClass
@param string $csKeysMap
@return string | [
"Return",
"key",
"proper",
"case",
"sensitive",
"value",
"by",
"given",
"case",
"sensitive",
"map",
"."
] | 5e580a2803bbccea8168316c4c6b963e1910e0bf | https://github.com/mvccore/mvccore/blob/5e580a2803bbccea8168316c4c6b963e1910e0bf/src/MvcCore/Model/Converters.php#L83-L87 | train |
hyyan/jaguar | src/Jaguar/Format/Jpeg.php | Jpeg.isJpegFile | public static function isJpegFile($filename)
{
try {
$image = new ImageFile($filename);
if (strtolower($image->getMime()) !== @image_type_to_mime_type(IMAGETYPE_JPEG)) {
return false;
}
return true;
} catch (\RuntimeException $ex) {
return false;
}
} | php | public static function isJpegFile($filename)
{
try {
$image = new ImageFile($filename);
if (strtolower($image->getMime()) !== @image_type_to_mime_type(IMAGETYPE_JPEG)) {
return false;
}
return true;
} catch (\RuntimeException $ex) {
return false;
}
} | [
"public",
"static",
"function",
"isJpegFile",
"(",
"$",
"filename",
")",
"{",
"try",
"{",
"$",
"image",
"=",
"new",
"ImageFile",
"(",
"$",
"filename",
")",
";",
"if",
"(",
"strtolower",
"(",
"$",
"image",
"->",
"getMime",
"(",
")",
")",
"!==",
"@",
... | Check if the given file is jpeg file
@param string $filename
@return boolean true if jpeg false othewise | [
"Check",
"if",
"the",
"given",
"file",
"is",
"jpeg",
"file"
] | ddfe1e65838e86aea4e9cf36a588fe7dcf853576 | https://github.com/hyyan/jaguar/blob/ddfe1e65838e86aea4e9cf36a588fe7dcf853576/src/Jaguar/Format/Jpeg.php#L27-L39 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.getPortableType | public function getPortableType()
{
$type = false;
switch ($this->getFieldXType()) {
case 'modx-combo-template':
$type = 'template';
break;
case 'modx-combo-source':
$type = 'media-source';
break;
default:
if (isset($this->portable_settings[$this->getFieldKey()])) {
$type = $this->portable_settings[$this->getFieldKey()];
}
}
return $type;
} | php | public function getPortableType()
{
$type = false;
switch ($this->getFieldXType()) {
case 'modx-combo-template':
$type = 'template';
break;
case 'modx-combo-source':
$type = 'media-source';
break;
default:
if (isset($this->portable_settings[$this->getFieldKey()])) {
$type = $this->portable_settings[$this->getFieldKey()];
}
}
return $type;
} | [
"public",
"function",
"getPortableType",
"(",
")",
"{",
"$",
"type",
"=",
"false",
";",
"switch",
"(",
"$",
"this",
"->",
"getFieldXType",
"(",
")",
")",
"{",
"case",
"'modx-combo-template'",
":",
"$",
"type",
"=",
"'template'",
";",
"break",
";",
"case"... | Don't call this until the key is set or setting is loaded
@return bool|string | [
"Don",
"t",
"call",
"this",
"until",
"the",
"key",
"is",
"set",
"or",
"setting",
"is",
"loaded"
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L144-L162 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAccessPoliciesVersion | public function setCoreAccessPoliciesVersion($value)
{
$this->setFieldName('access_policies_version');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAccessPoliciesVersion($value)
{
$this->setFieldName('access_policies_version');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAccessPoliciesVersion",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'access_policies_version'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
... | Access Policy Schema Version ~
The version of the Access Policy system. DO NOT CHANGE.
@param string $value
@return $this | [
"Access",
"Policy",
"Schema",
"Version",
"~",
"The",
"version",
"of",
"the",
"Access",
"Policy",
"system",
".",
"DO",
"NOT",
"CHANGE",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L474-L481 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAllowManagerLoginForgotPassword | public function setCoreAllowManagerLoginForgotPassword($value)
{
$this->setFieldName('allow_manager_login_forgot_password');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAllowManagerLoginForgotPassword($value)
{
$this->setFieldName('allow_manager_login_forgot_password');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAllowManagerLoginForgotPassword",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'allow_manager_login_forgot_password'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"se... | Allow Forgot Password in Manager Login Screen ~
Setting this to "No" will disable the forgot password ability on the manager login screen.
@param bool $value
@return $this | [
"Allow",
"Forgot",
"Password",
"in",
"Manager",
"Login",
"Screen",
"~",
"Setting",
"this",
"to",
"No",
"will",
"disable",
"the",
"forgot",
"password",
"ability",
"on",
"the",
"manager",
"login",
"screen",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L526-L533 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAllowMultipleEmails | public function setCoreAllowMultipleEmails($value)
{
$this->setFieldName('allow_multiple_emails');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAllowMultipleEmails($value)
{
$this->setFieldName('allow_multiple_emails');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAllowMultipleEmails",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'allow_multiple_emails'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$"... | Allow Duplicate Emails for Users ~
If enabled, Users may share the same email address.
@param bool $value
@return $this | [
"Allow",
"Duplicate",
"Emails",
"for",
"Users",
"~",
"If",
"enabled",
"Users",
"may",
"share",
"the",
"same",
"email",
"address",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L543-L550 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAllowTagsInPost | public function setCoreAllowTagsInPost($value)
{
$this->setFieldName('allow_tags_in_post');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAllowTagsInPost($value)
{
$this->setFieldName('allow_tags_in_post');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAllowTagsInPost",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'allow_tags_in_post'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"va... | Allow Tags in POST ~
If false, all POST variables will be stripped of HTML script tags, numeric entities, and MODX tags. MODX recommends to leave this set to false for Contexts other than mgr, where it is set to true by default.
@param bool $value
@return $this | [
"Allow",
"Tags",
"in",
"POST",
"~",
"If",
"false",
"all",
"POST",
"variables",
"will",
"be",
"stripped",
"of",
"HTML",
"script",
"tags",
"numeric",
"entities",
"and",
"MODX",
"tags",
".",
"MODX",
"recommends",
"to",
"leave",
"this",
"set",
"to",
"false",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L560-L567 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAnonymousSessions | public function setCoreAnonymousSessions($value)
{
$this->setFieldName('anonymous_sessions');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAnonymousSessions($value)
{
$this->setFieldName('anonymous_sessions');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAnonymousSessions",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'anonymous_sessions'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"... | Anonymous Sessions ~
If disabled, only authenticated users will have access to a PHP session. This can reduce overhead for anonymous users and the load they impose on a MODX site if they do not need access to a unique session. If session_enabled is false, this setting has no effect as sessions would never be available.
@param bool $value
@return $this | [
"Anonymous",
"Sessions",
"~",
"If",
"disabled",
"only",
"authenticated",
"users",
"will",
"have",
"access",
"to",
"a",
"PHP",
"session",
".",
"This",
"can",
"reduce",
"overhead",
"for",
"anonymous",
"users",
"and",
"the",
"load",
"they",
"impose",
"on",
"a",... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L594-L601 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreArchiveWith | public function setCoreArchiveWith($value)
{
$this->setFieldName('archive_with');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreArchiveWith($value)
{
$this->setFieldName('archive_with');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreArchiveWith",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'archive_with'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")... | Force PCLZip Archives ~
If true, will use PCLZip instead of ZipArchive as the zip extension. Turn this on if you are getting extractTo errors or are having problems with unzipping in Package Management.
@param bool $value
@return $this | [
"Force",
"PCLZip",
"Archives",
"~",
"If",
"true",
"will",
"use",
"PCLZip",
"instead",
"of",
"ZipArchive",
"as",
"the",
"zip",
"extension",
".",
"Turn",
"this",
"on",
"if",
"you",
"are",
"getting",
"extractTo",
"errors",
"or",
"are",
"having",
"problems",
"... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L611-L618 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAutoCheckPkgUpdates | public function setCoreAutoCheckPkgUpdates($value)
{
$this->setFieldName('auto_check_pkg_updates');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAutoCheckPkgUpdates($value)
{
$this->setFieldName('auto_check_pkg_updates');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAutoCheckPkgUpdates",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'auto_check_pkg_updates'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$... | Automatic Check for Package Updates ~
If 'Yes', MODX will automatically check for updates for packages in Package Management. This may slow the loading of the grid.
@param bool $value
@return $this | [
"Automatic",
"Check",
"for",
"Package",
"Updates",
"~",
"If",
"Yes",
"MODX",
"will",
"automatically",
"check",
"for",
"updates",
"for",
"packages",
"in",
"Package",
"Management",
".",
"This",
"may",
"slow",
"the",
"loading",
"of",
"the",
"grid",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L628-L635 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAutoCheckPkgUpdatesCacheExpire | public function setCoreAutoCheckPkgUpdatesCacheExpire($value)
{
$this->setFieldName('auto_check_pkg_updates_cache_expire');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAutoCheckPkgUpdatesCacheExpire($value)
{
$this->setFieldName('auto_check_pkg_updates_cache_expire');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAutoCheckPkgUpdatesCacheExpire",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'auto_check_pkg_updates_cache_expire'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"set... | Cache Expiration Time for Automatic Package Updates Check ~
The number of minutes that Package Management will cache the results for checking for package updates.
@param string $value
@return $this | [
"Cache",
"Expiration",
"Time",
"for",
"Automatic",
"Package",
"Updates",
"Check",
"~",
"The",
"number",
"of",
"minutes",
"that",
"Package",
"Management",
"will",
"cache",
"the",
"results",
"for",
"checking",
"for",
"package",
"updates",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L645-L652 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAutoIsfolder | public function setCoreAutoIsfolder($value)
{
$this->setFieldName('auto_isfolder');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAutoIsfolder($value)
{
$this->setFieldName('auto_isfolder');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAutoIsfolder",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'auto_isfolder'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Set container automatically ~
If set to yes, container property will be changed automatically.
@param bool $value
@return $this | [
"Set",
"container",
"automatically",
"~",
"If",
"set",
"to",
"yes",
"container",
"property",
"will",
"be",
"changed",
"automatically",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L663-L670 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAutoMenuindex | public function setCoreAutoMenuindex($value)
{
$this->setFieldName('auto_menuindex');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAutoMenuindex($value)
{
$this->setFieldName('auto_menuindex');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAutoMenuindex",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'auto_menuindex'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Menu indexing default ~
Select 'Yes' to turn on automatic menu index incrementing by default.
@param bool $value
@return $this | [
"Menu",
"indexing",
"default",
"~",
"Select",
"Yes",
"to",
"turn",
"on",
"automatic",
"menu",
"index",
"incrementing",
"by",
"default",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L680-L687 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreAutomaticAlias | public function setCoreAutomaticAlias($value)
{
$this->setFieldName('automatic_alias');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreAutomaticAlias($value)
{
$this->setFieldName('automatic_alias');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreAutomaticAlias",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'automatic_alias'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value"... | Automatically generate alias ~
Select 'Yes' to have the system automatically generate an alias based on the Resource's page title when saving.
@param bool $value
@return $this | [
"Automatically",
"generate",
"alias",
"~",
"Select",
"Yes",
"to",
"have",
"the",
"system",
"automatically",
"generate",
"an",
"alias",
"based",
"on",
"the",
"Resource",
"s",
"page",
"title",
"when",
"saving",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L697-L704 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreBaseHelpUrl | public function setCoreBaseHelpUrl($value)
{
$this->setFieldName('base_help_url');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreBaseHelpUrl($value)
{
$this->setFieldName('base_help_url');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreBaseHelpUrl",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'base_help_url'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
"... | Base Help URL ~
The base URL by which to build the Help links in the top right of pages in the manager.
@param string $value
@return $this | [
"Base",
"Help",
"URL",
"~",
"The",
"base",
"URL",
"by",
"which",
"to",
"build",
"the",
"Help",
"links",
"in",
"the",
"top",
"right",
"of",
"pages",
"in",
"the",
"manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L714-L721 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheAliasMap | public function setCoreCacheAliasMap($value)
{
$this->setFieldName('cache_alias_map');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheAliasMap($value)
{
$this->setFieldName('cache_alias_map');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheAliasMap",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_alias_map'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",... | Enable Context Alias Map Cache ~
When enabled, all Resource URIs are cached into the Context. Enable on smaller sites and disable on larger sites for better performance.
@param bool $value
@return $this | [
"Enable",
"Context",
"Alias",
"Map",
"Cache",
"~",
"When",
"enabled",
"all",
"Resource",
"URIs",
"are",
"cached",
"into",
"the",
"Context",
".",
"Enable",
"on",
"smaller",
"sites",
"and",
"disable",
"on",
"larger",
"sites",
"for",
"better",
"performance",
".... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L767-L774 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheContextSettings | public function setCoreCacheContextSettings($value)
{
$this->setFieldName('cache_context_settings');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheContextSettings($value)
{
$this->setFieldName('cache_context_settings');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheContextSettings",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_context_settings'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"... | Enable Context Setting Cache ~
When enabled, context settings will be cached to reduce load times.
@param bool $value
@return $this | [
"Enable",
"Context",
"Setting",
"Cache",
"~",
"When",
"enabled",
"context",
"settings",
"will",
"be",
"cached",
"to",
"reduce",
"load",
"times",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L784-L791 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheDb | public function setCoreCacheDb($value)
{
$this->setFieldName('cache_db');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheDb($value)
{
$this->setFieldName('cache_db');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheDb",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_db'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",
";"... | Enable Database Cache ~
When enabled, objects and raw result sets from SQL queries are cached to significantly reduce database loads.
@param bool $value
@return $this | [
"Enable",
"Database",
"Cache",
"~",
"When",
"enabled",
"objects",
"and",
"raw",
"result",
"sets",
"from",
"SQL",
"queries",
"are",
"cached",
"to",
"significantly",
"reduce",
"database",
"loads",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L801-L808 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheDbSession | public function setCoreCacheDbSession($value)
{
$this->setFieldName('cache_db_session');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheDbSession($value)
{
$this->setFieldName('cache_db_session');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheDbSession",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_db_session'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value... | Enable Database Session Cache ~
When enabled, and cache_db is enabled, database sessions will be cached in the DB result-set cache.
@param bool $value
@return $this | [
"Enable",
"Database",
"Session",
"Cache",
"~",
"When",
"enabled",
"and",
"cache_db",
"is",
"enabled",
"database",
"sessions",
"will",
"be",
"cached",
"in",
"the",
"DB",
"result",
"-",
"set",
"cache",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L836-L843 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheDefault | public function setCoreCacheDefault($value)
{
$this->setFieldName('cache_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheDefault($value)
{
$this->setFieldName('cache_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheDefault",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_default'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Cacheable default ~
Select 'Yes' to make all new Resources cacheable by default.
@param bool $value
@return $this | [
"Cacheable",
"default",
"~",
"Select",
"Yes",
"to",
"make",
"all",
"new",
"Resources",
"cacheable",
"by",
"default",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L871-L878 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheDisabled | public function setCoreCacheDisabled($value)
{
$this->setFieldName('cache_disabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheDisabled($value)
{
$this->setFieldName('cache_disabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheDisabled",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_disabled'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Disable Global Cache Options ~
Select 'Yes' to disable all MODX caching features. MODX does not recommend disabling caching.
@param bool $value
@return $this | [
"Disable",
"Global",
"Cache",
"Options",
"~",
"Select",
"Yes",
"to",
"disable",
"all",
"MODX",
"caching",
"features",
".",
"MODX",
"does",
"not",
"recommend",
"disabling",
"caching",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L888-L895 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheFormat | public function setCoreCacheFormat($value)
{
$this->setFieldName('cache_format');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheFormat($value)
{
$this->setFieldName('cache_format');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheFormat",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_format'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")... | Caching Format to Use ~
0 = PHP, 1 = JSON, 2 = serialize. One of the formats
@param string $value
@return $this | [
"Caching",
"Format",
"to",
"Use",
"~",
"0",
"=",
"PHP",
"1",
"=",
"JSON",
"2",
"=",
"serialize",
".",
"One",
"of",
"the",
"formats"
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L923-L930 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheHandler | public function setCoreCacheHandler($value)
{
$this->setFieldName('cache_handler');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheHandler($value)
{
$this->setFieldName('cache_handler');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheHandler",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_handler'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Caching Handler Class ~
The class name of the type handler to use for caching.
@param string $value
@return $this | [
"Caching",
"Handler",
"Class",
"~",
"The",
"class",
"name",
"of",
"the",
"type",
"handler",
"to",
"use",
"for",
"caching",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L941-L948 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheLangJs | public function setCoreCacheLangJs($value)
{
$this->setFieldName('cache_lang_js');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheLangJs($value)
{
$this->setFieldName('cache_lang_js');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheLangJs",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_lang_js'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
"... | Cache Lexicon JS Strings ~
If set to true, this will use server headers to cache the lexicon strings loaded into JavaScript for the manager interface.
@param bool $value
@return $this | [
"Cache",
"Lexicon",
"JS",
"Strings",
"~",
"If",
"set",
"to",
"true",
"this",
"will",
"use",
"server",
"headers",
"to",
"cache",
"the",
"lexicon",
"strings",
"loaded",
"into",
"JavaScript",
"for",
"the",
"manager",
"interface",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L959-L966 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheLexiconTopics | public function setCoreCacheLexiconTopics($value)
{
$this->setFieldName('cache_lexicon_topics');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheLexiconTopics($value)
{
$this->setFieldName('cache_lexicon_topics');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheLexiconTopics",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_lexicon_topics'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Cache Lexicon Topics ~
When enabled, all Lexicon Topics will be cached so as to greatly reduce load times for Internationalization functionality. MODX strongly recommends leaving this set to 'Yes'.
@param bool $value
@return $this | [
"Cache",
"Lexicon",
"Topics",
"~",
"When",
"enabled",
"all",
"Lexicon",
"Topics",
"will",
"be",
"cached",
"so",
"as",
"to",
"greatly",
"reduce",
"load",
"times",
"for",
"Internationalization",
"functionality",
".",
"MODX",
"strongly",
"recommends",
"leaving",
"t... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L976-L983 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheNoncoreLexiconTopics | public function setCoreCacheNoncoreLexiconTopics($value)
{
$this->setFieldName('cache_noncore_lexicon_topics');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheNoncoreLexiconTopics($value)
{
$this->setFieldName('cache_noncore_lexicon_topics');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheNoncoreLexiconTopics",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_noncore_lexicon_topics'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",... | Cache Non-Core Lexicon Topics ~
When disabled, non-core Lexicon Topics will be not be cached. This is useful to disable when developing your own Extras.
@param bool $value
@return $this | [
"Cache",
"Non",
"-",
"Core",
"Lexicon",
"Topics",
"~",
"When",
"disabled",
"non",
"-",
"core",
"Lexicon",
"Topics",
"will",
"be",
"not",
"be",
"cached",
".",
"This",
"is",
"useful",
"to",
"disable",
"when",
"developing",
"your",
"own",
"Extras",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L993-L1000 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheResource | public function setCoreCacheResource($value)
{
$this->setFieldName('cache_resource');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheResource($value)
{
$this->setFieldName('cache_resource');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheResource",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_resource'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Enable Partial Resource Cache ~
Partial resource caching is configurable by resource when this feature is enabled. Disabling this feature will disable it globally.
@param bool $value
@return $this | [
"Enable",
"Partial",
"Resource",
"Cache",
"~",
"Partial",
"resource",
"caching",
"is",
"configurable",
"by",
"resource",
"when",
"this",
"feature",
"is",
"enabled",
".",
"Disabling",
"this",
"feature",
"will",
"disable",
"it",
"globally",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1010-L1017 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCacheSystemSettings | public function setCoreCacheSystemSettings($value)
{
$this->setFieldName('cache_system_settings');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCacheSystemSettings($value)
{
$this->setFieldName('cache_system_settings');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCacheSystemSettings",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cache_system_settings'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$"... | Enable System Setting Cache ~
When enabled, system settings will be cached to reduce load times. MODX recommends leaving this on.
@param bool $value
@return $this | [
"Enable",
"System",
"Setting",
"Cache",
"~",
"When",
"enabled",
"system",
"settings",
"will",
"be",
"cached",
"to",
"reduce",
"load",
"times",
".",
"MODX",
"recommends",
"leaving",
"this",
"on",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1062-L1069 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreClearCacheRefreshTrees | public function setCoreClearCacheRefreshTrees($value)
{
$this->setFieldName('clear_cache_refresh_trees');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreClearCacheRefreshTrees($value)
{
$this->setFieldName('clear_cache_refresh_trees');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreClearCacheRefreshTrees",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'clear_cache_refresh_trees'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"("... | Refresh Trees on Site Cache Clear ~
When enabled, will refresh the trees after clearing the site cache.
@param bool $value
@return $this | [
"Refresh",
"Trees",
"on",
"Site",
"Cache",
"Clear",
"~",
"When",
"enabled",
"will",
"refresh",
"the",
"trees",
"after",
"clearing",
"the",
"site",
"cache",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1079-L1086 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCompressCss | public function setCoreCompressCss($value)
{
$this->setFieldName('compress_css');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCompressCss($value)
{
$this->setFieldName('compress_css');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCompressCss",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'compress_css'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")... | Use Compressed CSS ~
When this is enabled, MODX will use a compressed version of its CSS stylesheets in the manager interface.
@param bool $value
@return $this | [
"Use",
"Compressed",
"CSS",
"~",
"When",
"this",
"is",
"enabled",
"MODX",
"will",
"use",
"a",
"compressed",
"version",
"of",
"its",
"CSS",
"stylesheets",
"in",
"the",
"manager",
"interface",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1096-L1103 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCompressJs | public function setCoreCompressJs($value)
{
$this->setFieldName('compress_js');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCompressJs($value)
{
$this->setFieldName('compress_js');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCompressJs",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'compress_js'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",... | Use Compressed JavaScript Libraries ~
When this is enabled, MODX will serve a compressed version of the core scripts file.
@param bool $value
@return $this | [
"Use",
"Compressed",
"JavaScript",
"Libraries",
"~",
"When",
"this",
"is",
"enabled",
"MODX",
"will",
"serve",
"a",
"compressed",
"version",
"of",
"the",
"core",
"scripts",
"file",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1113-L1120 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCompressJsMaxFiles | public function setCoreCompressJsMaxFiles($value)
{
$this->setFieldName('compress_js_max_files');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCompressJsMaxFiles($value)
{
$this->setFieldName('compress_js_max_files');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCompressJsMaxFiles",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'compress_js_max_files'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",... | Maximum JavaScript Files Compression Threshold ~
The maximum number of JavaScript files MODX will attempt to compress at once when compress_js is on. Set to a lower number if you are experiencing issues with Google Minify in the manager.
@param string $value
@return $this | [
"Maximum",
"JavaScript",
"Files",
"Compression",
"Threshold",
"~",
"The",
"maximum",
"number",
"of",
"JavaScript",
"files",
"MODX",
"will",
"attempt",
"to",
"compress",
"at",
"once",
"when",
"compress_js",
"is",
"on",
".",
"Set",
"to",
"a",
"lower",
"number",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1130-L1137 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreConfirmNavigation | public function setCoreConfirmNavigation($value)
{
$this->setFieldName('confirm_navigation');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreConfirmNavigation($value)
{
$this->setFieldName('confirm_navigation');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreConfirmNavigation",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'confirm_navigation'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"... | Confirm Navigation with unsaved changes ~
When this is enabled, the user will be prompted to confirm their intention if there are unsaved changes.
@param bool $value
@return $this | [
"Confirm",
"Navigation",
"with",
"unsaved",
"changes",
"~",
"When",
"this",
"is",
"enabled",
"the",
"user",
"will",
"be",
"prompted",
"to",
"confirm",
"their",
"intention",
"if",
"there",
"are",
"unsaved",
"changes",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1148-L1155 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreContainerSuffix | public function setCoreContainerSuffix($value)
{
$this->setFieldName('container_suffix');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreContainerSuffix($value)
{
$this->setFieldName('container_suffix');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreContainerSuffix",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'container_suffix'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"valu... | Container Suffix ~
The suffix to append to Resources set as containers when using FURLs.
@param string $value
@return $this | [
"Container",
"Suffix",
"~",
"The",
"suffix",
"to",
"append",
"to",
"Resources",
"set",
"as",
"containers",
"when",
"using",
"FURLs",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1165-L1172 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreContextTreeSort | public function setCoreContextTreeSort($value)
{
$this->setFieldName('context_tree_sort');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreContextTreeSort($value)
{
$this->setFieldName('context_tree_sort');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreContextTreeSort",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'context_tree_sort'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"val... | Enable Sorting of Contexts in Resource Tree ~
If set to Yes, Contexts will be alphanumerically sorted in the left-hand Resources tree.
@param bool $value
@return $this | [
"Enable",
"Sorting",
"of",
"Contexts",
"in",
"Resource",
"Tree",
"~",
"If",
"set",
"to",
"Yes",
"Contexts",
"will",
"be",
"alphanumerically",
"sorted",
"in",
"the",
"left",
"-",
"hand",
"Resources",
"tree",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1183-L1190 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreContextTreeSortby | public function setCoreContextTreeSortby($value)
{
$this->setFieldName('context_tree_sortby');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreContextTreeSortby($value)
{
$this->setFieldName('context_tree_sortby');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreContextTreeSortby",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'context_tree_sortby'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Sort Field of Contexts in Resource Tree ~
The field to sort Contexts by in the Resources tree, if sorting is enabled.
@param string $value
@return $this | [
"Sort",
"Field",
"of",
"Contexts",
"in",
"Resource",
"Tree",
"~",
"The",
"field",
"to",
"sort",
"Contexts",
"by",
"in",
"the",
"Resources",
"tree",
"if",
"sorting",
"is",
"enabled",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1200-L1207 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreContextTreeSortdir | public function setCoreContextTreeSortdir($value)
{
$this->setFieldName('context_tree_sortdir');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreContextTreeSortdir($value)
{
$this->setFieldName('context_tree_sortdir');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreContextTreeSortdir",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'context_tree_sortdir'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Sort Direction of Contexts in Resource Tree ~
The direction to sort Contexts in the Resources tree, if sorting is enabled.
@param string $value
@return $this | [
"Sort",
"Direction",
"of",
"Contexts",
"in",
"Resource",
"Tree",
"~",
"The",
"direction",
"to",
"sort",
"Contexts",
"in",
"the",
"Resources",
"tree",
"if",
"sorting",
"is",
"enabled",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1218-L1225 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreCultureKey | public function setCoreCultureKey($value)
{
$this->setFieldName('cultureKey');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreCultureKey($value)
{
$this->setFieldName('cultureKey');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreCultureKey",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'cultureKey'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",
... | Language ~
Select the language for all non-manager Contexts, including web.
@param string $value
@return $this | [
"Language",
"~",
"Select",
"the",
"language",
"for",
"all",
"non",
"-",
"manager",
"Contexts",
"including",
"web",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1236-L1243 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreDateTimezone | public function setCoreDateTimezone($value)
{
$this->setFieldName('date_timezone');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreDateTimezone($value)
{
$this->setFieldName('date_timezone');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreDateTimezone",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'date_timezone'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Default Time Zone ~
Controls the default timezone setting for PHP date functions, if not empty. If empty and the PHP date.timezone ini setting is not set in your environment, UTC will be assumed.
@param string $value
@return $this | [
"Default",
"Time",
"Zone",
"~",
"Controls",
"the",
"default",
"timezone",
"setting",
"for",
"PHP",
"date",
"functions",
"if",
"not",
"empty",
".",
"If",
"empty",
"and",
"the",
"PHP",
"date",
".",
"timezone",
"ini",
"setting",
"is",
"not",
"set",
"in",
"y... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1254-L1261 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreDefaultContentType | public function setCoreDefaultContentType($value)
{
$this->setFieldName('default_content_type');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreDefaultContentType($value)
{
$this->setFieldName('default_content_type');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreDefaultContentType",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'default_content_type'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Default Content Type ~
Select the default Content Type you wish to use for new Resources. You can still select a different Content Type in the Resource editor; this setting just pre-selects one of your Content Types for you.
@param string $value
@return $this | [
"Default",
"Content",
"Type",
"~",
"Select",
"the",
"default",
"Content",
"Type",
"you",
"wish",
"to",
"use",
"for",
"new",
"Resources",
".",
"You",
"can",
"still",
"select",
"a",
"different",
"Content",
"Type",
"in",
"the",
"Resource",
"editor",
";",
"thi... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1290-L1297 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreDefaultContext | public function setCoreDefaultContext($value)
{
$this->setFieldName('default_context');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreDefaultContext($value)
{
$this->setFieldName('default_context');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreDefaultContext",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'default_context'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value"... | Default Context ~
Select the default Context you wish to use for new Resources.
@param string $value
@return $this | [
"Default",
"Context",
"~",
"Select",
"the",
"default",
"Context",
"you",
"wish",
"to",
"use",
"for",
"new",
"Resources",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1308-L1315 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreDefaultDuplicatePublishOption | public function setCoreDefaultDuplicatePublishOption($value)
{
$this->setFieldName('default_duplicate_publish_option');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreDefaultDuplicatePublishOption($value)
{
$this->setFieldName('default_duplicate_publish_option');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreDefaultDuplicatePublishOption",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'default_duplicate_publish_option'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFiel... | Default Duplicate Resource Publishing Option ~
The default selected option when duplicating a Resource. Can be either "unpublish" to unpublish all duplicates, "publish" to publish all duplicates, or "preserve" to preserve the publish state based on the duplicated Resource.
@param string $value
@return $this | [
"Default",
"Duplicate",
"Resource",
"Publishing",
"Option",
"~",
"The",
"default",
"selected",
"option",
"when",
"duplicating",
"a",
"Resource",
".",
"Can",
"be",
"either",
"unpublish",
"to",
"unpublish",
"all",
"duplicates",
"publish",
"to",
"publish",
"all",
"... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1326-L1333 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreDefaultMediaSource | public function setCoreDefaultMediaSource($value)
{
$this->setFieldName('default_media_source');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreDefaultMediaSource($value)
{
$this->setFieldName('default_media_source');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreDefaultMediaSource",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'default_media_source'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | Default Media Source ~
The default Media Source to load.
@param string $value
@return $this | [
"Default",
"Media",
"Source",
"~",
"The",
"default",
"Media",
"Source",
"to",
"load",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1344-L1351 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreDefaultPerPage | public function setCoreDefaultPerPage($value)
{
$this->setFieldName('default_per_page');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreDefaultPerPage($value)
{
$this->setFieldName('default_per_page');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreDefaultPerPage",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'default_per_page'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value... | Default Per Page ~
The default number of results to show in grids throughout the manager.
@param string $value
@return $this | [
"Default",
"Per",
"Page",
"~",
"The",
"default",
"number",
"of",
"results",
"to",
"show",
"in",
"grids",
"throughout",
"the",
"manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1362-L1369 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreDefaultTemplate | public function setCoreDefaultTemplate($value)
{
$this->setFieldName('default_template');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreDefaultTemplate($value)
{
$this->setFieldName('default_template');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreDefaultTemplate",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'default_template'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"valu... | Default Template ~
Select the default Template you wish to use for new Resources. You can still select a different template in the Resource editor, this setting just pre-selects one of your Templates for you.
@param string $value
@return $this | [
"Default",
"Template",
"~",
"Select",
"the",
"default",
"Template",
"you",
"wish",
"to",
"use",
"for",
"new",
"Resources",
".",
"You",
"can",
"still",
"select",
"a",
"different",
"template",
"in",
"the",
"Resource",
"editor",
"this",
"setting",
"just",
"pre"... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1380-L1387 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreDefaultUsername | public function setCoreDefaultUsername($value)
{
$this->setFieldName('default_username');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreDefaultUsername($value)
{
$this->setFieldName('default_username');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreDefaultUsername",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'default_username'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"valu... | Default username ~
Default username for an unauthenticated user.
@param string $value
@return $this | [
"Default",
"username",
"~",
"Default",
"username",
"for",
"an",
"unauthenticated",
"user",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1398-L1405 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreEditorCssSelectors | public function setCoreEditorCssSelectors($value)
{
$this->setFieldName('editor_css_selectors');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreEditorCssSelectors($value)
{
$this->setFieldName('editor_css_selectors');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreEditorCssSelectors",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'editor_css_selectors'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
... | CSS Selectors for Editor ~
A comma-separated list of CSS selectors for a richtext editor.
@param string $value
@return $this | [
"CSS",
"Selectors",
"for",
"Editor",
"~",
"A",
"comma",
"-",
"separated",
"list",
"of",
"CSS",
"selectors",
"for",
"a",
"richtext",
"editor",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1434-L1441 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreEmailsender | public function setCoreEmailsender($value)
{
$this->setFieldName('emailsender');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreEmailsender($value)
{
$this->setFieldName('emailsender');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreEmailsender",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'emailsender'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")"... | Registration Email From Address ~
Here you can specify the email address used when sending Users their usernames and passwords.
@param string $value
@return $this | [
"Registration",
"Email",
"From",
"Address",
"~",
"Here",
"you",
"can",
"specify",
"the",
"email",
"address",
"used",
"when",
"sending",
"Users",
"their",
"usernames",
"and",
"passwords",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1452-L1459 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreEmailsubject | public function setCoreEmailsubject($value)
{
$this->setFieldName('emailsubject');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreEmailsubject($value)
{
$this->setFieldName('emailsubject');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreEmailsubject",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'emailsubject'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
"... | Registration Email Subject ~
The subject line for the default signup email when a User is registered.
@param string $value
@return $this | [
"Registration",
"Email",
"Subject",
"~",
"The",
"subject",
"line",
"for",
"the",
"default",
"signup",
"email",
"when",
"a",
"User",
"is",
"registered",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1470-L1477 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFailedLoginAttempts | public function setCoreFailedLoginAttempts($value)
{
$this->setFieldName('failed_login_attempts');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFailedLoginAttempts($value)
{
$this->setFieldName('failed_login_attempts');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFailedLoginAttempts",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'failed_login_attempts'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$"... | Failed Login Attempts ~
The number of failed login attempts a User is allowed before becoming 'blocked'.
@param string $value
@return $this | [
"Failed",
"Login",
"Attempts",
"~",
"The",
"number",
"of",
"failed",
"login",
"attempts",
"a",
"User",
"is",
"allowed",
"before",
"becoming",
"blocked",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1558-L1565 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFeEditorLang | public function setCoreFeEditorLang($value)
{
$this->setFieldName('fe_editor_lang');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFeEditorLang($value)
{
$this->setFieldName('fe_editor_lang');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFeEditorLang",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'fe_editor_lang'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Front-end Editor Language ~
Choose a language for the editor to use when used as a front-end editor.
@param string $value
@return $this | [
"Front",
"-",
"end",
"Editor",
"Language",
"~",
"Choose",
"a",
"language",
"for",
"the",
"editor",
"to",
"use",
"when",
"used",
"as",
"a",
"front",
"-",
"end",
"editor",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1576-L1583 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFeedModxNews | public function setCoreFeedModxNews($value)
{
$this->setFieldName('feed_modx_news');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFeedModxNews($value)
{
$this->setFieldName('feed_modx_news');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFeedModxNews",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'feed_modx_news'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | MODX News Feed URL ~
Set the URL for the RSS feed for the MODX News panel in the manager.
@param string $value
@return $this | [
"MODX",
"News",
"Feed",
"URL",
"~",
"Set",
"the",
"URL",
"for",
"the",
"RSS",
"feed",
"for",
"the",
"MODX",
"News",
"panel",
"in",
"the",
"manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1594-L1601 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFeedModxNewsEnabled | public function setCoreFeedModxNewsEnabled($value)
{
$this->setFieldName('feed_modx_news_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFeedModxNewsEnabled($value)
{
$this->setFieldName('feed_modx_news_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFeedModxNewsEnabled",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'feed_modx_news_enabled'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$... | MODX News Feed Enabled ~
If 'No', MODX will hide the News feed in the welcome section of the manager.
@param bool $value
@return $this | [
"MODX",
"News",
"Feed",
"Enabled",
"~",
"If",
"No",
"MODX",
"will",
"hide",
"the",
"News",
"feed",
"in",
"the",
"welcome",
"section",
"of",
"the",
"manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1612-L1619 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFeedModxSecurity | public function setCoreFeedModxSecurity($value)
{
$this->setFieldName('feed_modx_security');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFeedModxSecurity($value)
{
$this->setFieldName('feed_modx_security');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFeedModxSecurity",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'feed_modx_security'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"v... | MODX Security Notices Feed URL ~
Set the URL for the RSS feed for the MODX Security Notices panel in the manager.
@param string $value
@return $this | [
"MODX",
"Security",
"Notices",
"Feed",
"URL",
"~",
"Set",
"the",
"URL",
"for",
"the",
"RSS",
"feed",
"for",
"the",
"MODX",
"Security",
"Notices",
"panel",
"in",
"the",
"manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1629-L1636 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFeedModxSecurityEnabled | public function setCoreFeedModxSecurityEnabled($value)
{
$this->setFieldName('feed_modx_security_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFeedModxSecurityEnabled($value)
{
$this->setFieldName('feed_modx_security_enabled');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFeedModxSecurityEnabled",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'feed_modx_security_enabled'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"... | MODX Security Feed Enabled ~
If 'No', MODX will hide the Security feed in the welcome section of the manager.
@param bool $value
@return $this | [
"MODX",
"Security",
"Feed",
"Enabled",
"~",
"If",
"No",
"MODX",
"will",
"hide",
"the",
"Security",
"feed",
"in",
"the",
"welcome",
"section",
"of",
"the",
"manager",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1647-L1654 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreForwardMergeExcludes | public function setCoreForwardMergeExcludes($value)
{
$this->setFieldName('forward_merge_excludes');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreForwardMergeExcludes($value)
{
$this->setFieldName('forward_merge_excludes');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreForwardMergeExcludes",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'forward_merge_excludes'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"... | sendForward Exclude Fields on Merge ~
A Symlink merges non-empty field values over the values in the target Resource; using this comma-delimited list of excludes prevents specified fields from being overridden by the Symlink.
@param string $value
@return $this | [
"sendForward",
"Exclude",
"Fields",
"on",
"Merge",
"~",
"A",
"Symlink",
"merges",
"non",
"-",
"empty",
"field",
"values",
"over",
"the",
"values",
"in",
"the",
"target",
"Resource",
";",
"using",
"this",
"comma",
"-",
"delimited",
"list",
"of",
"excludes",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1769-L1776 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyAliasLowercaseOnly | public function setCoreFriendlyAliasLowercaseOnly($value)
{
$this->setFieldName('friendly_alias_lowercase_only');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyAliasLowercaseOnly($value)
{
$this->setFieldName('friendly_alias_lowercase_only');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyAliasLowercaseOnly",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_alias_lowercase_only'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue... | FURL Lowercase Aliases ~
Determines whether to allow only lowercase characters in a Resource alias.
@param bool $value
@return $this | [
"FURL",
"Lowercase",
"Aliases",
"~",
"Determines",
"whether",
"to",
"allow",
"only",
"lowercase",
"characters",
"in",
"a",
"Resource",
"alias",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1787-L1794 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyAliasMaxLength | public function setCoreFriendlyAliasMaxLength($value)
{
$this->setFieldName('friendly_alias_max_length');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyAliasMaxLength($value)
{
$this->setFieldName('friendly_alias_max_length');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyAliasMaxLength",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_alias_max_length'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"("... | FURL Alias Maximum Length ~
If greater than zero, the maximum number of characters to allow in a Resource alias. Zero equals unlimited.
@param string $value
@return $this | [
"FURL",
"Alias",
"Maximum",
"Length",
"~",
"If",
"greater",
"than",
"zero",
"the",
"maximum",
"number",
"of",
"characters",
"to",
"allow",
"in",
"a",
"Resource",
"alias",
".",
"Zero",
"equals",
"unlimited",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1804-L1811 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyAliasRestrictChars | public function setCoreFriendlyAliasRestrictChars($value)
{
$this->setFieldName('friendly_alias_restrict_chars');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyAliasRestrictChars($value)
{
$this->setFieldName('friendly_alias_restrict_chars');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyAliasRestrictChars",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_alias_restrict_chars'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue... | FURL Alias Character Restriction Method ~
The method used to restrict characters used in a Resource alias. "pattern" allows a RegEx pattern to be provided, "legal" allows any legal URL characters, "alpha" allows only letters of the alphabet, and "alphanumeric" allows only letters and numbers.
@param string $value
@return $this | [
"FURL",
"Alias",
"Character",
"Restriction",
"Method",
"~",
"The",
"method",
"used",
"to",
"restrict",
"characters",
"used",
"in",
"a",
"Resource",
"alias",
".",
"pattern",
"allows",
"a",
"RegEx",
"pattern",
"to",
"be",
"provided",
"legal",
"allows",
"any",
... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1839-L1846 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyAliasRestrictCharsPattern | public function setCoreFriendlyAliasRestrictCharsPattern($value)
{
$this->setFieldName('friendly_alias_restrict_chars_pattern');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyAliasRestrictCharsPattern($value)
{
$this->setFieldName('friendly_alias_restrict_chars_pattern');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyAliasRestrictCharsPattern",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_alias_restrict_chars_pattern'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
... | FURL Alias Character Restriction Pattern ~
A valid RegEx pattern for restricting characters used in a Resource alias.
@param string $value
@return $this | [
"FURL",
"Alias",
"Character",
"Restriction",
"Pattern",
"~",
"A",
"valid",
"RegEx",
"pattern",
"for",
"restricting",
"characters",
"used",
"in",
"a",
"Resource",
"alias",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1857-L1864 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyAliasStripElementTags | public function setCoreFriendlyAliasStripElementTags($value)
{
$this->setFieldName('friendly_alias_strip_element_tags');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyAliasStripElementTags($value)
{
$this->setFieldName('friendly_alias_strip_element_tags');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyAliasStripElementTags",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_alias_strip_element_tags'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFie... | FURL Alias Strip Element Tags ~
Determines if Element tags should be stripped from a Resource alias.
@param bool $value
@return $this | [
"FURL",
"Alias",
"Strip",
"Element",
"Tags",
"~",
"Determines",
"if",
"Element",
"tags",
"should",
"be",
"stripped",
"from",
"a",
"Resource",
"alias",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1875-L1882 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyAliasTranslitClassPath | public function setCoreFriendlyAliasTranslitClassPath($value)
{
$this->setFieldName('friendly_alias_translit_class_path');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyAliasTranslitClassPath($value)
{
$this->setFieldName('friendly_alias_translit_class_path');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyAliasTranslitClassPath",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_alias_translit_class_path'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setF... | FURL Alias Transliteration Service Class Path ~
The model package location where the FURL Alias Transliteration Service Class will be loaded from.
@param string $value
@return $this | [
"FURL",
"Alias",
"Transliteration",
"Service",
"Class",
"Path",
"~",
"The",
"model",
"package",
"location",
"where",
"the",
"FURL",
"Alias",
"Transliteration",
"Service",
"Class",
"will",
"be",
"loaded",
"from",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1928-L1935 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyAliasTrimChars | public function setCoreFriendlyAliasTrimChars($value)
{
$this->setFieldName('friendly_alias_trim_chars');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyAliasTrimChars($value)
{
$this->setFieldName('friendly_alias_trim_chars');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyAliasTrimChars",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_alias_trim_chars'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"("... | FURL Alias Trim Characters ~
Characters to trim from the ends of a provided Resource alias.
@param string $value
@return $this | [
"FURL",
"Alias",
"Trim",
"Characters",
"~",
"Characters",
"to",
"trim",
"from",
"the",
"ends",
"of",
"a",
"provided",
"Resource",
"alias",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1946-L1953 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyAliasWordDelimiter | public function setCoreFriendlyAliasWordDelimiter($value)
{
$this->setFieldName('friendly_alias_word_delimiter');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyAliasWordDelimiter($value)
{
$this->setFieldName('friendly_alias_word_delimiter');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyAliasWordDelimiter",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_alias_word_delimiter'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue... | FURL Alias Word Delimiter ~
The preferred word delimiter for friendly URL alias slugs.
@param string $value
@return $this | [
"FURL",
"Alias",
"Word",
"Delimiter",
"~",
"The",
"preferred",
"word",
"delimiter",
"for",
"friendly",
"URL",
"alias",
"slugs",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1964-L1971 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyAliasWordDelimiters | public function setCoreFriendlyAliasWordDelimiters($value)
{
$this->setFieldName('friendly_alias_word_delimiters');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyAliasWordDelimiters($value)
{
$this->setFieldName('friendly_alias_word_delimiters');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyAliasWordDelimiters",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_alias_word_delimiters'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldVal... | FURL Alias Word Delimiters ~
Characters which represent word delimiters when processing friendly URL alias slugs. These characters will be converted and consolidated to the preferred FURL alias word delimiter.
@param string $value
@return $this | [
"FURL",
"Alias",
"Word",
"Delimiters",
"~",
"Characters",
"which",
"represent",
"word",
"delimiters",
"when",
"processing",
"friendly",
"URL",
"alias",
"slugs",
".",
"These",
"characters",
"will",
"be",
"converted",
"and",
"consolidated",
"to",
"the",
"preferred",... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L1982-L1989 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreFriendlyUrls | public function setCoreFriendlyUrls($value)
{
$this->setFieldName('friendly_urls');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreFriendlyUrls($value)
{
$this->setFieldName('friendly_urls');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreFriendlyUrls",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'friendly_urls'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Use Friendly URLs ~
This allows you to use search engine friendly URLs with MODX. Please note, this only works for MODX installations running on Apache, and you'll need to write an .htaccess file for this to work. See the .htaccess file included in the distribution for more info.
@param bool $value
@return $this | [
"Use",
"Friendly",
"URLs",
"~",
"This",
"allows",
"you",
"to",
"use",
"search",
"engine",
"friendly",
"URLs",
"with",
"MODX",
".",
"Please",
"note",
"this",
"only",
"works",
"for",
"MODX",
"installations",
"running",
"on",
"Apache",
"and",
"you",
"ll",
"ne... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2000-L2007 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreGlobalDuplicateUriCheck | public function setCoreGlobalDuplicateUriCheck($value)
{
$this->setFieldName('global_duplicate_uri_check');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreGlobalDuplicateUriCheck($value)
{
$this->setFieldName('global_duplicate_uri_check');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreGlobalDuplicateUriCheck",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'global_duplicate_uri_check'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"... | Check for Duplicate URIs Across All Contexts ~
Select 'Yes' to make duplicate URI checks include all Contexts in the search. Otherwise, only the Context the Resource is being saved in is checked.
@param bool $value
@return $this | [
"Check",
"for",
"Duplicate",
"URIs",
"Across",
"All",
"Contexts",
"~",
"Select",
"Yes",
"to",
"make",
"duplicate",
"URI",
"checks",
"include",
"all",
"Contexts",
"in",
"the",
"search",
".",
"Otherwise",
"only",
"the",
"Context",
"the",
"Resource",
"is",
"bei... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2034-L2041 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreHidemenuDefault | public function setCoreHidemenuDefault($value)
{
$this->setFieldName('hidemenu_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreHidemenuDefault($value)
{
$this->setFieldName('hidemenu_default');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreHidemenuDefault",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'hidemenu_default'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"valu... | Hide From Menus Default ~
Select 'Yes' to make all new resources hidden from menus by default.
@param bool $value
@return $this | [
"Hide",
"From",
"Menus",
"Default",
"~",
"Select",
"Yes",
"to",
"make",
"all",
"new",
"resources",
"hidden",
"from",
"menus",
"by",
"default",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2051-L2058 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreInlineHelp | public function setCoreInlineHelp($value)
{
$this->setFieldName('inline_help');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreInlineHelp($value)
{
$this->setFieldName('inline_help');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreInlineHelp",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'inline_help'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",... | Show Inline Help Text for Fields ~
If 'Yes', then fields will display their help text directly below the field. If 'No', all fields will have tooltip-based help.
@param bool $value
@return $this | [
"Show",
"Inline",
"Help",
"Text",
"for",
"Fields",
"~",
"If",
"Yes",
"then",
"fields",
"will",
"display",
"their",
"help",
"text",
"directly",
"below",
"the",
"field",
".",
"If",
"No",
"all",
"fields",
"will",
"have",
"tooltip",
"-",
"based",
"help",
"."... | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2068-L2075 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreLockTtl | public function setCoreLockTtl($value)
{
$this->setFieldName('lock_ttl');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreLockTtl($value)
{
$this->setFieldName('lock_ttl');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreLockTtl",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'lock_ttl'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
")",
";"... | Lock Time-to-Live ~
The number of seconds a lock on a Resource will remain for if the user is inactive.
@param string $value
@return $this | [
"Lock",
"Time",
"-",
"to",
"-",
"Live",
"~",
"The",
"number",
"of",
"seconds",
"a",
"lock",
"on",
"a",
"Resource",
"will",
"remain",
"for",
"if",
"the",
"user",
"is",
"inactive",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2121-L2128 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreLogSnippetNotFound | public function setCoreLogSnippetNotFound($value)
{
$this->setFieldName('log_snippet_not_found');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreLogSnippetNotFound($value)
{
$this->setFieldName('log_snippet_not_found');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreLogSnippetNotFound",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'log_snippet_not_found'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",... | setting_log_snippet_not_found ~
setting_log_snippet_not_found_desc
@param bool $value
@return $this | [
"setting_log_snippet_not_found",
"~",
"setting_log_snippet_not_found_desc"
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2157-L2164 | train |
LippertComponents/Blend | src/Blendable/SystemSetting.php | SystemSetting.setCoreMailEncoding | public function setCoreMailEncoding($value)
{
$this->setFieldName('mail_encoding');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | php | public function setCoreMailEncoding($value)
{
$this->setFieldName('mail_encoding');
$this->loadObject(true);
$this->setFieldValue($value);
return $this;
} | [
"public",
"function",
"setCoreMailEncoding",
"(",
"$",
"value",
")",
"{",
"$",
"this",
"->",
"setFieldName",
"(",
"'mail_encoding'",
")",
";",
"$",
"this",
"->",
"loadObject",
"(",
"true",
")",
";",
"$",
"this",
"->",
"setFieldValue",
"(",
"$",
"value",
... | Mail Encoding ~
Sets the Encoding of the message. Options for this are "8bit", "7bit", "binary", "base64", and "quoted-printable".
@param string $value
@return $this | [
"Mail",
"Encoding",
"~",
"Sets",
"the",
"Encoding",
"of",
"the",
"message",
".",
"Options",
"for",
"this",
"are",
"8bit",
"7bit",
"binary",
"base64",
"and",
"quoted",
"-",
"printable",
"."
] | 38f78f7167c704c227792bc08849a6b9dba0d87b | https://github.com/LippertComponents/Blend/blob/38f78f7167c704c227792bc08849a6b9dba0d87b/src/Blendable/SystemSetting.php#L2210-L2217 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.