Gets the content location
@return Enums\ContentLocation
961305
protected function Location()
    {
        if ($this->Container()->Exists()) {
            return Enums\ContentLocation::Container();
        }
        else if ($this->Area()->Exists()) {
            if ($this->Page()->Exists()) {
                return Enums\ContentLocation::Page();
            }
            return Enums\ContentLocation::Layout();
        }
        return null;
    }
806154
public function getLocation()
        {
            return isset($this->_data[self::PROFILE][self::LOCATION]) ? $this->_data[self::PROFILE][self::LOCATION] : null;
        }
582306
public function getContent()
    {
        if (is_null($this->content)) {
            $this->content = $this->input;
        }
        return $this->content;
    }
831034
public function getActContentLoadId()
    {
        $sTplName = $this->getConfig()->getRequestParameter('oxloadid');
        // #M1176: Logout from CMS page
        if (!$sTplName && $this->getConfig()->getTopActiveView()) {
            $sTplName = $this->getConfig()->getTopActiveView()->getViewConfig()->getViewConfigParam('oxloadid');
        }

        return $sTplName ? basename($sTplName) : null;
    }
1160649
public function getContentDisposition() {
        if (!isset($this->metadata[OSSHeaders::CONTENT_DISPOSITION])) {
            return null;
        }
        return $this->metadata[OSSHeaders::CONTENT_DISPOSITION];
    }
380065
public function content(): Context
    {
        if (!$this->content)
        {
            $this->setContent(new Context(
                new Helper(),
                new Extensions()
            ));
        }

        return $this->content;
    }
141482
public function getLocation()
    {
        $location = $this->executor->execute(
            DriverCommand::GET_ELEMENT_LOCATION,
            [':id' => $this->id]
        );

        return new WebDriverPoint($location['x'], $location['y']);
    }
666645
public function getLocation()
    {
        if (null === $this->location) {
            $array=[];
            if (null != $this->locations) {
                foreach ($this->locations as $location) { /* @var \Core\Entity\LocationInterface $location */
                    $array[]=(string) $location;
                }
                return implode(', ', $array);
            }
        }
        return $this->location;
    }
1086920
public function getLocations()
    {
        static $_cwd = null;
        static $_paths = array(
            'public',
            'web',
        );

        if ( $_cwd === null )
        {
            $_cwd = getcwd();

            foreach ( $_paths as $_path )
            {
                if ( is_dir( $_cwd . '/' . $_path ) )
                {
                    $this->locations['app'] = $_path . '/{$name}/';
                    break;
                }
            }
        }

        return parent::getLocations();
    }
57950
public function getContentEncoding() {
        if (!isset($this->metadata[OSSHeaders::CONTENT_ENCODING])) {
            return null;
        }
        return $this->metadata[OSSHeaders::CONTENT_ENCODING];
    }
243331
public function getContentType() {
		if (!isset($this->contentType)) {
			$numOfMatches = preg_match('/^([^;]*)/', $this->getHeader('Content-Type'), $matches);
			if ($numOfMatches) {
				$this->contentType = trim($matches[1]);
			} else {
				$this->contentType = '';
			}
		}
		return $this->contentType;
	}
92340
public function getContentManager()
    {
        if ($this->contentManager != null) {
            return $this->contentManager;
        }

        $this->contentManager = new ContentManager($this->options, $this->getContentService(), $this->getContentTypeService(), $this->getLocationService(), $this->getLocationManager());

        if ($this->logger) {
            $this->contentManager->setLogger($this->logger);
        }

        return $this->contentManager;
    }
44898
private static String getContentLocation(final Object content) {
        final File file = (File) ReflectionUtils.invokeMethod(content, "getFile", false);
        return file != null ? file.toURI().toString() : null;
    }
699034
protected function getContentInfo()
    {
        if ($this->object === null) {
            if ($this->contentInfoProxy === null) {
                $this->contentInfoProxy = new ContentContentInfoProxy($this, $this->id);
            }

            return $this->contentInfoProxy;
        } elseif ($this->contentInfoProxy !== null) {
            // Remove ref when we no longer need the proxy
            $this->contentInfoProxy = null;
        }

        return $this->object->getVersionInfo()->getContentInfo();
    }
168372
public function contentObject()
    {
        $contentID = $this->attribute( 'content_id' );
        //TODO:try to get the language id
        $languageID = $this->attribute( 'language_id' );
        return eZContentObject::fetch( $contentID );
    }
19871
def content_location(self) -> Optional[UnstructuredHeader]:
        """"""
        try:
            return cast(UnstructuredHeader, self[b'content-location'][0])
        except (KeyError, IndexError):
            return None
373514
private function getContent()
    {
        if (null === $this->contentCache) {
            $item = $this->getCachedContent();

            if (null === $this->contentCache) {
                $this->contentCache = $this->saveContentInCache($item, $this->readFile());
            }
        }

        return $this->contentCache;
    }