From: <var...@us...> - 2015-02-27 16:12:28
|
Revision: 9570 http://sourceforge.net/p/phpwiki/code/9570 Author: vargenau Date: 2015-02-27 16:12:26 +0000 (Fri, 27 Feb 2015) Log Message: ----------- PHP Doc Modified Paths: -------------- trunk/lib/WikiDB/backend/PDO.php trunk/lib/WikiDB/backend/PearDB.php trunk/lib/WikiDB/backend/file.php trunk/lib/WikiUser/PdoDb.php Modified: trunk/lib/WikiDB/backend/PDO.php =================================================================== --- trunk/lib/WikiDB/backend/PDO.php 2015-02-27 15:50:45 UTC (rev 9569) +++ trunk/lib/WikiDB/backend/PDO.php 2015-02-27 16:12:26 UTC (rev 9570) @@ -455,7 +455,7 @@ * * @param $version int Which version to get. * - * @return hash The version data, or false if specified version does not + * @return array hash The version data, or false if specified version does not * exist. */ function get_versiondata($pagename, $version, $want_content = false) Modified: trunk/lib/WikiDB/backend/PearDB.php =================================================================== --- trunk/lib/WikiDB/backend/PearDB.php 2015-02-27 15:50:45 UTC (rev 9569) +++ trunk/lib/WikiDB/backend/PearDB.php 2015-02-27 16:12:26 UTC (rev 9570) @@ -341,7 +341,7 @@ * * @param $version int Which version to get. * - * @return hash The version data, or false if specified version does not + * @return array hash The version data, or false if specified version does not * exist. */ function get_versiondata($pagename, $version, $want_content = false) Modified: trunk/lib/WikiDB/backend/file.php =================================================================== --- trunk/lib/WikiDB/backend/file.php 2015-02-27 15:50:45 UTC (rev 9569) +++ trunk/lib/WikiDB/backend/file.php 2015-02-27 16:12:26 UTC (rev 9570) @@ -272,8 +272,8 @@ /** * Get page meta-data from database. * - * @param $pagename string Page name. - * @return hash + * @param string $pagename Page name. + * @return array hash * Returns a hash containing the page meta-data. * Returns an empty array if there is no meta-data for the requested page. * Keys which might be present in the hash are: @@ -309,8 +309,8 @@ * $backend->update_pagedata($pagename, array('locked' => false)); * </pre> * - * @param $pagename string Page name. - * @param $newdata hash New meta-data. + * @param string $pagename Page name. + * @param array $newdata hash New meta-data. */ /** * This will create a new page if page being requested does not @@ -376,7 +376,7 @@ * the content, the backend might still want to set the value of * '%content' to the empty string if it knows there's no content. * - * @return hash The version data, or false if specified version does not + * @return array hash The version data, or false if specified version does not * exist. * * Some keys which might be present in the $versiondata hash are: @@ -478,9 +478,9 @@ * If the given ($pagename,$version) is already in the database, * this method completely overwrites any stored data for that version. * - * @param $pagename string Page name. - * @param $version int New revisions content. - * @param $data hash New revision metadata. + * @param string $pagename Page name. + * @param int $version New revisions content. + * @param array $data hash New revision metadata. * * @see get_versiondata */ @@ -494,11 +494,11 @@ * * If the given ($pagename,$version) is already in the database, * this method only changes those meta-data values whose keys are - * explicity listed in $newdata. + * explicitly listed in $newdata. * - * @param $pagename string Page name. - * @param $version int New revisions content. - * @param $newdata hash New revision metadata. + * @param string $pagename Page name. + * @param int $version New revisions content. + * @param array $newdata hash New revision metadata. * @see set_versiondata, get_versiondata */ function update_versiondata($pagename, $version, $newdata) Modified: trunk/lib/WikiUser/PdoDb.php =================================================================== --- trunk/lib/WikiUser/PdoDb.php 2015-02-27 15:50:45 UTC (rev 9569) +++ trunk/lib/WikiUser/PdoDb.php 2015-02-27 16:12:26 UTC (rev 9570) @@ -27,7 +27,7 @@ /** * PDO DB methods (PHP5) * prepare, bind, execute. - * We use numrical FETCH_MODE_ROW, so we don't need aliases in the auth_* SQL statements. + * We use numerical FETCH_MODE_ROW, so we don't need aliases in the auth_* SQL statements. * * @tables: user * @tables: pref This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |