Skip to content

Instantly share code, notes, and snippets.

View jibran's full-sized avatar
👨‍💻
Coding

Jibran Ijaz jibran

👨‍💻
Coding
View GitHub Profile
<?php
$link = new Link();
$link->text = 'foo';
$link->path = 'bar';
$link->attributes = new Attribute();
$link->language = LANGUAGE_NONE;
$link->html = TRUE;
$link->query = array('foo' => 'bar');
$link->fragment => 'foo-bar';
$link->absolute' => FALSE;