This commit is contained in:
2025-04-01 06:54:37 +03:00
parent 2b6ebbf17d
commit 4c2e56dd4c
3 changed files with 18 additions and 9 deletions
-9
View File
@@ -1,15 +1,6 @@
<?php
use Wt\Core\Admin\TableAdminPage;
require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_admin_before.php');
CJSCore::Init('jquery');
CAjax::Init();
require($_SERVER['DOCUMENT_ROOT']. '/bitrix/modules/main/include/prolog_admin_after.php');
$adminPage = new \Wt\Core\Admin\SiteSettingsAdminPage('bx.nullable', 'main.settings');
+9
View File
@@ -11,6 +11,7 @@ class NullableCollection extends AEntityCollection
/**
* @param $xmlId
* @return NullableEntity
* @deprecated
*/
public function &getByXmlId($xmlId)
{
@@ -59,6 +60,14 @@ class NullableCollection extends AEntityCollection
return parent::pop(); // TODO: Change the autogenerated stub
}
/**
* @return NullableCollection|NullableEntity[]
*/
public function filter($callback = null)
{
return parent::filter($callback); // TODO: Change the autogenerated stub
}
/**
* @return NullableEntity[]
*/
+9
View File
@@ -3,10 +3,19 @@
namespace Bx\Nullable\Entity;
use Bx\Nullable\IFields\NullableFields;
use Bx\Nullable\Factory\NullableFactory;
use Wt\Core\Entity\AEntity;
class NullableEntity extends AEntity
{
/**
* @return NullableFactory
*/
public function getFactory()
{
return parent::getFactory(); // TODO: Change the autogenerated stub
}
/**
* @return NullableFields
*/