get other information

@return void
161537
private function _other()
    {
        $sname = '';
        foreach ($this->_lines as $line) {
            if ((trim($line) !== "") && (strpos($line, ':') === false)) {
                $sname = trim($line);
                if (preg_match('/^([^-]+)-/', $sname, $snamebuf)) {
                    $sname = ' ('.$snamebuf[1].')';
                } else {
                    $sname = '';
                }
            }
            $data = array();
            preg_match("/^(.+):\s*([^\-\+\d\s].+)$/", $line, $data);
            if ((count($data)>2) && ($data[1]!=="Adapter")) {
                $dev = new SensorDevice();
                $dev->setName($data[1].$sname);
                if (preg_match("/(.*\s*)ALARM\s*$/", $data[2], $aldata)) {
                    $dev->setEvent("Alarm");
                    if ((count($aldata)>1) && trim($aldata[1]!=="")) {
                        $dev->setValue(trim($aldata[1]));
                    } else {
                        $dev->setValue($data[2]);
                    }
                } else {
                    $dev->setValue($data[2]);
                }
                $this->mbinfo->setMbOther($dev);
            }
        }
    }
999464
public function get_data() {

		if ( empty( $this->data ) ) {
			$data = parent::get_data();
			if ( ! empty( $data[ $this->slug ] ) ) {
				$this->data = $data[ $this->slug ];
			}
		}

		return $this->data;
	}
631538
public function info()
    {
        return [
            'function' => $this->function,
            'location' => $this->location->info(),
            'arguments' => array_map(function ($v) {
                return $v->info();
            }, $this->arguments),
            'locals' => array_map(function ($v) {
                return $v->info();
            }, $this->locals)
        ];
    }
1310104
protected function getPages()
    {
        $pages = $this->site->getPages();
        $additionalPageIds = [];
        if (!empty($this->indexingConfiguration['additionalPageIds'])) {
            $additionalPageIds = GeneralUtility::intExplode(',', $this->indexingConfiguration['additionalPageIds']);
        }

        $pages = array_merge($pages, $additionalPageIds);
        sort($pages, SORT_NUMERIC);

        return $pages;
    }
491383
public function getValue()
    {
        return implode(
            ', ',
            array_filter(
                array_merge(
                    [$this->index, $this->follow],
                    $this->extra
                )
            )
        );
    }
1210380
public function getInfo() {
		$info = $this->createInfoset();
		$info->setName('Occurred errors');
		
		$this->handleIcon($info);
		$this->createTitle($info);
		
		if (! empty($this->errors)) {
			$info->setContentType(Infoset::TYPE_LIST)
			     ->enableBbCodes();
			     
			$this->createContent($info);
		}
		
		return $info;
	}
759050
public function getInformations()
    {
        $informations = [];

        foreach ($this->providers as $provider) {
            if (false === $provider->isApplicable()) {
                continue;
            }

            $informations[] = $provider->getInformation();
        }

        return $informations;
    }
350521
private function getAllInfo()
    {
        $data = [
            'id'        => $this->getId(),
            'cover'     => $this->getCover(),
            'title'     => $this->getTitle(),
            'title2'    => $this->getTitle2(),
            'video'     => $this->getVideo(),
            'synopsis'  => $this->getSynopsis(),
            'score'     => $this->getScore(),
            'voter'     => $this->getVoter(),
            'rank'      => $this->getRank(),
            'popularity'=> $this->getPopularity(),
            'members'   => $this->getMembers(),
            'favorite'  => $this->getFavorite(),
        ];

        $data = array_merge($data, $this->getOtherInfo());

        $data2 = [
            'related'        => $this->getRelated(),
            'character'      => $this->getCharacter(),
            'staff'          => $this->getStaff(),
            'song'           => $this->getSong(),
            'review'         => $this->getReview(),
            'recommendation' => $this->getRecommendation(),
        ];

        $data = array_merge($data, $data2);

        return $data;
    }
170942
public function getInfo() {
		$info  = $this->createInfoset();
		$files = $this->getIncludedFiles();
		
		$info->setIcon('script')
		     ->setName('Included files')
		     ->setTitle(count($files) . ' Files');
		
		$this->createContent($info);
		
		return $info;
	}
743039
protected function getAdditionalFields()
    {
        $additionalFields = [];

        foreach ($this->additionalFieldNames as $additionalFieldName) {
            $additionalFields[$additionalFieldName] = $this->getFieldValue($additionalFieldName);
        }

        return $additionalFields;
    }
