<?php
/**
* This is just example that you can't actually try, but
* it's purpose is just to see how ContentParser_Abstract can
* be used.
*/
$comments = array(
0 => array('author_name'=>'Peter', 'author_email' => 'hide@address.com', 'text' => 'Some text with smileys. :) :D'),
1 => array('author_name'=>'Mike', 'author_email' => 'hide@address.com', 'text' => 'Some text with smileys. :P :lol:'),
2 => array('author_name'=>'John', 'author_email' => 'hide@address.com', 'text' => 'Some text.'),
);
//This will parse only array elementa with index 'text'.
$coments = Model_ContentParser_Smileys::parse($comments, array('text'));
?>