Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 3 | 4 | 0.980 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 685 | libraries/joomla/application/application.php |
2 | 13 | 708 | libraries/joomla/application/application.php |
3 | 13 | 731 | libraries/joomla/application/application.php |
| ||||
/** * Return a reference to the application JRouter object. * * @access public * @param array $options An optional associative array of configuration settings. * @return JRouter. * @since 1.5 */ function &getRouter($name= NULL, $options= array()) { if (! isset ($name)) { $name= $this->_name; } jimport('joomla.application.router'); $router= &JRouter::getInstance($name, $options); if (JError::isError($router)) { $null= NULL; return $null; } return $router; } |
| ||||
/** * Return a reference to the application JPathway object. * * @access public * @param array $options An optional associative array of configuration settings. * @return object JPathway. * @since 1.5 */ function &getPathway($name= NULL, $options= array()) { if (! isset ($name)) { $name= $this->_name; } jimport('joomla.application.pathway'); $pathway= &JPathway::getInstance($name, $options); if (JError::isError($pathway)) { $null= NULL; return $null; } return $pathway; } |
| ||||
/** * Return a reference to the application JPathway object. * * @access public * @param array $options An optional associative array of configuration settings. * @return object JMenu. * @since 1.5 */ function &getMenu($name= NULL, $options= array()) { if (! isset ($name)) { $name= $this->_name; } jimport('joomla.application.menu'); $menu= &JMenu::getInstance($name, $options); if (JError::isError($menu)) { $null= NULL; return $null; } return $menu; } |
| |||
/** * Return a reference to the application JPathway object. * * @access public * @param array $options An optional associative array of configuration settings. * @return object JMenu. * @since 1.5 */ /** * Return a reference to the application JPathway object. * * @access public * @param array $options An optional associative array of configuration settings. * @return object JPathway. * @since 1.5 */ /** * Return a reference to the application JRouter object. * * @access public * @param array $options An optional associative array of configuration settings. * @return JRouter. * @since 1.5 */ function & [[#variable52517200]]($name=NULL,$options=array()) { if (! isset ($name)) { $name=$this->_name; } jimport( [[#variable525171a0]]); [[#variable52517100]]= & [[#variable525170a0]]::getInstance($name,$options); if (JError::isError( [[#variable52517100]])) { $null=NULL; return $null; } return [[#variable52517100]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52517200]] | getMenu |
1 | 2 | [[#52517200]] | getPathway |
1 | 3 | [[#52517200]] | getRouter |
2 | 1 | [[#525171a0]] | 'joomla.application.menu' |
2 | 2 | [[#525171a0]] | 'joomla.application.pathway' |
2 | 3 | [[#525171a0]] | 'joomla.application.router' |
3 | 1 | [[#52517100]] | $menu |
3 | 2 | [[#52517100]] | $pathway |
3 | 3 | [[#52517100]] | $router |
4 | 1 | [[#525170a0]] | JMenu |
4 | 2 | [[#525170a0]] | JPathway |
4 | 3 | [[#525170a0]] | JRouter |