WebFioriAPI ReferenceLearnDownloadContributeLearn{{result.parent_page}} > {{result.title}}{{result.title}}Classes{{result.class_name}}{{result.summary}}Methods{{result.name}}{{result.summary}}

namespace \webfiori\ui

class Anchor

Class Methods Summary

public function __construct(string$href, string|HTMLNode$body, string$target)Constructs a new instance of the class.public function setHref(string$link)Sets the value of the property 'href' of the link tag.public function setTarget(string$name)Sets the value of the property 'target' of the link tag.public function setText(string$text, boolean$escHtmlEntities)Sets the text that will be seen by the user.

Class Methods Details

public function __construct(string$href, string|HTMLNode$body, string$target)Constructs a new instance of the class.

Parameters:

  • string $href The link.
  • string|HTMLNode $body The label to display. Also, this can be an object of type 'HTMLNode'. Note that if text is given and the text contains HTML code, the method will not replace the code by HTML entities.
  • string $target The value to set for the attribute 'target'. Default is '_self'.
public function setHref(string$link)Sets the value of the property 'href' of the link tag.

Parameters:

  • string $link The value to set. It must be non-empty string.
public function setTarget(string$name)Sets the value of the property 'target' of the link tag.

Parameters:

  • string $name The value to set.
public function setText(string$text, boolean$escHtmlEntities)Sets the text that will be seen by the user. Note that this method is only applicable if the first child of the anchor is of type '#TEXT'.

Parameters:

  • string $text The text to set.
  • boolean $escHtmlEntities If set to true, the method will replace the characters '<', '>' and '&' with the following HTML entities: '&lt;', '&gt;' and '&amp;' in the given text. Default is false.
mdi-menuAll Classesmdi-chevron-leftAnchorBrCodeSnippetHTMLDocHTMLListHTMLNodeHTMLTableHeadNodeInputJsCodeLabelListItemOrderedListParagraphRadioGroupTableCellTableRowUnorderedListInvalidNodeNameExceptionTemplateNotFoundExceptionCaseConverterJsonJsonConverterJsonIJsonTypesPropertyAPIFilterAbstractWebServiceManagerInfoServiceParamTypesRequestRequestParameterResponseUriWebServicesManagerAccessAutoLoaderConfigConfigControllerDBEAbstractWebServiceExtendedWebServicesManagerFileLoggerPrivilegePrivilegesGroupThemeThemeLoaderUploadFileUploaderUserUtilWebFioriAppLanguageErrorBoxHTTPCodeViewMessageBoxServerErrViewStarterPageWebPageDatabaseSessionStorageDefaultSessionStorageMSSQLSessionDataTableMSSQLSessionsTableMySQLSessionDataTableMySQLSessionsTableSessionSessionOperationsSessionStorageSessionsManagerRouterRouterUriAbstractMiddlewareMiddlewareManagerEmailMessageSMTPAccountSMTPServerClassLoaderExceptionFileExceptionInitializationExceptionInvalidCRONExprExceptionMissingLangExceptionNoSuchThemeExceptionRoutingExceptionSMTPExceptionSessionExceptionUIExceptionAbstractJobCronCronEmailCronJobJobArgumentCronLoginViewCronTasksViewCronViewCronLoginServiceCronLogoutServiceCronServicesManagerForceCronExecutionServiceGetJobsServiceCLICLICommandInputStreamOutputStreamStdInStdOutClassWriterLangClassWriterQueryClassWriterServiceHolderThemeClassWriterWebServiceWriterCreateCLIClassHelperCreateCronJobCreateMiddlewareCreateTableCreateTableObjCreateThemeHelperCreateWebServiceAddCommandCreateCommandCronCommandHelpCommandListCronCommandListRoutesCommandListThemesCommandRunSQLQueryCommandSettingsCommandTestRouteCommandUpdateSettingsCommandUpdateTableCommandVersionCommandAbstractQueryColumnColumnFactoryConditionConnectionConnectionInfoDatabaseDatabaseExceptionDateTimeValidatorEntityMapperExpressionForeignKeyJoinTableResultSetSelectExpressionTableWhereExpressionMySQLColumnMySQLConnectionMySQLQueryMySQLTableMSSQLColumnMSSQLConnectionMSSQLQueryMSSQLTableAbstractCollectionComparableLinkedListNodeQueueStack
Powered By: WebFiori Framework, Vue and VuetifyAll Rights Reserved © 2018 - 2024