Changeset View
Changeset View
Standalone View
Standalone View
src/applications/doorkeeper/remarkup/DoorkeeperAsanaRemarkupRule.php
Show All 10 Lines | final class DoorkeeperAsanaRemarkupRule | ||||
} | } | ||||
public function markupAsanaLink($matches) { | public function markupAsanaLink($matches) { | ||||
return $this->addDoorkeeperTag( | return $this->addDoorkeeperTag( | ||||
array( | array( | ||||
'href' => $matches[0], | 'href' => $matches[0], | ||||
'tag' => array( | 'tag' => array( | ||||
'ref' => array( | 'ref' => array( | ||||
DoorkeeperBridgeAsana::APPTYPE_ASANA, | DoorkeeperAsanaBridge::APPTYPE_ASANA, | ||||
DoorkeeperBridgeAsana::APPDOMAIN_ASANA, | DoorkeeperAsanaBridge::APPDOMAIN_ASANA, | ||||
DoorkeeperBridgeAsana::OBJTYPE_TASK, | DoorkeeperAsanaBridge::OBJTYPE_TASK, | ||||
$matches[2], | $matches[2], | ||||
), | ), | ||||
'extra' => array( | 'extra' => array( | ||||
'asana.context' => $matches[1], | 'asana.context' => $matches[1], | ||||
), | ), | ||||
), | ), | ||||
)); | )); | ||||
} | } | ||||
} | } |