/php/component/photobucket_external_repository_table/photobucket_external_repository_table_column_model.class.php
https://bitbucket.org/chamilo/chamilo-ext-repo-photobucket-dev/ · PHP · 44 lines · 23 code · 4 blank · 17 comment · 1 complexity · 8d17f1556c172a2f2e9a29de0b45ae34 MD5 · raw file
- <?php
- namespace common\extensions\external_repository_manager\implementation\photobucket;
-
- use common\extensions\external_repository_manager\DefaultExternalRepositoryObjectTableColumnModel;
- use common\libraries\StaticTableColumn;
-
- /**
- * $Id: repository_browser_table_column_model.class.php 204 2009-11-13 12:51:30Z kariboe $
- * @package repository.lib.repository_manager.component.browser
- */
- /**
- * Table column model for the repository browser table
- */
- class PhotobucketExternalRepositoryTableColumnModel extends DefaultExternalRepositoryObjectTableColumnModel
- {
- /**
- * The tables modification column
- */
- private static $modification_column;
-
- /**
- * Constructor
- */
- function __construct()
- {
- parent :: __construct();
- $this->set_default_order_column(1);
- $this->add_column(self :: get_modification_column());
- }
-
- /**
- * Gets the modification column
- * @return ContentObjectTableColumn
- */
- static function get_modification_column()
- {
- if (! isset(self :: $modification_column))
- {
- self :: $modification_column = new StaticTableColumn('');
- }
- return self :: $modification_column;
- }
- }
- ?>