Skip to content

Source::getName

James Cobban edited this page Feb 16, 2020 · 1 revision

$source->getName($options)

Up: class Source

This method returns the descriptive name of the Source. This exists to extend Record::getName.

The parameter exists only for compatibility with the base implementation.

The return value is a string containing the contents of the "srcname" field.

For example:

    $source           = new Source(array('idsr' => 504));
    print $source->getName() . "\n";

Next: $source->get($field)

Clone this wiki locally