/**
  * Returns the available actions for the current source.
  *
  * @return array|null
  */
 private function _getAvailableActions()
 {
     if (craft()->request->isMobileBrowser()) {
         return;
     }
     $actions = $this->_elementType->getAvailableActions($this->_sourceKey);
     if ($actions) {
         foreach ($actions as $i => $action) {
             if (is_string($action)) {
                 $actions[$i] = $action = craft()->elements->getAction($action);
             }
             if (!$action instanceof IElementAction) {
                 unset($actions[$i]);
             }
         }
         return array_values($actions);
     }
 }