CloneSet308


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13340.980class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113685
libraries/joomla/application/application.php
213708
libraries/joomla/application/application.php
313731
libraries/joomla/application/application.php
Clone Instance
1
Line Count
13
Source Line
685
Source File
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;
              }


Clone Instance
2
Line Count
13
Source Line
708
Source File
libraries/joomla/application/application.php

        /**
         * 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;
              }


Clone Instance
3
Line Count
13
Source Line
731
Source File
libraries/joomla/application/application.php

        /**
         * 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;
              }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52517200]]
getMenu 
12[[#52517200]]
getPathway 
13[[#52517200]]
getRouter 
21[[#525171a0]]
'joomla.application.menu' 
22[[#525171a0]]
'joomla.application.pathway' 
23[[#525171a0]]
'joomla.application.router' 
31[[#52517100]]
$menu 
32[[#52517100]]
$pathway 
33[[#52517100]]
$router 
41[[#525170a0]]
JMenu 
42[[#525170a0]]
JPathway 
43[[#525170a0]]
JRouter