<commit_before><?php
/**
 * Simple module for extending the Mage_Catalog display of
 * category landing pages to offer displaying subcategories
 * in a thumbnail grid instead of a sidebar.
 *
 * @category    Ash
 * @package     Ash_CategoryLandingPage
 * @copyright   Copyright (c) 2015 August Ash, Inc. (http://www.augustash.com)
 * @author      <NAME> (August Ash)
 */
class Ash_CategoryLandingPage_Model_Category_Attribute_Source_Mode extends Mage_Catalog_Model_Category_Attribute_Source_Mode
{
    public function getAllOptions()
    {
        $options = parent::getAllOptions();

        $options[] = array(
            'value' => Ash_CategoryLandingPage_Block_Catalog_Category_View::DM_SUBCATEGORIES,
            'label' => Mage::helper('catalog')->__('Subcategories only'),
        );

        return $options;
    }
}<commit_msg>Missed a class reference for a constant<commit_after><?php
/**
 * Simple module for extending the Mage_Catalog display of
 * category landing pages to offer displaying subcategories
 * in a thumbnail grid instead of a sidebar.
 *
 * @category    Ash
 * @package     Ash_CategoryLandingPage
 * @copyright   Copyright (c) 2015 August Ash, Inc. (http://www.augustash.com)
 * @author      <NAME> (August Ash)
 */
class Ash_CategoryLandingPage_Model_Category_Attribute_Source_Mode extends Mage_Catalog_Model_Category_Attribute_Source_Mode
{
    public function getAllOptions()
    {
        $options = parent::getAllOptions();

        $options[] = array(
            'value' => Ash_CategoryLandingPage_Helper_Data::DM_SUBCATEGORIES,
            'label' => Mage::helper('catalog')->__('Subcategories only'),
        );

        return $options;
    }
}
{'fraction_non_alphanumeric': 0.0997624703087886, 'fraction_numerical': 0.004750593824228029, 'mean_word_length': 3.6418732782369148, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7593595', 'n_tokens_mistral': 488, 'n_tokens_neox': 469, 'n_words': 122}