* @license PHP License * @package wb * @subpackage Markup */ /** * Markup dereferer * * Find list of references stored in XML node. This class implements the dummy-default * function: getReferences() that simply returns an empty list. * * @version 0.2.0 * @package wb * @subpackage Markup */ class WBMarkup_Dereferencer extends WBStdClass { /** * Get References * * Scan for refering ids and return list of them. The default * implementation returns an empty list of ids. Actual dereferencer * are meant to do something more intelligent here. * * List is somewhat nested: ns -> tag -> ids. Example: * * $refs = array( * 'wb' => array( * 'url' => array( * 12, * 17, * 42 * ), * 'vfsfile' => array( * 1001 * ) * ) * ); * * @param array $node to be modified document node * @return array */ public function getReferences($node) { return array(); } }