Back to RouterLegacy class

Method __construct

public
__construct
(mixed $component)
Constructor
Parameters
  • string $component Component name without the com_ prefix this router should react upon
Since
  • 3.3
Class: RouterLegacy
Project: Joomla

Method __construct - Source code

/**
 * Constructor
 *
 * @param   string  $component  Component name without the com_ prefix this router should react upon
 *
 * @since   3.3
 */
public function __construct($component)
{
    $this->component = $component;
}