الفرق بين المراجعتين لصفحة: «دليل الرسائل القصيرة السريعة للمطورين/توثيق البرنامج بستخدام inline و docstring»

تم حذف المحتوى تمت إضافة المحتوى
ط clean up، استبدل: و ← و (6)، ، ← ، (4) باستخدام أوب
ط بوت: تغييرات تجميلية
 
سطر 10:
* سطرين قبل الكائن أو الدالة.
 
== تعليقات (Comments) ==
== Docstring ==
== التوثيق ==
== ملاحظة هامة ==
<div dir="LTR" style="background-color: #f8f8ff; border: 0px solid #663300;">
السطر 62 ⟵ 59:
<div dir="LTR" style="background-color: #f8f8ff; border: 0px solid #663300;">
<pre>
| Survey RapidSMS App
|
| Handles an sms-collected survey
| help: Display the way you should write you SMS
| survey: command to enter the user profile information
| stat: returns number of records
| find: list of people in activity
|
| Method resolution order:
| App
| rapidsms.app.App
| rapidsms.component.Component
| __builtin__.object
|
| Methods defined here:
|
| find(self, message, keyw)
| returns list of people from one category
| Format: find CAT_CODE
| CAT_code is from Activity Model
|
| handle(self, message)
| Searchs for the right function and then call it
|
| help(self, message)
| Displays how to use the commands
|
| stat(self, message)
| returns the total Number of Profile in Database
| Format: stat
|
| survey(self, message, first, last, sex, age, Act)
| receivces from the user the requisted data to be inserted in DB
| Format : survey [ Your Profile information-be careful to write it in right order]