$maxLength) throw new SimpleException('Source must have at most ' . $maxLength . ' characters'); return $source; } public static function getTableName() { return 'post'; } public static function getQueryBuilder() { return 'Model_Post_QueryBuilder'; } public function isTaggedWith($tagName) { $tagName = trim(strtolower($tagName)); foreach ($this->sharedTag as $tag) if (trim(strtolower($tag->name)) == $tagName) return true; return false; } }