In order to use a class, you need to include the file that defines it. Autoloading is a PHP feature that allows your program to search and load files automatically given some set of predefined rules. Each time you reference a class that PHP does not know about, it will ask the autoloader.
Article Structured Data
Proper structured data in your news, blog, and sports article page can enhance your appearance in Google Search results. Enhanced features include entry in a top stories carousel and rich result features such as headline text and larger-than-thumbnail images. Your content may also be automatically turned into an action on the Google Assistant.
How To Get URL of Current Page in PHP
There are a lot of situations where you might need to get the URL of a webpage that any user might be currently visiting. For example, you may require you to dynamically generate the title of a webpage based on its URL. There are many ways in which you can obtain the URL of a webpage.
How To Create Joomla Content Plugin
Content events are triggered during the content creation process. The majority of these events are called in many views, many components and modules. They are generally not specific for the com_content component.
Joomla! 3.9 - GDPR Release
The General Data Protection Regulation (GDPR) enters into force on 25 May, 2018. Joomla integrates a Privacy Tool Suite in the Joomla CMS to facilitate the compliance of the sites.
Breadcrumb Structured Data
A breadcrumb trail on a page indicates the page's position in the site hierarchy. A user can navigate all the way up in the site hierarchy, one level at a time, by starting from the last breadcrumb in the breadcrumb trail.
Display 2D Array as HTML Table in PHP
You can display a 2 dimensional array in PHP as a HTML table using nested foreach loop. For example, this is useful when you get rows of information from MySQL, and then you need to display its output as a table.
Joomla Output Overrides
You can take over control of virtually all the output that is generated by Joomla. Except for files that are provided in the Joomla! distribution itself, overrides or customization eliminate the need to hack core files that could change when the site is updated to a new version.
How To Design A Database
Databases exist because of the need to change data into information. Data are the raw and unprocessed facts. Information is obtained by processing the data into something useful. A database is a large repository of facts, designed in such a way that processing the facts into information is easy.
Different Types of Keys in Relational Database
A key, or index, unlocks access to the tables. If you know the key, you know how to identify specific records and the relationships between the tables. Each key consists of one or more fields, or field prefix. The order of columns in an index is significant. Each key has a name.