* @license PHP License * @package wb * @subpackage Markup */ WBClass::load('WBMarkup_Dereferencer'); /** * Markup dereferer * * Find list of references stored in XML node * * @version 0.2.0 * @package wb * @subpackage Markup */ class WBMarkup_Dereferencer_Wb_Vfsfile extends WBMarkup_Dereferencer { /** * get references * * Scan for refering ids and return list of them. * * @param array $node to be modified document node * @return array */ public function getReferences($node) { $id = substr($node['attributes']['obscureid'], 2); $refs = array('wb' => array()); $refs['wb']['vfsfile'] = array($id); return $refs; } }