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

namespace \webfiori\ui

class TableCell

Class Methods Summary

public function __construct(string$cellType, string|HTMLNode$cellBody)Creates new instance of the class.public function getColSpan()Returns the value of the attribute 'colspan'.public function getRowSpan()Returns the value of the attribute 'rowspan'.public function setColSpan(int$colSpan)Sets the value of the attribute 'colspan'.public function setRowSpan(int$rowSpan)Sets the value of the attribute 'rowspan'.

Class Methods Details

public function __construct(string$cellType, string|HTMLNode$cellBody)Creates new instance of the class.

Parameters:

  • string $cellType The type of the cell. This attribute can have only one of two values, 'td' or 'th'. 'td' If the cell is in the body of the table and 'th' if the cell is in the header. If none of the two is given, 'td' will be used by default.
  • string|HTMLNode $cellBody An optional item that can be added to the body of the cell.
public function getColSpan()Returns the value of the attribute 'colspan'. This attribute indicates for how many columns the cell extends. If this attribute is not set, the default value for it will be 1.Returns: intThe number of columns that the cell will span.public function getRowSpan()Returns the value of the attribute 'rowspan'. This attribute indicates for how many rows the cell extends. If this attribute is not set, the default value for it will be 1.Returns: intThe number of rows that the cell will span.public function setColSpan(int$colSpan)Sets the value of the attribute 'colspan'. This attribute indicates for how many columns the cell extends. This attribute can have any value from 1 up to 1000. If the given value is not in the range, the attribute will not set.

Parameters:

  • int $colSpan The number of columns that the cell will span.
Returns: TableCellThe method will return the instance at which the method is called on.
public function setRowSpan(int$rowSpan)Sets the value of the attribute 'rowspan'. This attribute indicates for how many rows the cell extends. This attribute can have any value from 0 up to 65534. If the given value is not in the range, the attribute will not set. If 0 is given, this means the cell will span till the end of table section.

Parameters:

  • int $rowSpan The number of rows that the cell will span.
Returns: TableCellThe method will return the instance at which the method is called on.
mdi-menuAll Classesmdi-chevron-leftAnchorBrCodeSnippetHTMLDocHTMLListHTMLNodeHTMLTableHeadNodeInputJsCodeLabelListItemOrderedListParagraphRadioGroupTableCellTableRowUnorderedListInvalidNodeNameExceptionTemplateNotFoundExceptionCaseConverterJsonJsonConverterJsonIJsonTypesPropertyAPIFilterAbstractWebServiceManagerInfoServiceParamTypesRequestRequestParameterResponseUriWebServicesManagerAccessAutoLoaderConfigConfigControllerDBEAbstractWebServiceExtendedWebServicesManagerFileLoggerPrivilegePrivilegesGroupThemeThemeLoaderUploadFileUploaderUserUtilWebFioriAppLanguageErrorBoxHTTPCodeViewMessageBoxServerErrViewStarterPageWebPageDatabaseSessionStorageDefaultSessionStorageMSSQLSessionDataTableMSSQLSessionsTableMySQLSessionDataTableMySQLSessionsTableSessionSessionOperationsSessionStorageSessionsManagerRouterRouterUriAbstractMiddlewareMiddlewareManagerEmailMessageSMTPAccountSMTPServerClassLoaderExceptionFileExceptionInitializationExceptionInvalidCRONExprExceptionMissingLangExceptionNoSuchThemeExceptionRoutingExceptionSMTPExceptionSessionExceptionUIExceptionAbstractJobCronCronEmailCronJobJobArgumentCronLoginViewCronTasksViewCronViewCronLoginServiceCronLogoutServiceCronServicesManagerForceCronExecutionServiceGetJobsServiceCLICLICommandInputStreamOutputStreamStdInStdOutClassWriterLangClassWriterQueryClassWriterServiceHolderThemeClassWriterWebServiceWriterCreateCLIClassHelperCreateCronJobCreateMiddlewareCreateTableCreateTableObjCreateThemeHelperCreateWebServiceAddCommandCreateCommandCronCommandHelpCommandListCronCommandListRoutesCommandListThemesCommandRunSQLQueryCommandSettingsCommandTestRouteCommandUpdateSettingsCommandUpdateTableCommandVersionCommandAbstractQueryColumnColumnFactoryConditionConnectionConnectionInfoDatabaseDatabaseExceptionDateTimeValidatorEntityMapperExpressionForeignKeyJoinTableResultSetSelectExpressionTableWhereExpressionMySQLColumnMySQLConnectionMySQLQueryMySQLTableMSSQLColumnMSSQLConnectionMSSQLQueryMSSQLTableAbstractCollectionComparableLinkedListNodeQueueStack
Powered By: WebFiori Framework, Vue and VuetifyAll Rights Reserved © 2018 - 2024