Exemplo n.º 1
0
 /**
  * Adds the following columns:
  *
  * - `photos`: An instance of {@link ManageBlock\PhotosColumn}.
  */
 protected function get_available_columns()
 {
     return array_merge(parent::get_available_columns(), array('photos' => __CLASS__ . '\\PhotosColumn'));
 }
Exemplo n.º 2
0
 /**
  * Adds the following columns:
  *
  * - `title`: An instance of {@link ManageBlock\TitleColumn}.
  * - `url`: An instance of {@link ManageBlock\URLColumn}.
  * - `is_navigation_excluded`: An instance of {@link ManageBlock\IsNavigationExcluded}.
  */
 protected function get_available_columns()
 {
     return array_merge(parent::get_available_columns(), array('title' => __CLASS__ . '\\TitleColumn', 'url' => __CLASS__ . '\\URLColumn', 'is_navigation_excluded' => __CLASS__ . '\\IsNavigationExcluded'));
 }
Exemplo n.º 3
0
 /**
  * Adds the following columns:
  *
  * - `date`: An instance of {@link \Icybee\ManageBlock\DateColumn}.
  * - `is_home_excluded`: An instance of {@link ManageBlock\IsHomeExcludedColumn}.
  *
  * @return array
  */
 protected function get_available_columns()
 {
     return array_merge(parent::get_available_columns(), ['date' => 'Icybee\\ManageBlock\\DateColumn', 'is_home_excluded' => __CLASS__ . '\\IsHomeExcludedColumn']);
 }
Exemplo n.º 4
0
 /**
  * Adds the following columns:
  *
  * - `modelid`
  */
 protected function get_available_columns()
 {
     return array_merge(parent::get_available_columns(), array('modelid' => __CLASS__ . '\\ModelIdColumn'));
 }