<?php
class HomePage extends Page {
static $can_be_root = true;
...
...
...

static $db = array(
...
...
...
);

static $has_many = array(
'Slides' => 'SliderObject',
);

public function getCMSFields() {
$fields = parent::getCMSFields();
...
...
...
$fields->addFieldToTab('Root', new Tab('Slider', _t('Dict.SLIDER', 'Slider')), $this->DependentPagesCount() ? 'Dependent' : NULL);
$fields->addFieldToTab('Root.Slider', GridFieldBase::getGridField('Slides', _t('Dict.Slides', 'Slides'), $this->Slides()));
...
...
...
return $fields;
}
}

class HomePage_Controller extends Page_Controller {
...
...
...
public function getSlides() {
return $this->Slides();
}
...
...
...
}