2017 © Pedro Peláez
 

library ext-view-helper-truncate

MvcCore Extension - View Helper - Truncate - truncate plain text or text with html tags to max. chars.

image

mvccore/ext-view-helper-truncate

MvcCore Extension - View Helper - Truncate - truncate plain text or text with html tags to max. chars.

  • Monday, June 4, 2018
  • by tomFlidr
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MvcCore - Extension - View - Helper - Truncate

Latest Stable Version License PHP Version, (*1)

Truncate plain text or text with html tags by given max. characters number and add three dots at the end., (*2)

Installation

composer require mvccore/ext-view-helper-truncate

Example

<b><?php echo $this->Truncate('Lorem ipsum dolor sit amet, consectetur adipiscing elit.', 27); ?></b>
<b>Lorem ipsum dolor sit amet...</b>

The Versions

04/06 2018

dev-master

9999999-dev

MvcCore Extension - View Helper - Truncate - truncate plain text or text with html tags to max. chars.

  Sources   Download

BSD-3-Clause

The Requires

 

plugin framework extension helper mvc text view plug-in viewhelper truncate ext mvccore cut text three dots dots