Skip to content
Browse files

Debug function commented better.

  • Loading branch information...
1 parent 33acdbe commit 649053fd39002232c763931fb420549d85ad08de @MindScriptAct committed Dec 26, 2013
Showing with 9 additions and 0 deletions.
  1. +1 −0 src/mvcexpress/core/ProxyMap.as
  2. +8 −0 src/mvcexpress/modules/ModuleCore.as
View
1 src/mvcexpress/core/ProxyMap.as
@@ -403,6 +403,7 @@ public class ProxyMap implements IProxyMap {
/**
* Returns text of all mapped proxy objects, and keys they are mapped to. (for debugging)
+ * @param verbose if set to true, will return readable string, false will return pairs of object class name and key it is mapped to separated by '>', all pairs are separated by ';'.
* @return Text string with all mapped proxies.
*/
public function listMappings(verbose:Boolean = true):String {
View
8 src/mvcexpress/modules/ModuleCore.as
@@ -207,6 +207,8 @@ public class ModuleCore {
/**
* List all message mappings.
+ * @param verbose if set to true, will return readable string, false will return pairs of message strings and list of class names(separated by ',') that will handle it separated by '>', all pairs are separated by ';'.
+ * @return Text with all masseges, and what will handle it.
*/
public function listMappedMessages(verbose:Boolean = true):String {
use namespace pureLegsCore;
@@ -216,20 +218,26 @@ public class ModuleCore {
/**
* List all view mappings.
+ * @param verbose if set to true, will return readable string, false will return pairs of view class definition and mediator class list(separated by ',') definition separated by '>', all pairs are separated by ';'.
+ * @return Text with all mapped mediators.
*/
public function listMappedMediators(verbose:Boolean = true):String {
return mediatorMap.listMappings(verbose);
}
/**
* List all model mappings.
+ * @param verbose if set to true, will return readable string, false will return pairs of object class name and key it is mapped to separated by '>', all pairs are separated by ';'.
+ * @return Text string with all mapped proxies.
*/
public function listMappedProxies(verbose:Boolean = true):String {
return proxyMap.listMappings(verbose);
}
/**
* List all controller mappings.
+ * @param verbose if set to true, will return readable string, false will return pairs of message type and command class definition separated by '>', all pairs are separated by ';'.
+ * @return Text with all mapped commands.
*/
public function listMappedCommands(verbose:Boolean = true):String {
return commandMap.listMappings(verbose);

0 comments on commit 649053f

Please sign in to comment.
Something went wrong with that request. Please try again.