classes/phing/tasks/ext/inifile/IniFileConfig.php
public function get($section, $key)
    {
        foreach ($this->lines as $line) {
            if ($line['type'] != 'entry') {
                continue;
            }
            if ($line['section'] != $section) {
                continue;
            }
            if ($line['key'] != $key) {
                continue;
            }
            return $line['value'];
        }

        throw new RuntimeException('Missing Section or Key');
    }
public function get($section, $key)
    {
        foreach ($this->lines as $line) {
            if ($line['type'] != 'entry') {
                continue;
            }
            if ($line['section'] != $section) {
                continue;
            }
            if ($line['key'] != $key) {
                continue;
            }
            return $line['value'];
        }

        throw new RuntimeException('Missing Section or Key');
    }
public function get ( $ section , $ key ) { foreach ( $ this -> lines as $ line ) { if ( $ line [ 'type' ] != 'entry' ) { continue ; } if ( $ line [ 'section' ] != $ section ) { continue ; } if ( $ line [ 'key' ] != $ key ) { continue ; } return $ line [ 'value' ] ; } throw new RuntimeException ( 'Missing Section or Key' ) ; }
Get value of given key in specified section

@param string $section Section
@param string $key     Key

@return void
Get value of given key in specified section