Lines Matching refs:links
183 $links =& $database->gantt->links;
185 for ($i = 0; $i < count($links); $i++) {
186 if ($links[$i]->id == $link->id) {
187 $links[$i] = $link;
205 $links =& $database->gantt->links;
207 for ($i = 0; $i < count($links); $i++) {
208 if ($links[$i]->id == $id) {
209 unset($links[$i]);
210 $links = array_values($links);
227 $database->gantt->links[] = $link;
266 $links =& $database->gantt->links;
268 $deleteLinks = function ($taskId) use (&$links) {
270 foreach ($links as &$link) {
276 $links = array_values(array_filter($links));