public function update()
	{
		// Get group config
		$groupsConfig = \Component::params('com_groups');

		// Path to group folder
		$directory  = PATH_APP . DS . trim($groupsConfig->get('uploadpath', '/site/groups'), DS);
		$directory .= DS . $this->group->get('gidNumber');

		// Get task, defaults to update
		$task = ($this->arguments->getOpt(3)) ? $this->arguments->getOpt(3) : 'update';

		// Set our group directory & call update
		$this->arguments->setOpt('r', $directory);
		\App::get('client')->call('repository', $task, $this->arguments, $this->output);
	}
public function update()
	{
		// Get group config
		$groupsConfig = \Component::params('com_groups');

		// Path to group folder
		$directory  = PATH_APP . DS . trim($groupsConfig->get('uploadpath', '/site/groups'), DS);
		$directory .= DS . $this->group->get('gidNumber');

		// Get task, defaults to update
		$task = ($this->arguments->getOpt(3)) ? $this->arguments->getOpt(3) : 'update';

		// Set our group directory & call update
		$this->arguments->setOpt('r', $directory);
		\App::get('client')->call('repository', $task, $this->arguments, $this->output);
	}
public function update ( ) { // Get group config $ groupsConfig = \ Component :: params ( 'com_groups' ) ; // Path to group folder $ directory = PATH_APP . DS . trim ( $ groupsConfig -> get ( 'uploadpath' , '/site/groups' ) , DS ) ; $ directory .= DS . $ this -> group -> get ( 'gidNumber' ) ; // Get task, defaults to update $ task = ( $ this -> arguments -> getOpt ( 3 ) ) ? $ this -> arguments -> getOpt ( 3 ) : 'update' ; // Set our group directory & call update $ this -> arguments -> setOpt ( 'r' , $ directory ) ; \ App :: get ( 'client' ) -> call ( 'repository' , $ task , $ this -> arguments , $ this -> output ) ; }
Update super group code

@return  void
Update super group code