original_string: public function getActions($imagestyle_id)
      {
          $styles = $this->getList();
  
          if (empty($styles[$imagestyle_id]['actions'])) {
              return array();
          }
  
          $actions = $styles[$imagestyle_id]['actions'];
          gplcart_array_sort($actions);
          return $actions;
      }
code: public function getActions($imagestyle_id)
      {
          $styles = $this->getList();
  
          if (empty($styles[$imagestyle_id]['actions'])) {
              return array();
          }
  
          $actions = $styles[$imagestyle_id]['actions'];
          gplcart_array_sort($actions);
          return $actions;
      }
code_tokens: public function getActions ( $ imagestyle_id ) { $ styles = $ this -> getList ( ) ; if ( empty ( $ styles [ $ imagestyle_id ] [ 'actions' ] ) ) { return array ( ) ; } $ actions = $ styles [ $ imagestyle_id ] [ 'actions' ] ; gplcart_array_sort ( $ actions ) ; return $ actions ; }
docstring: Returns an array of image style actions
  @param integer $imagestyle_id
  @return array
docstring_tokens: Returns an array of image style actions