DNRoot::CreateEnvironmentList PHP 메소드

CreateEnvironmentList() 공개 메소드

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