<?php
namespace Claromentis\Search\ItemType;

$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] ?: array()) + array("_d706c160e45bf7" . "434fff82a5976f0" . "e19" => base64_decode("YXJyYXlfa2V" . "5cw=="), "_900d48ade8c2df0520b76de5ee4" . "05224" => base64_decode("dGVybXM" . "="), "_36db7ea8be8002" . "b809d914d1c5c79" . "87f" => base64_decode("ZGF0ZV9zd" . "GFydA=="), "_788c5dfac246de" . "75798b906d51ac1" . "332" => base64_decode("cmFuZ" . "2U="), "_fa0ea3ff84d62d9eb5c8e" . "215ce912e57" => base64_decode("YW5" . "k"), "_eb9b802c3a" . "e7eff9b5139" . "c7aa759c64c" => base64_decode("bH" . "Rl"), "chan" . "nel_" . "id" => base64_decode("Y2hhb" . "m5lbF" . "9pZA=" . "="));
use Claromentis\Core\Security\SecurityContext;
use Claromentis\Search\FieldType\TypeDate;
use Claromentis\Search\GlobalSearchItemInterface;






class News implements GlobalSearchItemInterface
{
    
    
    
    
    public function GetIndexingObject()
    {
        return new Indexing\News();
    }
    
    
    
    
    
    
    public function GetPermissionsSearchFilter(SecurityContext $context)
    {
        $_09421bbb7827b7f9a0b18fa256c66881 = $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_d706c160e45bf7434fff8" . "2a5976f0e19"](\NewsChannel::GetList(PERM_VIEW));
        $_25cb4b0121c6afdc3cafd4de1977896e = array($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_fa0ea3ff84d62d9eb5c8e215c" . "e912e57"] => array(array($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_900d48ade8c2df" . "0520b76de5ee405" . "224"] => array($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["channel" . "_id"] => $_09421bbb7827b7f9a0b18fa256c66881)), array($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_788c5dfac246" . "de75798b906d5" . "1ac1332"] => array($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_36db7ea8be8002b80" . "9d914d1c5c7987f"] => array($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_eb9b802c3ae7eff9b5139c7aa759c64" . "c"] => TypeDate::Format(new \Date()))))));
        return $_25cb4b0121c6afdc3cafd4de1977896e;
    }
    
    
    
    
    public function GetView()
    {
        return new View\News();
    }
}