コード例 #1
0
 public function run($id)
 {
     Language::disable($id);
     exit;
 }
コード例 #2
0
 /**
  * 
  * Disable a language by removing locale from database storage
  * 
  * @param string $locale - Locale to be enabled
  * @return int - status code
  */
 public function actionDisable($locale)
 {
     Language::disable($locale);
     return 0;
 }