<commit_before><?php
/**
 * @package KVD.agavi
 * @author <NAME> <<EMAIL>>
 * @version $Id$
 */

/**
 * @package KVD.agavi
 * @author <NAME> <<EMAIL>>
 * @since 31 jul 2006
 * @deprecated  Mag waarschijnlijk gewoon weg, denk niet dat het nog ergens gebruikt wordt.
 */
class KVDag_KeuzelijstHelper
{
    private $domainObjects;
    
    public function __construct ( $mapper, $finderName = 'findAll', $orderField = null )
    {
        try {
            $this->domainObjects = $mapper->$finderName( $orderField )
        } catch ( Exception $e ) {
            $this->domainObjects = array( );
        }
    }

    public function getAsOptionList
    {
       $buffer = '';
       foreach ( $this->domainObjects as $domainObject ) {
           $buffer .= "<option value=\"{$domainObject->getId()}\">{$domainObject->getOmschrijving()}</option>\n";
       }
       return $buffer;
    }
}
?>
<commit_msg>Corrigeren syntaxfouten.<commit_after><?php
/**
 * @package KVD.agavi
 * @author <NAME> <<EMAIL>>
 * @version $Id$
 */

/**
 * @package KVD.agavi
 * @author <NAME> <<EMAIL>>
 * @since 31 jul 2006
 * @deprecated  Mag waarschijnlijk gewoon weg, denk niet dat het nog ergens gebruikt wordt.
 */
class KVDag_KeuzelijstHelper
{
    private $domainObjects;
    
    public function __construct ( $mapper, $finderName = 'findAll', $orderField = null )
    {
        try {
            $this->domainObjects = $mapper->$finderName( $orderField );
        } catch ( Exception $e ) {
            $this->domainObjects = array( );
        }
    }
    
    /**
     * @return string
     */
    public function getAsOptionList()
    {
       $buffer = '';
       foreach ( $this->domainObjects as $domainObject ) {
           $buffer .= "<option value=\"{$domainObject->getId()}\">{$domainObject->getOmschrijving()}</option>\n";
       }
       return $buffer;
    }
}
?>

{'fraction_non_alphanumeric': 0.15554359526372444, 'fraction_numerical': 0.006458557588805167, 'mean_word_length': 2.4812734082397006, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 33, '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': '3861990', 'n_tokens_mistral': 606, 'n_tokens_neox': 600, 'n_words': 131}