403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/main/classes/general/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/main/classes/general/table_schema.php
<?
IncludeModuleLangFile(__FILE__);
class CTableSchema
{
	public function __construct()
	{
	}

	public static function OnGetTableSchema()
	{
		return array(
			"main" => array(
				'b_file' => array(
					'~actions' => [
						'b_file_delete' => [
							'title' => 'CFile::Delete',
							//'confirm' => 'Are you sure to call CFile::Delete?',
							'callback' => function ($fileId)
							{
								$result = new \Bitrix\Main\Result();
								CFile::Delete($fileId);
								//$result->addError(new \Bitrix\Main\Error('test'));
								return $result;
							}
						],
					],
				),
				"b_rating_voting" => array(
					"ID" => array(
						"b_rating_vote" => "RATING_VOTING_ID",
						"b_rating_voting_prepare" => "RATING_VOTING_ID",
					),
					//"ENTITY_TYPE_ID=^FORUM_POST\$" => array(
					//	"b_forum_message" => "ID",
					//),
				),
				"b_rating" => array(
					"ID" => array(
						"b_rating_user" => "RATING_ID",
						"b_rating_subordinate" => "RATING_ID",
						"b_rating_results" => "RATING_ID",
						"b_rating_component_results" => "RATING_ID",
						"b_rating_component" => "RATING_ID",
					),
					),
				"b_rating_rule" => array(
					"ID" => array(
						"b_rating_rule_vetting" => "RULE_ID",
					),

				),
				"b_user" => array(
					"ID" => array(
						"b_rating_vote" => "USER_ID",
						"b_rating_voting" => "OWNER_ID",
						"b_rating_vote^" => "OWNER_ID",
						"b_rating_user" => "ENTITY_ID",
						"b_rating_subordinate" => "ENTITY_ID",
						
					)
				),
				"b_group" => array(
					"ID" => array(
						"b_rating_vote_group" => "GROUP_ID",
					)
				),
				"b_module" => array(
					"ID" => array(
						"b_admin_notify" => "MODULE_ID",
					)
				),
			),
		);
	}
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit