LinkTitles
This is a demo paragraph. It demonstrates the automated fetching of link titles in the Yii 2 PHP Framework. ... Who can forget the surrender and truth of an individual if he has the great dimension of the self? Spirits, selfs, and pictorial sinners will always protect them. A serious form of art is the truth. ... Here is a link to a popular Hollywood director and this links to his second movie. This link redirects to Blade Runner. Here are some actors: Robert De Niro, Kim Basinger, and Diana Keaton. Kim Basinger has a predefined link title. This links to a non-existent movie. Here is a link to a non-existing category. And, finally, here is an external link to a Wikipedia-page. ... The surrender is a closest source. You have to disturb, and grasp fear by your balancing. The outer ascension of career is to follow with love. One must acquire the explosion of the mineral in order to hurt the self of alchemistic freedom. ...
<?php use sjaakp\linktitles\LinkTitles; <?php LinkTitles::begin(); ?> <p>This is a demo paragraph. ... ... Here is a <a href="/director/6">link</a> to a popular Hollywood director </p> <?php LinkTitles::end(); ?>
<?php use sjaakp\linktitles\LinkTitleAction; use yii\web\Controller; use app\models\Actor; class ActorController extends Controller { ... public function actions() { return [ 'link-title' => [ 'class' => LinkTitleAction::class, 'model' => Actor::class, 'attribute' => 'name' ] ]; } ... } ?>