original_string: public static function getUnknownActionName($type)
      {
          if (empty(self::$defaultActionNameWhenNotDefined)) {
              self::$defaultActionNameWhenNotDefined = Piwik::translate('General_NotDefined', Piwik::translate('Actions_ColumnPageName'));
              self::$defaultActionUrlWhenNotDefined = Piwik::translate('General_NotDefined', Piwik::translate('Actions_ColumnPageURL'));
          }
          if ($type == Action::TYPE_PAGE_TITLE) {
              return self::$defaultActionNameWhenNotDefined;
          }
          return self::$defaultActionUrlWhenNotDefined;
      }
code: public static function getUnknownActionName($type)
      {
          if (empty(self::$defaultActionNameWhenNotDefined)) {
              self::$defaultActionNameWhenNotDefined = Piwik::translate('General_NotDefined', Piwik::translate('Actions_ColumnPageName'));
              self::$defaultActionUrlWhenNotDefined = Piwik::translate('General_NotDefined', Piwik::translate('Actions_ColumnPageURL'));
          }
          if ($type == Action::TYPE_PAGE_TITLE) {
              return self::$defaultActionNameWhenNotDefined;
          }
          return self::$defaultActionUrlWhenNotDefined;
      }
code_tokens: public static function getUnknownActionName ( $ type ) { if ( empty ( self :: $ defaultActionNameWhenNotDefined ) ) { self :: $ defaultActionNameWhenNotDefined = Piwik :: translate ( 'General_NotDefined' , Piwik :: translate ( 'Actions_ColumnPageName' ) ) ; self :: $ defaultActionUrlWhenNotDefined = Piwik :: translate ( 'General_NotDefined' , Piwik :: translate ( 'Actions_ColumnPageURL' ) ) ; } if ( $ type == Action :: TYPE_PAGE_TITLE ) { return self :: $ defaultActionNameWhenNotDefined ; } return self :: $ defaultActionUrlWhenNotDefined ; }
docstring: Returns default label for the action type
  
  @param $type
  @return string
docstring_tokens: Returns default label for the action type