PageRenderTime 15ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/php/component/photobucket_external_repository_gallery_table/photobucket_external_repository_gallery_table.class.php

https://bitbucket.org/chamilo/chamilo-ext-repo-photobucket-dev/
PHP | 29 lines | 21 code | 7 blank | 1 comment | 0 complexity | acf01af282cd4a6cfc2175fbd08d1f67 MD5 | raw file
 1<?php
 2namespace common\extensions\external_repository_manager\implementation\photobucket;
 3
 4use common\libraries\GalleryObjectTable;
 5
 6require_once dirname(__file__) . '/photobucket_external_repository_gallery_table_cell_renderer.class.php';
 7require_once dirname(__file__) . '/photobucket_external_repository_gallery_table_data_provider.class.php';
 8require_once dirname(__file__) . '/photobucket_external_repository_gallery_table_property_model.class.php';
 9
10class PhotobucketExternalRepositoryGalleryTable extends GalleryObjectTable
11{
12    const DEFAULT_NAME = 'photobucket_external_repository_gallery_table';
13
14    function __construct($browser, $parameters, $condition)
15    {
16        $data_provider = new PhotobucketExternalRepositoryGalleryTableDataProvider($browser, $condition);
17        $renderer = new PhotobucketExternalRepositoryGalleryTableCellRenderer($browser);
18        $property_model = new PhotobucketExternalRepositoryGalleryTablePropertyModel();
19        
20        parent :: __construct($data_provider, self :: DEFAULT_NAME, $renderer, $property_model);
21        
22        $this->set_additional_parameters($parameters);
23        $this->set_default_row_count(3);
24        $this->set_default_column_count(3);
25    
26     //$this->set_order_directions_enabled($browser->support_sorting_direction());
27    }
28}
29?>