class WpvFancyPortfolio

### Methods

## Outputs the background portfolio controls

    background_controls()

Static

## returns the portfolio items for the fancy portfolio sliders

    get() : array

Static

### Returns

`array`

## Get the current portfolio categories

    get_categories() : array

Static

### Returns

`array`list of category slugs

## Get the current portfolio type

    get_type() : string

Static

### Returns

`string`"background" or "page"

## Checks whether the current page has a fancy portfolio of type $type

    has(string $type) : boolean

Static

### Parameters

#### $type

`string`

portfolio type

### Returns

`boolean`whether the current page has a fancy portfolio of type $type

## Initializes the ajax portfolio

    init_ajax()

Static

## Initializes the background portfolio

    init_background()

Static

## deals with the "full background" layout

    background(array $items) : array

Static

### Parameters

#### $items

`array`

### Returns

`array`

## returns a list of gallery ids

    get_gallery_images($post) : array

Static

### Parameters

#### $post

WP_Post regular WP post object

### Returns

`array`

## deals with the "ajax portfolio" layout

    page(array $items) : array

Static

### Parameters

#### $items

`array`

### Returns

`array`

### Properties

##

    $cats : array

##

    $type : string