Exemple #1
0
 public function __construct($page = 'awpcp-place-ad', $title = null, $county_id = null)
 {
     if ($page == 'default') {
         $page = 'awpcp=place-ad';
     }
     if ($title == 'default') {
         $title = null;
     }
     parent::__construct($page, $title);
     $this->county_id = $county_id;
     $this->authorization = awpcp_listing_authorization();
 }
 public function __construct($page = 'awpcp-reply-to-ad', $title = null)
 {
     parent::__construct($page, is_null($title) ? __('Reply to Ad', 'AWPCP') : $title);
 }
 public function __construct($page = 'awpcp-browse-ads', $title = null)
 {
     $title = is_null($title) ? __('Browse Ads', 'AWPCP') : $title;
     parent::__construct($page, $title);
 }
Exemple #4
0
 public function __construct($page = 'awpcp-place-ad', $title = null)
 {
     parent::__construct($page, $title);
     $this->authorization = awpcp_listing_authorization();
 }
Exemple #5
0
 public function __construct($page, $title, $menu)
 {
     parent::__construct($page, $title);
     $this->menu = $menu;
 }
 public function __construct($page = 'awpcp-search-ads', $title = null)
 {
     parent::__construct($page, is_null($title) ? __('Search Ads', 'AWPCP') : $title);
 }