fix
This commit is contained in:
@@ -1,15 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
use Wt\Core\Admin\TableAdminPage;
|
|
||||||
|
|
||||||
|
|
||||||
require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_admin_before.php');
|
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');
|
require($_SERVER['DOCUMENT_ROOT']. '/bitrix/modules/main/include/prolog_admin_after.php');
|
||||||
|
|
||||||
$adminPage = new \Wt\Core\Admin\SiteSettingsAdminPage('bx.nullable', 'main.settings');
|
$adminPage = new \Wt\Core\Admin\SiteSettingsAdminPage('bx.nullable', 'main.settings');
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ class NullableCollection extends AEntityCollection
|
|||||||
/**
|
/**
|
||||||
* @param $xmlId
|
* @param $xmlId
|
||||||
* @return NullableEntity
|
* @return NullableEntity
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public function &getByXmlId($xmlId)
|
public function &getByXmlId($xmlId)
|
||||||
{
|
{
|
||||||
@@ -59,6 +60,14 @@ class NullableCollection extends AEntityCollection
|
|||||||
return parent::pop(); // TODO: Change the autogenerated stub
|
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[]
|
* @return NullableEntity[]
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -3,10 +3,19 @@
|
|||||||
namespace Bx\Nullable\Entity;
|
namespace Bx\Nullable\Entity;
|
||||||
|
|
||||||
use Bx\Nullable\IFields\NullableFields;
|
use Bx\Nullable\IFields\NullableFields;
|
||||||
|
use Bx\Nullable\Factory\NullableFactory;
|
||||||
use Wt\Core\Entity\AEntity;
|
use Wt\Core\Entity\AEntity;
|
||||||
|
|
||||||
class NullableEntity extends AEntity
|
class NullableEntity extends AEntity
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @return NullableFactory
|
||||||
|
*/
|
||||||
|
public function getFactory()
|
||||||
|
{
|
||||||
|
return parent::getFactory(); // TODO: Change the autogenerated stub
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return NullableFields
|
* @return NullableFields
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user