SwatDB/SwatDBClassMap.php
public function addMapping($package_class_name, $class_name)
    {
        $this->mappings[$package_class_name] = $class_name;
        self::add($package_class_name, $class_name);
    }
public function addMapping($package_class_name, $class_name)
    {
        $this->mappings[$package_class_name] = $class_name;
        self::add($package_class_name, $class_name);
    }
public function addMapping ( $ package_class_name , $ class_name ) { $ this -> mappings [ $ package_class_name ] = $ class_name ; self :: add ( $ package_class_name , $ class_name ) ; }
Adds a class-mapping to the class-mapping object

@param string $package_class_name the name of the package class to
override.
@param string $class_name the name of the site-specific class.

@deprecated Use the static method {@link SwatDBClassMap::add()}.
Adds a class - mapping to the class - mapping object