DNRoot::CreateEnvironmentList PHP Méthode

CreateEnvironmentList() public méthode

Returns a list of attempted environment creations.
public CreateEnvironmentList ( ) : PaginatedList
Résultat PaginatedList
    public function CreateEnvironmentList()
    {
        $project = $this->getCurrentProject();
        if ($project) {
            $dataList = $project->CreateEnvironments();
        } else {
            $dataList = new ArrayList();
        }
        $this->extend('updateCreateEnvironmentList', $dataList);
        return new PaginatedList($dataList->sort('Created DESC'), $this->request);
    }