$session->loadLibrary( $library )
The loadLibrary() function is an alias for loadModel(). The section “loadModel” on page 101 provides additional information.
The loadLibrary() function loads a library, model, into sm_server memory.
$session->loadLibrary( $libname );