File "Shape.php"

Full path: C:/Inetpub/vhosts/drshti.com/httpdocs/wp-content/plugins/depicter/app/src/Document/Models/Elements/Shape.php
File size: 403 B (403 B bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php
namespace Depicter\Document\Models\Elements;

use Depicter\Document\Models;
use Depicter\Html\Html;

class Shape extends Models\Element
{

	public function render() {
		$shapeContent = '';

		$args = $this->getDefaultAttributes();
		$div = Html::div( $args, $shapeContent );

		if ( false !== $a = $this->getLinkTag() ) {
			return $a->nest( "\n" . $div ) . "\n" ;
		}

		return $div . "\n";
	}
}