You are here

public function EntityPagerSetup::__construct in Entity Pager 7

Setup Entity Pager with minimum values to work with.

The construct class for a the class entity_pager_setup.

Parameters

object $view: The view object.

Overrides EntityPager::__construct

File

includes/EntityPagerSetup.inc, line 48
General setup base Class for Entity Pager module.

Class

EntityPagerSetup
Class EntityPagerSetup.

Code

public function __construct($view) {

  // Set function to allow for dependency injection and coding best practices.
  $this
    ->setDefaults();
  $this
    ->setView($view);
  $this->outSettings = new stdClass();
  $this
    ->establishEntity($view);
}