DNRoot::CreateEnvironmentList PHP Method

CreateEnvironmentList() public method

Returns a list of attempted environment creations.
public CreateEnvironmentList ( ) : PaginatedList
return 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);
    }