source/Application/Model/Content.php
protected function assignContentData($fetchedContent, $onlyActive = false)
    {
        $filteredContent = $this->filterInactive($fetchedContent, $onlyActive);

        if (!is_null($filteredContent)) {
            $this->assign($filteredContent);
            return true;
        }

        return false;
    }
protected function assignContentData($fetchedContent, $onlyActive = false)
    {
        $filteredContent = $this->filterInactive($fetchedContent, $onlyActive);

        if (!is_null($filteredContent)) {
            $this->assign($filteredContent);
            return true;
        }

        return false;
    }
protected function assignContentData ( $ fetchedContent , $ onlyActive = false ) { $ filteredContent = $ this -> filterInactive ( $ fetchedContent , $ onlyActive ) ; if ( ! is_null ( $ filteredContent ) ) { $ this -> assign ( $ filteredContent ) ; return true ; } return false ; }
Assign content data, filter inactive if needed.

@param array $fetchedContent Item data to assign
@param bool  $onlyActive     Only assign if item is active

@return bool
Assign content data filter inactive if needed .