/** * @return array */ public function getChildren() { if (self::DEFAULT_CLEAN_CHILDREN) { foreach (parent::getData('children') as $child) { $this->cleanChildData($this, $child); } } return parent::getData('children'); }