Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 6 | 0.953 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 53 | administrator/components/com_users/views/group/view.html.php |
2 | 8 | 54 | administrator/components/com_users/views/level/view.html.php |
3 | 8 | 64 | administrator/components/com_users/views/user/view.html.php |
| ||||
/** * Build the default toolbar. * * @return void */ protected function _setToolbar() { $isNew= ($this->item->id == 0); JToolBarHelper::title(JText::_($isNew ? 'Users_Title_Add_Group' : 'Users_Title_Edit_Group'), 'user'); JToolBarHelper::save('group.save'); JToolBarHelper::apply('group.apply'); JToolBarHelper::cancel('group.cancel'); //JToolBarHelper::help('index', true); } |
| ||||
/** * Build the default toolbar. * * @return void */ protected function _setToolbar() { $isNew= ($this->item->getAssetGroupId() == 0); JToolBarHelper::title(JText::_($isNew ? 'Users_Title_Add_Access_Level' : 'Users_Title_Edit_Access_Level'), 'user'); JToolBarHelper::save('level.save'); JToolBarHelper::apply('level.apply'); JToolBarHelper::cancel('level.cancel'); //JToolBarHelper::help('index', true); } |
| ||||
/** * Build the default toolbar. * * @return void * @since 1.6 */ protected function _setToolbar() { $isNew= ($this->item->id == 0); JToolBarHelper::title(JText::_($isNew ? 'Users_Title_Add_User' : 'Users_Title_Edit_User'), 'user'); JToolBarHelper::save('user.save'); JToolBarHelper::apply('user.apply'); JToolBarHelper::cancel('user.cancel'); //JToolBarHelper::help('index', true); } |
| |||
/** * Build the default toolbar. * * @return void * @since 1.6 */ /** * Build the default toolbar. * * @return void */ protected function _setToolbar() { $isNew=( [[#variable507e30c0]]== 0); JToolBarHelper::title(JText::_($isNew ? [[#variable507e3040]] : [[#variable507e2f80]]),'user'); JToolBarHelper::save( [[#variable507e2f40]]); JToolBarHelper::apply( [[#variable507e2f20]]); JToolBarHelper::cancel( [[#variable507e2ee0]]); //JToolBarHelper::help('index', true); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#507e30c0]] | $this->item->id |
1 | 2 | [[#507e30c0]] | $this->item->getAssetGroupId() |
1 | 3 | [[#507e30c0]] | $this->item->id |
2 | 1 | [[#507e3040]] | 'Users_Title_Add_User' |
2 | 2 | [[#507e3040]] | 'Users_Title_Add_Access_Level' |
2 | 3 | [[#507e3040]] | 'Users_Title_Add_Group' |
3 | 1 | [[#507e2f80]] | 'Users_Title_Edit_User' |
3 | 2 | [[#507e2f80]] | 'Users_Title_Edit_Access_Level' |
3 | 3 | [[#507e2f80]] | 'Users_Title_Edit_Group' |
4 | 1 | [[#507e2f40]] | 'user.save' |
4 | 2 | [[#507e2f40]] | 'level.save' |
4 | 3 | [[#507e2f40]] | 'group.save' |
5 | 1 | [[#507e2f20]] | 'user.apply' |
5 | 2 | [[#507e2f20]] | 'level.apply' |
5 | 3 | [[#507e2f20]] | 'group.apply' |
6 | 1 | [[#507e2ee0]] | 'user.cancel' |
6 | 2 | [[#507e2ee0]] | 'level.cancel' |
6 | 3 | [[#507e2ee0]] | 'group.cancel' |