Galleries.php 485 Bytes
<?php

namespace ACA\MLA\Column;

use AC\Column;
use ACA\MLA\Export;
use ACA\MLA\Service\ColumnGroup;
use ACP;
use MLACore;

class Galleries extends Column implements ACP\Export\Exportable {

	public function __construct() {
		$this->set_original( true )
		     ->set_type( 'galleries' )
		     ->set_group( ColumnGroup::NAME );
	}

	public function export() {
		if ( ! MLACore::$process_gallery_in ) {
			return false;
		}

		return new Export\Model\MlaGalleryIn( 'galleries' );
	}

}