function __construct() { parent::__construct(); $this->title_decorator = new WPV_Embedded_Title_Decorator(__('Content Templates', 'wpv-views'), __('Add new Content Template', 'wpv-views')); $noitems_message = sprintf('<p>%s</p><p>%s</p>', __('Content Templates let you design single pages.', 'wpv-views'), __('Currently there are no items to display.', 'wpv-views')); $this->noitems_decorator = new WPV_Embedded_Noitems_Decorator($noitems_message); $this->search_form_decorator = new WPV_SearchForm_Decorator(__('Search Content Templates', 'wpv-views')); $this->table_decorator = new WPV_CT_List_Table_Embedded(); $this->item_provider_decorator = new WPV_Embedded_CT_Item_Provider_Decorator(); $this->pagination_decorator = new WPV_Embedded_Pagination_Decorator($this->page_name); }
function __construct() { parent::__construct(); $this->title_decorator = new WPV_Embedded_Title_Decorator( __( 'WordPress Archives', 'wpv-views' ), __( 'Add new WordPress Archive','wpv-views' ) ); $noitems_message = sprintf( '<p>%s</p><p>%s</p>', __( 'WordPress Archives let you customize the output of standard Archive pages.', 'wpv-views' ), __( 'Currently there are no items to display.', 'wpv-views' ) ); $this->noitems_decorator = new WPV_Embedded_Noitems_Decorator( $noitems_message ); $this->search_form_decorator = new WPV_SearchForm_Decorator( __( 'Search WordPress Archives', 'wpv-views' ) ); $this->table_decorator = new WPV_WPA_List_Table_Embedded(); $this->item_provider_decorator = new WPV_Embedded_WPA_Item_Provider_Decorator(); $this->pagination_decorator = new WPV_Embedded_Pagination_Decorator( $this->page_name ); }
function __construct() { parent::__construct(); $this->title_decorator = new WPV_Embedded_Title_Decorator( __( 'Views', 'wpv-views' ), __( 'Add new View', 'wpv-views' ) ); $noitems_message = sprintf( '<p>%s</p><p>%s</p>', __( 'Views load content from the database and display on the site.', 'wpv-views' ), __( 'Currently there are no items to display.', 'wpv-views' ) ); $this->noitems_decorator = new WPV_Embedded_Noitems_Decorator( $noitems_message ); $this->search_form_decorator = new WPV_SearchForm_Decorator( __( 'Search Views', 'wpv-views' ) ); $this->table_decorator = new WPV_Views_List_Table_Embedded(); $this->item_provider_decorator = new WPV_Embedded_View_Item_Provider_Decorator(); $this->pagination_decorator = new WPV_Embedded_Pagination_Decorator( $this->page_name ); }