expose all methods to php
[plcapi.git] / php / methods.py
index b41b1ba..3e20a31 100755 (executable)
@@ -5,7 +5,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustess of Princeton University
 #
-# $Id: methods.py,v 1.4 2006/11/29 19:43:17 mlhuang Exp $
+# $Id$
 #
 
 import os, sys
@@ -43,8 +43,8 @@ def php_cast(value):
 # Class functions
 api = PLCAPI(None)
 
-api.methods.sort()
-for method in api.methods:
+api.all_methods.sort()
+for method in api.all_methods:
     # Skip system. methods
     if "system." in method:
         continue