code/WTLink.php
public function getDO()
    {
        if (!empty($this->dataObject)) {
            list($className, $ID) = explode('-', $this->dataObject);

            return DataList::create($className)->byID($ID);
        }

        return null;
    }
public function getDO()
    {
        if (!empty($this->dataObject)) {
            list($className, $ID) = explode('-', $this->dataObject);

            return DataList::create($className)->byID($ID);
        }

        return null;
    }
public function getDO ( ) { if ( ! empty ( $ this -> dataObject ) ) { list ( $ className , $ ID ) = explode ( '-' , $ this -> dataObject ) ; return DataList :: create ( $ className ) -> byID ( $ ID ) ; } return null ; }
Get the DataObject instance

@return DataObject|null
Get the DataObject instance