idx int64 0 60.3k | question stringlengths 101 6.21k | target stringlengths 7 803 |
|---|---|---|
21,800 | public function setCoreMailSmtpAuth ( $ value ) { $ this -> setFieldName ( 'mail_smtp_auth' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | SMTP Authentication ~ Sets SMTP authentication . Utilizes the mail_smtp_user and mail_smtp_pass settings . |
21,801 | public function setCoreMailSmtpKeepalive ( $ value ) { $ this -> setFieldName ( 'mail_smtp_keepalive' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | SMTP Keep - Alive ~ Prevents the SMTP connection from being closed after each mail sending . Not recommended . |
21,802 | public function setCoreMailSmtpPass ( $ value ) { $ this -> setFieldName ( 'mail_smtp_pass' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | SMTP Password ~ The password to authenticate to SMTP against . |
21,803 | public function setCoreMailSmtpPort ( $ value ) { $ this -> setFieldName ( 'mail_smtp_port' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | SMTP Port ~ Sets the default SMTP server port . |
21,804 | public function setCoreMailSmtpPrefix ( $ value ) { $ this -> setFieldName ( 'mail_smtp_prefix' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | SMTP Connection Prefix ~ Sets connection prefix . Options are ssl or tls |
21,805 | public function setCoreMailSmtpSingleTo ( $ value ) { $ this -> setFieldName ( 'mail_smtp_single_to' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | SMTP Single To ~ Provides the ability to have the TO field process individual emails instead of sending to entire TO addresses . |
21,806 | public function setCoreMailSmtpTimeout ( $ value ) { $ this -> setFieldName ( 'mail_smtp_timeout' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | SMTP Timeout ~ Sets the SMTP server timeout in seconds . This function will not work in win32 servers . |
21,807 | public function setCoreMailSmtpUser ( $ value ) { $ this -> setFieldName ( 'mail_smtp_user' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | SMTP User ~ The user to authenticate to SMTP against . |
21,808 | public function setCoreMailUseSmtp ( $ value ) { $ this -> setFieldName ( 'mail_use_smtp' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Use SMTP ~ If true MODX will attempt to use SMTP in mail functions . |
21,809 | public function setCoreMainNavParent ( $ value ) { $ this -> setFieldName ( 'main_nav_parent' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Main menu parent ~ The container used to pull all records for the main menu . |
21,810 | public function setCoreManagerDirection ( $ value ) { $ this -> setFieldName ( 'manager_direction' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Manager Text Direction ~ Choose the direction that the text will be rendered in the Manager left to right or right to left . |
21,811 | public function setCoreManagerLangAttribute ( $ value ) { $ this -> setFieldName ( 'manager_lang_attribute' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Manager HTML and XML Language Attribute ~ Enter the language code that best fits with your chosen manager language this will ensure that the browser can present content in the best format for you . |
21,812 | public function setCoreManagerLanguage ( $ value ) { $ this -> setFieldName ( 'manager_language' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Manager Language ~ Select the language for the MODX Content Manager . |
21,813 | public function setCoreManagerLoginUrlAlternate ( $ value ) { $ this -> setFieldName ( 'manager_login_url_alternate' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Alternate Manager Login URL ~ An alternate URL to send an unauthenticated user to when they need to login to the manager . The login form there must login the user to the mgr context to work . |
21,814 | public function setCoreManagerTheme ( $ value ) { $ this -> setFieldName ( 'manager_theme' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Manager Theme ~ Select the Theme for the Content Manager . |
21,815 | public function setCoreManagerUseFullname ( $ value ) { $ this -> setFieldName ( 'manager_use_fullname' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Show fullname in manager header ~ If set to yes the content of the fullname field will be shown in manager instead of loginname |
21,816 | public function setCoreMgrSourceIcon ( $ value ) { $ this -> setFieldName ( 'mgr_source_icon' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Media Source icon ~ Indicate a CSS class to be used to display the Media Sources icons in the files tree . Defaults to icon - folder - open - o |
21,817 | public function setCoreMgrTreeIconContext ( $ value ) { $ this -> setFieldName ( 'mgr_tree_icon_context' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Context tree icon ~ Define a CSS class here to be used to display the context icon in the tree . You can use this setting on each context to customize the icon per context . |
21,818 | public function setCoreModxBrowserTreeHideFiles ( $ value ) { $ this -> setFieldName ( 'modx_browser_tree_hide_files' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Media Browser Tree Hide Files ~ If true the files inside folders are not displayed in the Media Browser source tree . Defaults to false . |
21,819 | public function setCoreModxBrowserTreeHideTooltips ( $ value ) { $ this -> setFieldName ( 'modx_browser_tree_hide_tooltips' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Media Browser Tree Hide Tooltips ~ If true no image preview tooltips are shown when hovering over a file in the Media Browser tree . Defaults to true . |
21,820 | public function setCoreModxCharset ( $ value ) { $ this -> setFieldName ( 'modx_charset' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Character encoding ~ Please select which character encoding you wish to use . Please note that MODX has been tested with a number of these encodings but not all of them . For most languages the default setting of UTF - 8 is preferable . |
21,821 | public function setCoreParserRecurseUncacheable ( $ value ) { $ this -> setFieldName ( 'parser_recurse_uncacheable' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Delay Uncacheable Parsing ~ If disabled uncacheable elements may have their output cached inside cacheable element content . Disable this ONLY if you are having problems with complex nested parsing which stopped working as expected . |
21,822 | public function setCorePasswordGeneratedLength ( $ value ) { $ this -> setFieldName ( 'password_generated_length' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Password Auto - Generated Length ~ The length of the auto - generated password for a User . |
21,823 | public function setCorePasswordMinLength ( $ value ) { $ this -> setFieldName ( 'password_min_length' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Minimum Password Length ~ The minimum length for a password for a User . |
21,824 | public function setCorePhpthumbAllowSrcAboveDocroot ( $ value ) { $ this -> setFieldName ( 'phpthumb_allow_src_above_docroot' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Allow src Above Document Root ~ Indicates if the src path is allowed outside the document root . This is useful for multi - context deployments with multiple virtual hosts . |
21,825 | public function setCorePhpthumbCacheMaxage ( $ value ) { $ this -> setFieldName ( 'phpthumb_cache_maxage' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Max Cache Age ~ Delete cached thumbnails that have not been accessed in more than X days . |
21,826 | public function setCorePhpthumbCacheMaxfiles ( $ value ) { $ this -> setFieldName ( 'phpthumb_cache_maxfiles' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Max Cache Files ~ Delete least - recently - accessed thumbnails when cache has more than X files . |
21,827 | public function setCorePhpthumbCacheMaxsize ( $ value ) { $ this -> setFieldName ( 'phpthumb_cache_maxsize' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Max Cache Size ~ Delete least - recently - accessed thumbnails when cache grows bigger than X megabytes in size . |
21,828 | public function setCorePhpthumbCacheSourceEnabled ( $ value ) { $ this -> setFieldName ( 'phpthumb_cache_source_enabled' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Cache Source Files ~ Whether or not to cache source files as they are loaded . Recommended to off . |
21,829 | public function setCorePhpthumbDocumentRoot ( $ value ) { $ this -> setFieldName ( 'phpthumb_document_root' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | PHPThumb Document Root ~ Set this if you are experiencing issues with the server variable DOCUMENT_ROOT or getting errors with OutputThumbnail or !is_resource . Set it to the absolute document root path you would like to use . If this is empty MODX will use the DOCUMENT_ROOT server variable . |
21,830 | public function setCorePhpthumbErrorFontsize ( $ value ) { $ this -> setFieldName ( 'phpthumb_error_fontsize' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Error Font Size ~ An em value indicating a font size to use for text appearing in phpThumb error output . |
21,831 | public function setCorePhpthumbFar ( $ value ) { $ this -> setFieldName ( 'phpthumb_far' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Force Aspect Ratio ~ The default far setting for phpThumb when used in MODX . Defaults to C to force aspect ratio toward the center . |
21,832 | public function setCorePhpthumbImagemagickPath ( $ value ) { $ this -> setFieldName ( 'phpthumb_imagemagick_path' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb ImageMagick Path ~ Optional . Set an alternative ImageMagick path here for generating thumbnails with phpThumb if it is not in the PHP default . |
21,833 | public function setCorePhpthumbNohotlinkEnabled ( $ value ) { $ this -> setFieldName ( 'phpthumb_nohotlink_enabled' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Hotlinking Disabled ~ Remote servers are allowed in the src parameter unless you disable hotlinking in phpThumb . |
21,834 | public function setCorePhpthumbNohotlinkEraseImage ( $ value ) { $ this -> setFieldName ( 'phpthumb_nohotlink_erase_image' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Hotlinking Erase Image ~ Indicates if an image generated from a remote server should be erased when not allowed . |
21,835 | public function setCorePhpthumbNohotlinkTextMessage ( $ value ) { $ this -> setFieldName ( 'phpthumb_nohotlink_text_message' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Hotlinking Not Allowed Message ~ A message that is rendered instead of the thumbnail when a hotlinking attempt is rejected . |
21,836 | public function setCorePhpthumbNohotlinkValidDomains ( $ value ) { $ this -> setFieldName ( 'phpthumb_nohotlink_valid_domains' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Hotlinking Valid Domains ~ A comma - delimited list of hostnames that are valid in src URLs . |
21,837 | public function setCorePhpthumbNooffsitelinkEnabled ( $ value ) { $ this -> setFieldName ( 'phpthumb_nooffsitelink_enabled' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Offsite Linking Disabled ~ Disables the ability for others to use phpThumb to render images on their own sites . |
21,838 | public function setCorePhpthumbNooffsitelinkEraseImage ( $ value ) { $ this -> setFieldName ( 'phpthumb_nooffsitelink_erase_image' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Offsite Linking Erase Image ~ Indicates if an image linked from a remote server should be erased when not allowed . |
21,839 | public function setCorePhpthumbNooffsitelinkRequireRefer ( $ value ) { $ this -> setFieldName ( 'phpthumb_nooffsitelink_require_refer' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Offsite Linking Require Referrer ~ If enabled any offsite linking attempts will be rejected without a valid referrer header . |
21,840 | public function setCorePhpthumbNooffsitelinkTextMessage ( $ value ) { $ this -> setFieldName ( 'phpthumb_nooffsitelink_text_message' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Offsite Linking Not Allowed Message ~ A message that is rendered instead of the thumbnail when an offsite linking attempt is rejected . |
21,841 | public function setCorePhpthumbNooffsitelinkValidDomains ( $ value ) { $ this -> setFieldName ( 'phpthumb_nooffsitelink_valid_domains' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Offsite Linking Valid Domains ~ A comma - delimited list of hostnames that are valid referrers for offsite linking . |
21,842 | public function setCorePhpthumbNooffsitelinkWatermarkSrc ( $ value ) { $ this -> setFieldName ( 'phpthumb_nooffsitelink_watermark_src' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Offsite Linking Watermark Source ~ Optional . A valid file system path to a file to use as a watermark source when your images are rendered offsite by phpThumb . |
21,843 | public function setCorePhpthumbZoomcrop ( $ value ) { $ this -> setFieldName ( 'phpthumb_zoomcrop' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | phpThumb Zoom - Crop ~ The default zc setting for phpThumb when used in MODX . Defaults to 0 to prevent zoom cropping . |
21,844 | public function setCorePreserveMenuindex ( $ value ) { $ this -> setFieldName ( 'preserve_menuindex' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Preserve Menu Index When Duplicating Resources ~ When duplicating Resources the menu index order will also be preserved . |
21,845 | public function setCorePrincipalTargets ( $ value ) { $ this -> setFieldName ( 'principal_targets' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | ACL Targets to Load ~ Customize the ACL targets to load for MODX Users . |
21,846 | public function setCoreProxyAuthType ( $ value ) { $ this -> setFieldName ( 'proxy_auth_type' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Proxy Authentication Type ~ Supports either BASIC or NTLM . |
21,847 | public function setCoreProxyHost ( $ value ) { $ this -> setFieldName ( 'proxy_host' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Proxy Host ~ If your server is using a proxy set the hostname here to enable MODX features that might need to use the proxy such as Package Management . |
21,848 | public function setCoreProxyPassword ( $ value ) { $ this -> setFieldName ( 'proxy_password' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Proxy Password ~ The password required to authenticate to your proxy server . |
21,849 | public function setCoreProxyPort ( $ value ) { $ this -> setFieldName ( 'proxy_port' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Proxy Port ~ The port for your proxy server . |
21,850 | public function setCoreProxyUsername ( $ value ) { $ this -> setFieldName ( 'proxy_username' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Proxy Username ~ The username to authenticate against with your proxy server . |
21,851 | public function setCorePublishDefault ( $ value ) { $ this -> setFieldName ( 'publish_default' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Published default ~ Select Yes to make all new resources published by default . |
21,852 | public function setCoreRequestController ( $ value ) { $ this -> setFieldName ( 'request_controller' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Request Controller Filename ~ The filename of the main request controller from which MODX is loaded . Most users can leave this as index . php . |
21,853 | public function setCoreRequestMethodStrict ( $ value ) { $ this -> setFieldName ( 'request_method_strict' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Strict Request Method ~ If enabled requests via the Request ID Parameter will be ignored with FURLs enabled and those via Request Alias Parameter will be ignored without FURLs enabled . |
21,854 | public function setCoreRequestParamAlias ( $ value ) { $ this -> setFieldName ( 'request_param_alias' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Request Alias Parameter ~ The name of the GET parameter to identify Resource aliases when redirecting with FURLs . |
21,855 | public function setCoreRequestParamId ( $ value ) { $ this -> setFieldName ( 'request_param_id' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Request ID Parameter ~ The name of the GET parameter to identify Resource IDs when not using FURLs . |
21,856 | public function setCoreResolveHostnames ( $ value ) { $ this -> setFieldName ( 'resolve_hostnames' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Resolve hostnames ~ Do you want MODX to try to resolve your visitors hostnames when they visit your site? Resolving hostnames may create some extra server load although your visitors won t notice this in any way . |
21,857 | public function setCoreResourceTreeNodeName ( $ value ) { $ this -> setFieldName ( 'resource_tree_node_name' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Resource Tree Node Field ~ Specify the Resource field to use when rendering the nodes in the Resource Tree . Defaults to pagetitle although any Resource field can be used such as menutitle alias longtitle etc . |
21,858 | public function setCoreResourceTreeNodeNameFallback ( $ value ) { $ this -> setFieldName ( 'resource_tree_node_name_fallback' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Resource Tree Node Fallback Field ~ Specify the Resource field to use as fallback when rendering the nodes in the Resource Tree . This will be used if the resource has an empty value for the configured Resource Tree Node Field . |
21,859 | public function setCoreResourceTreeNodeTooltip ( $ value ) { $ this -> setFieldName ( 'resource_tree_node_tooltip' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Resource Tree Tooltip Field ~ Specify the Resource field to use when rendering the nodes in the Resource Tree . Any Resource field can be used such as menutitle alias longtitle etc . If blank will be the longtitle with a description underneath . |
21,860 | public function setCoreRichtextDefault ( $ value ) { $ this -> setFieldName ( 'richtext_default' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Richtext Default ~ Select Yes to make all new Resources use the Richtext Editor by default . |
21,861 | public function setCoreSearchDefault ( $ value ) { $ this -> setFieldName ( 'search_default' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Searchable Default ~ Select Yes to make all new resources searchable by default . |
21,862 | public function setCoreSendPoweredbyHeader ( $ value ) { $ this -> setFieldName ( 'send_poweredby_header' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Send X - Powered - By Header ~ When enabled MODX will send the X - Powered - By header to identify this site as built on MODX . This helps tracking global MODX usage through third party trackers inspecting your site . Because this makes it easier to identify what your site is built with it might pose a slightly increased security risk if a vulnerability is found in MODX . |
21,863 | public function setCoreServerOffsetTime ( $ value ) { $ this -> setFieldName ( 'server_offset_time' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Server offset time ~ Select the number of hours time difference between where you are and where the server is . |
21,864 | public function setCoreServerProtocol ( $ value ) { $ this -> setFieldName ( 'server_protocol' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Server type ~ If your site is on a https connection please specify so here . |
21,865 | public function setCoreSessionCookieDomain ( $ value ) { $ this -> setFieldName ( 'session_cookie_domain' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Session Cookie Domain ~ Use this setting to customize the session cookie domain . Leave blank to use the current domain . |
21,866 | public function setCoreSessionCookieHttponly ( $ value ) { $ this -> setFieldName ( 'session_cookie_httponly' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Session Cookie HttpOnly ~ Use this setting to set the HttpOnly flag on session cookies . |
21,867 | public function setCoreSessionCookieLifetime ( $ value ) { $ this -> setFieldName ( 'session_cookie_lifetime' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Session Cookie Lifetime ~ Use this setting to customize the session cookie lifetime in seconds . This is used to set the lifetime of a client session cookie when they choose the remember me option on login . |
21,868 | public function setCoreSessionCookiePath ( $ value ) { $ this -> setFieldName ( 'session_cookie_path' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Session Cookie Path ~ Use this setting to customize the cookie path for identifying site specific session cookies . Leave blank to use MODX_BASE_URL . |
21,869 | public function setCoreSessionGcMaxlifetime ( $ value ) { $ this -> setFieldName ( 'session_gc_maxlifetime' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Session Garbage Collector Max Lifetime ~ Allows customization of the session . gc_maxlifetime PHP ini setting when using modSessionHandler . |
21,870 | public function setCoreSessionHandlerClass ( $ value ) { $ this -> setFieldName ( 'session_handler_class' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Session Handler Class Name ~ For database managed sessions use modSessionHandler . Leave this blank to use standard PHP session management . |
21,871 | public function setCoreSessionName ( $ value ) { $ this -> setFieldName ( 'session_name' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Session Name ~ Use this setting to customize the session name used for the sessions in MODX . Leave blank to use the default PHP session name . |
21,872 | public function setCoreSetHeader ( $ value ) { $ this -> setFieldName ( 'set_header' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Set HTTP Headers ~ When enabled MODX will attempt to set the HTTP headers for Resources . |
21,873 | public function setCoreSettingsDistro ( $ value ) { $ this -> setFieldName ( 'settings_distro' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Settings Distribution ~ The current installed distribution of MODX . |
21,874 | public function setCoreSettingsVersion ( $ value ) { $ this -> setFieldName ( 'settings_version' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Settings Version ~ The current installed version of MODX . |
21,875 | public function setCoreShowTvCategoriesHeader ( $ value ) { $ this -> setFieldName ( 'show_tv_categories_header' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Show Categories Tabs Header with TVs ~ If Yes MODX will show the Categories header above the first category tab when editing TVs in a Resource . |
21,876 | public function setCoreSiteName ( $ value ) { $ this -> setFieldName ( 'site_name' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Site name ~ Enter the name of your site here . |
21,877 | public function setCoreSiteStatus ( $ value ) { $ this -> setFieldName ( 'site_status' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Site status ~ Select Yes to publish your site on the web . If you select No your visitors will see the Site unavailable message and won t be able to browse the site . |
21,878 | public function setCoreSymlinkMergeFields ( $ value ) { $ this -> setFieldName ( 'symlink_merge_fields' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Merge Resource Fields in Symlinks ~ If set to Yes will automatically merge non - empty fields with target resource when forwarding using Symlinks . |
21,879 | public function setCoreSyncsiteDefault ( $ value ) { $ this -> setFieldName ( 'syncsite_default' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Empty Cache default ~ Select Yes to empty the cache after you save a resource by default . |
21,880 | public function setCoreTopmenuShowDescriptions ( $ value ) { $ this -> setFieldName ( 'topmenu_show_descriptions' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Show Descriptions in Top Menu ~ If set to No MODX will hide the descriptions from top menu items in the manager . |
21,881 | public function setCoreTreeDefaultSort ( $ value ) { $ this -> setFieldName ( 'tree_default_sort' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Resource Tree Default Sort Field ~ The default sort field for the Resource tree when loading the manager . |
21,882 | public function setCoreTreeRootId ( $ value ) { $ this -> setFieldName ( 'tree_root_id' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Tree Root ID ~ Set this to a valid ID of a Resource to start the left Resource tree at below that node as the root . The user will only be able to see Resources that are children of the specified Resource . |
21,883 | public function setCoreTvsBelowContent ( $ value ) { $ this -> setFieldName ( 'tvs_below_content' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Move TVs Below Content ~ Set this to Yes to move Template Variables below the Content when editing Resources . |
21,884 | public function setCoreUdpermsAllowroot ( $ value ) { $ this -> setFieldName ( 'udperms_allowroot' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Allow root ~ Do you want to allow your users to create new Resources in the root of the site? |
21,885 | public function setCoreUseBrowser ( $ value ) { $ this -> setFieldName ( 'use_browser' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Enable Resource Browser ~ Select yes to enable the resource browser . This will allow your users to browse and upload resources such as images flash and media files on the server . |
21,886 | public function setCoreUseContextResourceTable ( $ value ) { $ this -> setFieldName ( 'use_context_resource_table' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Use the context resource table ~ When enabled context refreshes use the context_resource table . This enables you to programmatically have one resource in multiple contexts . If you do not use those multiple resource contexts via the API you can set this to false . On large sites you will get a potential performance boost in the manager then . |
21,887 | public function setCoreUseEditor ( $ value ) { $ this -> setFieldName ( 'use_editor' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Enable Rich Text Editor ~ Do you want to enable the rich text editor? If you re more comfortable writing HTML then you can turn the editor off using this setting . Note that this setting applies to all documents and all users! |
21,888 | public function setCoreUseFrozenParentUris ( $ value ) { $ this -> setFieldName ( 'use_frozen_parent_uris' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Use Frozen Parent URIs ~ When enabled the URI for children resources will be relative to the frozen URI of one of its parents ignoring the aliases of resources high in the tree . |
21,889 | public function setCoreUseMultibyte ( $ value ) { $ this -> setFieldName ( 'use_multibyte' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Use Multibyte Extension ~ Set to true if you want to use the mbstring extension for multibyte characters in your MODX installation . Only set to true if you have the mbstring PHP extension installed . |
21,890 | public function setCoreUserNavParent ( $ value ) { $ this -> setFieldName ( 'user_nav_parent' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | User menu parent ~ The container used to pull all records for the user menu . |
21,891 | public function setCoreWelcomeAction ( $ value ) { $ this -> setFieldName ( 'welcome_action' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Welcome Action ~ The default controller to load when accessing the manager when no controller is specified in the URL . |
21,892 | public function setCoreWelcomeNamespace ( $ value ) { $ this -> setFieldName ( 'welcome_namespace' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Welcome Namespace ~ The namespace the Welcome Action belongs to . |
21,893 | public function setCoreWelcomeScreen ( $ value ) { $ this -> setFieldName ( 'welcome_screen' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Show Welcome Screen ~ If set to true the welcome screen will show on the next successful loading of the welcome page and then not show after that . |
21,894 | public function setCoreWelcomeScreenUrl ( $ value ) { $ this -> setFieldName ( 'welcome_screen_url' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Welcome Screen URL ~ The URL for the welcome screen that loads on first load of MODX Revolution . |
21,895 | public function setCoreWhichEditor ( $ value ) { $ this -> setFieldName ( 'which_editor' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Editor to use ~ Here you can select which Rich Text Editor you wish to use . You can download and install additional Rich Text Editors from Package Management . |
21,896 | public function setCoreWhichElementEditor ( $ value ) { $ this -> setFieldName ( 'which_element_editor' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | Editor to use for Elements ~ Here you can select which Rich Text Editor you wish to use when editing Elements . You can download and install additional Rich Text Editors from Package Management . |
21,897 | public function setCoreXhtmlUrls ( $ value ) { $ this -> setFieldName ( 'xhtml_urls' ) ; $ this -> loadObject ( true ) ; $ this -> setFieldValue ( $ value ) ; return $ this ; } | XHTML URLs ~ If set to true all URLs generated by MODX will be XHTML - compliant including encoding of the ampersand character . |
21,898 | public function connect ( ) { if ( $ this -> connected ) { return $ this ; } $ this -> connected = true ; switch ( $ this -> mode ) { case "mysql" : $ this -> server = new \ Mysqli ( $ this -> options [ "hostname" ] , $ this -> options [ "username" ] , $ this -> options [ "password" ] ) ; if ( $ this -> server -> connect_error ) { $ this -> error ( ) ; } if ( $ this -> options [ "charset" ] ) { $ this -> server -> set_charset ( $ this -> options [ "charset" ] ) ; } if ( $ timezone = $ this -> options [ "timezone" ] ) { if ( $ timezone === self :: USE_PHP_TIMEZONE ) { $ timezone = ini_get ( "date.timezone" ) ; } $ this -> query ( "SET time_zone='" . $ timezone . "'" ) ; } if ( $ database = $ this -> options [ "database" ] ) { if ( ! $ this -> server -> select_db ( $ database ) ) { $ this -> error ( ) ; } } break ; case "postgres" : case "redshift" : $ connect = "host=" . $ this -> options [ "hostname" ] . " " ; $ connect .= "user=" . $ this -> options [ "username" ] . " " ; $ connect .= "password=" . $ this -> options [ "password" ] . " " ; $ connect .= "dbname= " . $ this -> options [ "database" ] . " " ; $ this -> server = pg_connect ( $ connect , PGSQL_CONNECT_FORCE_NEW ) ; break ; case "odbc" : $ this -> server = odbc_connect ( $ this -> options [ "hostname" ] , $ this -> options [ "username" ] , $ this -> options [ "password" ] ) ; break ; case "sqlite" : $ this -> server = new \ Sqlite3 ( $ this -> options [ "database" ] ) ; break ; case "mssql" : $ this -> server = mssql_connect ( $ this -> options [ "hostname" ] , $ this -> options [ "username" ] , $ this -> options [ "password" ] ) ; break ; case "mssqlsrv" : if ( ! $ port = $ this -> options [ "port" ] ) { $ port = 1433 ; } $ this -> server = sqlsrv_connect ( "tcp:" . $ this -> options [ "hostname" ] . ",{$port}" , [ "Uid" => $ this -> options [ "username" ] , "PWD" => $ this -> options [ "password" ] , ] ) ; break ; } if ( ! $ this -> server ) { $ this -> error ( ) ; } return $ this ; } | If we have not already connected then connect to the database now . |
21,899 | public function attachDatabase ( $ filename , $ database = null ) { if ( $ this -> mode != "sqlite" ) { throw new \ Exception ( "You can only attach databases when in sqlite mode" ) ; } if ( ! $ database ) { $ database = pathinfo ( $ filename , PATHINFO_FILENAME ) ; } $ query = "ATTACH DATABASE '" . $ filename . "' AS " . $ this -> quoteTable ( $ database ) ; $ result = $ this -> query ( $ query ) ; if ( ! $ result ) { $ this -> error ( ) ; } $ this -> attached [ $ database ] = $ filename ; return $ result ; } | Attach another sqlite database to the current connection |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.