%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/bitrix/modules/main/lib/mail/internal/
Upload File :
Create Path :
Current File : //home/bitrix/www/bitrix/modules/main/lib/mail/internal/eventattachment.php

<?php
/**
 * Bitrix Framework
 * @package bitrix
 * @subpackage main
 * @copyright 2001-2012 Bitrix
 */

namespace Bitrix\Main\Mail\Internal;

use Bitrix\Main\Entity;

class EventAttachmentTable extends Entity\DataManager
{

	/**
	 * @return string
	 */
	public static function getTableName()
	{
		return 'b_event_attachment';
	}

	/**
	 * @return array
	 */
	public static function getMap()
	{
		return array(
			'EVENT_ID' => array(
				'data_type' => 'integer',
				'primary' => true,
			),
			'FILE_ID' => array(
				'data_type' => 'integer',
			),
			'IS_FILE_COPIED' => array(
				'data_type' => 'boolean',
				'required' => true,
				'values' => array('N', 'Y'),
				'default_value' => 'Y'
			),
		);
	}

}

Zerion Mini Shell 1.0