X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Finterfaces%2Fpackage%2Fclass_Deliverable.php;h=3e0fbf9b5ed1b073febc3ac69c61544959664e73;hb=e42e5cccbe065c9f54478350c9b96f408c648a9e;hp=cdf483346ba0c625717f8d08ab3e8620f61585a0;hpb=3702d6e3f543a30966f23ef978dfdb9a5cbdebbe;p=hub.git diff --git a/application/hub/interfaces/package/class_Deliverable.php b/application/hub/interfaces/package/class_Deliverable.php index cdf483346..3e0fbf9b5 100644 --- a/application/hub/interfaces/package/class_Deliverable.php +++ b/application/hub/interfaces/package/class_Deliverable.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Hub Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -24,33 +24,34 @@ interface Deliverable extends FrameworkInterface { /** * "Enqueues" raw content into this delivery class by reading the raw content - * from given template instance and pushing it on the 'undeclared' stack. + * from given helper's template instance and pushing it on the 'undeclared' + * stack. * - * @param $helperInstance A BaseHubHelper instance + * @param $helperInstance An instance of a HelpableHub class * @return void */ - function enqueueRawDataFromTemplate (BaseHubHelper $helperInstance); + function enqueueRawDataFromTemplate (HelpableHub $helperInstance); /** - * Checks wether a package has been enqueued for delivery. + * Checks whether a package has been enqueued for delivery. * - * @return $isEnqueued Wether a package is enqueued + * @return $isEnqueued Whether a package is enqueued */ function isPackageEnqueued (); /** - * Checks wether a package has been declared + * Checks whether a package has been declared * - * @return $isDeclared Wether a package is declared + * @return $isDeclared Whether a package is declared */ function isPackageDeclared (); /** - * Checks wether a package should be sent out + * Checks whether a package should be sent out * - * @return $isWaitingDelivery Wether a package is waiting for delivery + * @return $isWaitingDelivery Whether a package is waiting for delivery */ - function isPackageWaitingDelivery (); + function isPackageWaitingForDelivery (); /** * Delivers an enqueued package to the stated destination. If a non-session @@ -78,7 +79,14 @@ interface Deliverable extends FrameworkInterface { * * @return void */ - function sentWaitingPackage (); + function sendWaitingPackage (); + + /** + * Clears all stacker + * + * @return void + */ + function clearAllStacker (); } // [EOF]