Resolves static authors linked to this post.

@return ArrayList
348438
protected function getStaticCredits()
    {
        $items = ArrayList::create();

        $authors = array_filter(preg_split('/\s*,\s*/', $this->AuthorNames));

        foreach ($authors as $author) {
            $item = ArrayData::create([
                'Name' => $author,
            ]);

            $items->push($item);
        }

        return $items;
    }
20551
public function fetchPairsByResourceName(): array
	{
		$result = [];
		$rows = $this->findByResource();
		foreach ($rows as $row) {
			$result[$row->id] = $row->resource . ($this->translator ? ' - ( ' . $this->translator->translate($row->name) . ' )' : '');
		}
		return $result;
	}
1073028
public function toArray()
    {
        return [
            'title'         => $this->title,
            'description'   => $this->description,
            'content'       => $this->content,
            'authors'       => array_map(function ($author) {
                                            return $author->toArray();
                                        }, isset($this->authors) ? $this->authors : []),
            'date'          => $this->date,
            'permalink'     => $this->permalink,
        ];
    }
1333355
public function getPublishedPosts()
    {
        return PostSearch::find()
            ->joinWith('category')
            ->where(['publish_status' => Post::STATUS_PUBLISHED, 'blog_category.id' => $this->id])
            ->all();
    }
699733
public static function values()
    {
        $values = [];
        foreach (static::toList() as $key => $value) {
            $values[$key] = new static($value);
        }

        return $values;
    }
522387
def authors(self):
        '''
            
        '''
        qs = self._valid_submissions().values_list('authors',flat=True).distinct()
        return qs
807476
public function getValue()
    {
        $val = $this->base['value'];

        if (is_array($val)) {
            if (isset($val['ID'])) {
                return $this->authorFactory->create($val['ID']);
            } else {
                $authors = array();

                foreach ($val as $a) {
                    $authors[] = $this->authorFactory->create($a['ID']);
                }

                return $authors;
            }
        } else {
            if (isset($this->base['multiple']) && $this->base['multiple']) {
                return array();
            } else {
                return null;
            }
        }
    }
929979
public function resolve(): array
    {
        $file = sprintf($this->template, $this->typeResolver->resolve());

        if (!file_exists($file)) {
            $file = sprintf($this->template, 'default');
        }

        return json_decode(file_get_contents($file), true);
    }
139986
public function getRecommLists()
    {
        if ($this->_aUserRecommList === null) {
            $oUser = $this->getUser();
            if ($oUser) {
                $this->_aUserRecommList = $oUser->getUserRecommLists();
            }
        }

        return $this->_aUserRecommList;
    }
1212937
public static function getWriters()
  {
    if (is_null(self::$_writers)) {
      $writers = Config::getInstance("JooS_Log")->writers;
      /* @var $writers JooS_Config */
      if (!is_null($writers)) {
        foreach ($writers->valueOf() as $name) {
          $name = ucfirst(strtolower($name));
          $className = Loader::getClassName(__NAMESPACE__ . "\\", $name);
          if (Loader::loadClass($className)) {
            $writer = new $className();
            if ($writer instanceof Log_Interface) {
              self::addWriter($writer);
            }
          }
        }
      } else {
        self::$_writers = array();
      }
    }
    return self::$_writers;
  }
1015716
public function Entries()
    {
        $output = new ArrayList();

        if (isset($this->entries)) {
            foreach ($this->entries as $entry) {
                $output->push(
                    RSSFeed_Entry::create($entry, $this->titleField, $this->descriptionField, $this->authorField)
                );
            }
        }
        return $output;
    }
447508
public function author()
    {
        $model = config('forum.integration.user_model');
        if (method_exists($model, 'withTrashed')) {
            return $this->belongsTo($model, 'author_id')->withTrashed();
        }

        return $this->belongsTo($model, 'author_id');
    }
162017
public static function values()
    {
        $values = array();
        foreach (static::toArray() as $key => $value) {
            $values[$key] = new static($value);
        }
        return $values;
    }
876514
public function getReplacements() {
		// Get member who began this request
		$author = $this->Author();
		$environment = $this->Environment();
		return array(
			'<abortlink>' => Director::absoluteURL($this->Environment()->Link()),
			'<pipelinelink>' => Director::absoluteURL($this->Link()),
			'<requester>' => $author->Title,
			'<requester-email>' => $author->Email,
			'<environment>' => $environment->Name,
			'<project>' => $environment->Project()->Name,
			'<commitsha>' => $this->SHA
		);
	}
604907
public function all()
	{
		$result = array();

		$data = $this->data();
		if ( ! is_array($data))
			$data = array($data);

		foreach ($data as $entry) {
			$result[] = $this->resolveActionFromStdClass($entry);
		}

		return $result;
	}
17838
public function getStaticMethods(): array
    {
        if (null !== $this->staticMethods) {
            return $this->staticMethods;
        }
        $this->staticMethods = $this->reflectionClass->getMethods(
            \ReflectionMethod::IS_STATIC
        );

        return $this->staticMethods;
    }
636032
public function resolveGenericTypes() : array
    {
        if (!$this->isCollection()) {
            throw InvalidArgumentException::create("Can't resolve collection type on non collection");
        }

        preg_match(self::COLLECTION_TYPE_REGEX, $this->type, $match);

        return [TypeDescriptor::create(trim($match[1]))];
    }