/** * @deprecated * @since 1.2.7 */ function printAlbumRating($object = NULL) { deprecated_functions::notify(gettext('Use printRating().')); global $_zp_current_album; if (is_null($object)) { $object = $_zp_current_album; } printRating(3, $object); }
/** * @deprecated * @since 1.4.6 */ function getCommentsAllowed() { global $_zp_current_image, $_zp_current_album; deprecated_functions::notify(gettext("use the object’s getCommentsAllowed() method")); if (in_context(ZP_IMAGE)) { if (is_null($_zp_current_image)) { return false; } return $_zp_current_image->getCommentsAllowed(); } else { return $_zp_current_album->getCommentsAllowed(); } }
/** * @deprecated * @since 1.4.6 * */ function printFavoritesLink($text = NULL) { deprecated_functions::notify(gettext('use printFavoritesURL()')); printFavoritesURL($text); }
/** * Publishes a page or news article * * @param object $obj * @param int $show the value for publishing * @return string */ function zenpagePublish($obj, $show) { deprecated_functions::notify(gettext('Use the setShow method directly.')); $obj->setShow($show); $obj->save(); }
/** * @deprecated * @since 1.4.6 */ static function setSubalbumSortType($sorttype) { deprecated_functions::notify(gettext('Use the setSortType() method instead')); }
/** * @deprecated * @since 1.4.5 */ function printSlideShowJS() { deprecated_functions::notify(gettext('This feature is now done by a "theme_head" filter. You can remove the function call.')); }
/** * @deprecated * @since 1.4.6 */ static function getRSSLink($option) { deprecated_functions::notify(sprintf(gettext('The %1$s feed is deprecated.'), $option)); }
/** * @deprecated * @since 1.4.6 */ static function getBody($option) { deprecated_functions::notify(gettext('Use the getContent() method.')); }
/** * @deprecated since version 1.4.6 */ function printjCarouselThumbNav($thumbscroll = NULL, $width = NULL, $height = NULL, $cropw = NULL, $croph = NULL, $fullimagelink = NULL, $vertical = NULL) { deprecated_functions::notify(gettext('Use printThumbNav().')); printThumbNav(NULL, NULL, $width, $height, $cropw, $croph, $fullimagelink, $mode, NULL, $thumbscroll); }
/** * @deprecated * @since 1.0.1 */ function getAllTagsCount($language = NULL) { deprecated_functions::notify(gettext('Use getAllTagsUnique()')); return getAllTagsUnique($language, 1, true); }
/** * @deprecated * @since 1.4.5 */ static function getSubPages() { deprecated_functions::notify(gettext('Use the Zenpage Page class->getPages() method.')); }
/** * @deprecated * @since 1.4.6 */ function printDownloadLinkAlbumZip($file, $linktext = NULL) { deprecated_functions::notify(gettext('use printDownloadAlbumZipURL()')); printDownloadURL($file, $linktext); }