<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } $plugin_info = array('pi_name' => 'EE Hive Hacksaw', 'pi_version' => '1.07', 'pi_author' => 'EE Hive - Brett DeWoody', 'pi_author_url' => 'http://www.ee-hive.com/add-ons/hacksaw', 'pi_description' => 'Allows you to create excerpts of your entries by removing HTML tags and limited the excerpt by character count, word count or a specific marker you insert into your content.', 'pi_usage' => Eehive_hacksaw::usage()); /** * Buzzsaw Class * * @package ExpressionEngine * @category Plugin * @author Brett DeWoody - ee hive * @copyright Copyright (c) 2010, Brett DeWoody * @link http://www.ee-hive.com/add-ons/hacksaw */ class Eehive_hacksaw { var $return_data = ""; // -------------------------------------------------------------------- /** * Hacksaw * * This function strips HTML and cuts the content off at a specific character count, word or cutoff marker * * @access public * @return string */ function Eehive_hacksaw() { $this->EE =& get_instance(); $tag_content = $this->EE->TMPL->tagdata;
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $plugin_info = array( 'pi_name' => 'EE Hive Hacksaw', 'pi_version' => '1.0', 'pi_author' => 'EE Hive - Brett DeWoody', 'pi_author_url' => 'http://www.ee-hive.com/hacksaw', 'pi_description' => 'Allows you to create excerpts of your entries by removing HTML tags and limited the excerpt by character count, word count or a specific marker you insert into your content.', 'pi_usage' => Eehive_hacksaw::usage() ); /** * Buzzsaw Class * * @package ExpressionEngine * @category Plugin * @author Brett DeWoody - ee hive * @copyright Copyright (c) 2010, Brett DeWoody * @link http://www.ee-hive.com/hacksaw */ class Eehive_hacksaw { var $return_data = ""; // -------------------------------------------------------------------- /**