886466
public function index()
    {
        //  Set method info
        $this->data['page']->title = 'Manage ' . ucfirst($this->data['postNamePlural']);

        // --------------------------------------------------------------------------

        $sTableAlias = $this->blog_post_model->getTableAlias();

        // --------------------------------------------------------------------------

        //  Get pagination and search/sort variables
        $iPage      = (int) $this->input->get('page') ? (int) $this->input->get('page') : 0;
        $iPerPage   = (int) $this->input->get('perPage') ? (int) $this->input->get('perPage') : 50;
        $sSortOn    = $this->input->get('sortOn') ? $this->input->get('sortOn') : $sTableAlias . '.published';
        $sSortOrder = $this->input->get('sortOrder') ? $this->input->get('sortOrder') : 'desc';
        $sKeywords  = $this->input->get('keywords') ? $this->input->get('keywords') : '';

        // --------------------------------------------------------------------------

        //  Define the sortable columns
        $aSortColumns = array(
            $sTableAlias . '.published' => 'Published Date',
            $sTableAlias . '.modified'  => 'Modified Date',
            $sTableAlias . '.title'     => 'Title'
        );

        // --------------------------------------------------------------------------

        //  Checkbox filters
        $aCbFilters   = array();
        $aCbFilters[] = Helper::searchFilterObject(
            $sTableAlias . '.is_published',
            'State',
            array(
                array('Published', true, true),
                array('Unpublished', false, true)
            )
        );

        //  Generate options
        $filterOpts = array();
        foreach ($this->data['postTypes'] as $sValue => $sLabel) {
            $filterOpts[] = array($sLabel, $sValue, true);
        }

        $aCbFilters[] = Helper::searchFilterObject(
            $sTableAlias . '.type',
            'Type',
            $filterOpts
        );

        // --------------------------------------------------------------------------

        //  Define the $aData variable for the queries
        $aData = array(
            'where' => array(
                array(
                    'column' => 'blog_id',
                    'value' => $this->blog->id
                )
            ),
            'sort' => array(
                array($sSortOn, $sSortOrder)
            ),
            'keywords' => $sKeywords,
            'cbFilters' => $aCbFilters
        );

        //  Get the items for the page
        $iTotalRows          = $this->blog_post_model->countAll($aData);
        $this->data['posts'] = $this->blog_post_model->getAll($iPage, $iPerPage, $aData);

        //  Set Search and Pagination objects for the view
        $this->data['search']     = Helper::searchObject(true, $aSortColumns, $sSortOn, $sSortOrder, $iPerPage, $sKeywords, $aCbFilters);
        $this->data['pagination'] = Helper::paginationObject($iPage, $iPerPage, $iTotalRows);

        //  Add a header button
        if (userHasPermission('admin:blog:post:' . $this->blog->id . ':create')) {

            Helper::addHeaderButton(
                'admin/blog/post/create/' . $this->blog->id,
                'New ' . ucfirst($this->data['postName'])
            );
        }

        // --------------------------------------------------------------------------

        Helper::loadView('index');
    }
940717
public function getResults()
    {
        return ! is_null($this->parent->{$this->parentKey})
                ? $this->get()
                : $this->related->newCollection();
    }
1097369
public function getResults()
    {
        return ! is_null($this->farParent->{$this->localKey})
                ? $this->get()
                : $this->related->newCollection();
    }
143055
public function getLinks()
    {
        if ($this->filterCallback === null) {
            $links = $this->links;
        } else {
            $links = array_filter($this->links, function (Link $linkObj) {
                /*@var $linkObj Link */
                return $linkObj->shouldNotVisit() === false;
            });
        }
        
        return $links;
    }
619344
public function index()
    {
        $this->getListingService()
            ->setOrder($this->getOrder())
            ->setPagination($this->getPagination())
            ->getFilters()->add($this->getSearchFilter());
        $this->set(
            [
                $this->getEntityNamePlural() => $this->getListingService()
                    ->getList(),
                'pagination' => $this->getListingService()->getPagination()
            ]
        );
    }
560841
public function getResults()
    {
        return ! is_null($this->getParentKey())
                ? $this->query->get()
                : $this->related->newCollection();
    }
1052757
public function additionalSolrValues() {

		if(($this->owner->CanViewType === 'Inherit') && $this->owner->ParentID) {

			// Recursively determine the site tree element permissions where required.

			return $this->owner->Parent()->additionalSolrValues();
		}
		else if($this->owner->CanViewType === 'OnlyTheseUsers') {

			// Return the listing of groups that have access.

			$groups = array();
			foreach($this->owner->ViewerGroups() as $group) {
				$groups[] = (string)$group->ID;
			}
			return array(
				$this->index => $groups
			);
		}
		else if($this->owner->CanViewType === 'LoggedInUsers') {

			// Return an appropriate flag for logged in access.

			return array(
				$this->index => array(
					'logged-in'
				)
			);
		}
		else {

			// Return an appropriate flag for general public access.

			return array(
				$this->index => array(
					'anyone'
				)
			);
		}
	}