<commit_before><?php
class Vpc_Advanced_YouTube_Component extends Vpc_Abstract_Composite_Component
{
    public static function getSettings()
    {
        $ret = array_merge(parent::getSettings(), array(
            'componentName' => trlVps('YouTube'),
            'componentIcon' => new Vps_Asset('film'),
            'ownModel'     => 'Vpc_Advanced_YouTube_Model'
        ));
        return $ret;
    }
}<commit_msg>fix youtube comp.: funktioniert auch als inherit content box und hat korrekte dependencies<commit_after><?php
class Vpc_Advanced_YouTube_Component extends Vpc_Abstract
{
    public static function getSettings()
    {
        $ret = array_merge(parent::getSettings(), array(
            'componentName' => trlVps('YouTube'),
            'componentIcon' => new Vps_Asset('film'),
            'ownModel'     => 'Vpc_Advanced_YouTube_Model'
        ));
        $ret['assets']['dep'][] = 'SwfObject';
        return $ret;
    }

    public function hasContent()
    {
        if ($this->getRow()->url) return true;
        return false;
    }
}
{'fraction_non_alphanumeric': 0.12275731822474033, 'fraction_numerical': 0.0, 'mean_word_length': 2.8267148014440435, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1345312', 'n_tokens_mistral': 312, 'n_tokens_neox': 306, 'n_words': 65}