예제 #1
0
 /**
  * Constructor
  *
  * @param Settings $settings
  * @param RepositorySubscribers $subscribers
  */
 function __construct(\SimpleSubscribe\Settings $settings, \SimpleSubscribe\RepositorySubscribers $subscribers)
 {
     global $status, $page;
     $this->subscribers = $subscribers;
     $this->settings = $settings;
     add_filter('set-screen-option', array('\\SimpleSubscribe\\TableSubscribes', 'setScreenOptions'), 100, 3);
     parent::__construct(array('singular' => 'subscriber', 'plural' => 'subscribers', 'ajax' => FALSE));
 }
예제 #2
0
파일: TableLogs.php 프로젝트: jekv/devia
 /**
  * Constructor
  *
  * @param RepositoryLog $log
  */
 function __construct(\SimpleSubscribe\RepositoryLog $log)
 {
     global $status, $page;
     $this->log = $log;
     parent::__construct(array('singular' => 'log', 'plural' => 'logs', 'ajax' => false));
 }