function Pagination::parseChunk in Pagination (Node) 6
Same name and namespace in other branches
- 7 includes/Pagination.inc \Pagination::parseChunk()
@desc Handle words per page chunking
Parameters
string text to parse: @param int "maximum" length @return string text chunk @private
1 call to Pagination::parseChunk()
- Pagination::parseText in ./
pagination.module - @desc Handle pagination depending on pagination style
File
- ./
pagination.module, line 808 - pagination.module @desc Allow for arbitrary nodes to be paginated. administrators can set which nodes they wish to paginate, and the length of content required to split a node into pages. Alternatively, content creators can set manual break points…
Class
- Pagination
- @desc Handles all the pagination logic
Code
function parseChunk($text, $size) {
return node_teaser($text, null, $size);
}