get_component() public static method

Get a component.
public static get_component ( string $shortname, string $html ) : Component
$shortname string
$html string
return Component
Example #1
0
 /**
  * Get a component from the shortname.
  *
  * @param string $shortname
  * @param string $html
  * @return Component
  * @access private
  */
 private function get_component_from_shortname($shortname, $html = null)
 {
     return Component_Factory::get_component($shortname, $html);
 }