svn: /phd/trunk/phpdotnet/phd/Package/IDE/API/ Function.php

From: Date: Sun, 19 Jun 2011 17:37:59 +0000
Subject: svn: /phd/trunk/phpdotnet/phd/Package/IDE/API/ Function.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8284@lists.php.net to get a copy of this message
philip Sun, 19 Jun 2011 17:37:59 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312292 Log: Added hasChangelog() and hasSeeAlso() helper methods Changed paths: U phd/trunk/phpdotnet/phd/Package/IDE/API/Function.php Modified: phd/trunk/phpdotnet/phd/Package/IDE/API/Function.php =================================================================== --- phd/trunk/phpdotnet/phd/Package/IDE/API/Function.php 2011-06-19 17:28:08 UTC (rev 312291) +++ phd/trunk/phpdotnet/phd/Package/IDE/API/Function.php 2011-06-19 17:37:59 UTC (rev 312292) @@ -211,6 +211,26 @@ } /** + * Check if the function contains changelog entries. + * + * @return bool True if the function has changelog entries + */ + public function hasChangeLog() + { + return sizeof($this->changeLogEntries) > 0; + } + + /** + * Check if the function contains seealso entries. + * + * @return bool True if the function has seealso entries + */ + public function hasSeeAlso() + { + return sizeof($this->seeAlsoEntries) > 0; + } + + /** * Check if the function has parameters. * * @return bool True if the function has parameters

« previous php.doc.cvs (#8284) next »