Class
کلاس
Used in Kurdish course materials — not yet reviewedلە کەرەستە کوردییەکانی کۆرسدا بەکارهاتووە — هێشتا پێداچوونەوەی بۆ نەکراوە Definitionپێناسە
A blueprint for making . It defines which properties and methods its objects have, and new creates an object from it, as in new mysqli(...).
نەخشەیەکە بۆ دروستکردنی . دیاری دەکات ئۆبجێکتەکانی چ تایبەتمەندی و میتۆدێکیان هەیە و new ئۆبجێکتێکی لێ دروست دەکات، وەک new mysqli(...).
Exampleنموونە
A tiny class with one property and one method.
کلاسێکی بچووک بە یەک تایبەتمەندی و یەک میتۆد.
class Student {
public string $name = "";
public function hello(): string {
return "Hi, I am " . $this->name;
}
}
$s = new Student();
$s->name = "Karwan";
echo $s->hello(); // Hi, I am KarwanOther Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
پۆل، کلاسەکە، کلاسەکان، کلاسێک، کلاسی، کلاسەکانی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
پۆل (as in a school class) is sometimes used, but most Kurdish programmers say کلاس. Sozyar Osman's CS book: کلاس. Kurdish scientists' dictionary: پۆل.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Learn more inزیاتر فێربە لە
- Connecting PHP to MySQLپەیوەندیکردنی PHP بە MySQL
- Dart Classes, Inheritance and Mixinsکلاسەکان، بۆماوە و میکسینەکان لە Dartـدا
- Project: A Product Catalogue Screenپرۆژە: شاشەی کەتەلۆگی کاڵاکان
- Python Next to JavaPython لە تەنیشت Javaـەوە
- Organising an MVVM Project: Folders, Services and get_itڕێکخستنی پڕۆژەیەکی MVVM: فۆڵدەرەکان، خزمەتگوزارییەکان و get_it
- Stateless and Stateful Widgetsویجێتە بێدۆخەکان و ویجێتە دۆخدارەکان
- ChangeNotifier, ChangeNotifierProvider and MultiProviderChangeNotifier، ChangeNotifierProvider و MultiProvider
- Getting Data from the Internet: HTTP and JSONوەرگرتنی دراوە لە ئینتەرنێت: HTTP و JSON
- MVVM in Flutter with ProviderMVVM لە Flutterـدا بە Provider
- The Python You Need for the AI Labsئەو Pythonـەی بۆ تاقیگەکانی ژیریی دەستکرد پێویستە
- ProxyProvider and ChangeNotifierProxyProviderProxyProvider و ChangeNotifierProxyProvider
- Project: A To-Do App with Providersپڕۆژە: ئەپێکی ئەرکەکان بە providerـەکان
- Navigation: Moving Between Screensڕێنیشاندان: جووڵان لە نێوان شاشەکاندا
- State Management with Providerبەڕێوەبردنی دۆخ بە Provider
- Building Softwareدروستکردنی نەرمەواڵە
- Meet Dartناسینی Dart
- Lists: Creating and Indexingلیستەکان: دروستکردن و ئیندێکسەکان
- App Architecture: the MVVM Patternتەلارسازیی نەرمەواڵە: شێوازی MVVM
- Buttonsدوگمەکان
- Beyond the Basic E-R Model: Recursive, Ternary and Specialised Entitiesزیاتر لە مۆدێلی قەوارە و پەیوەندیی بنەڕەتی: پەیوەندییەکانی خۆیی و سێیانی و قەوارە تایبەتکراوەکان
- Building URIs in Dart: SMS and E-mail Linksدروستکردنی URI لە Dartـدا: بەستەرەکانی نامەی کورت و ئیمەیڵ
- Programming Languagesزمانەکانی بەرنامەسازی
- Futures, async and await in DartFuture،
asyncوawaitلە Dartـدا - Data typesجۆرەکانی دراوە
- Setting Up Flutter and Your First Projectئامادەکردنی Flutter و یەکەم پڕۆژەکەت
- MaterialApp and ScaffoldMaterialApp و Scaffold
- Saving Data on the Deviceپاشەکەوتکردنی دراوە لەسەر ئامێرەکە
- Depth-First and Breadth-First Searchگەڕانی قووڵایی و گەڕانی پانایی
- Reasoning with a Knowledge Base in Pythonبیرکردنەوە بە بنکەیەکی زانین لە Pythonـدا
- Variables and Data Typesگۆڕاوەکان و جۆرەکانی دراوە
- Introduction to PHPسەرەتایەک بۆ PHP
- Database Systems, Abstraction and Data Modelsسیستەمەکانی بنکەدراوە، ڕووتکردنەوەی دراوە و مۆدێلەکانی دراوە
- Dart Functions and Collectionsکردارەکان و کۆکراوەکانی Dart
- The Selector Widget: Fewer Rebuildsویجێتی Selector: دووبارە دروستکردنەوەی کەمتر
- Solving a Maze with DFS and BFSچارەسەرکردنی لابیرینت بە DFS و BFS
- Welcome to Python: Install and Runبەخێربێیت بۆ Python: جێگیرکردن و جێبەجێکردن
- Your First Program: print() and Commentsیەکەم بەرنامە:
print()و لێدوانەکان - Defining and Calling Functionsناساندن و بانگکردنی کردارەکان
- Variable Scope: Local and Globalمەودای گۆڕاوەکان: ناوخۆیی و گشتی
- Lists, References, Copies and Functionsلیستەکان، ئاماژەکان، کۆپی و کردارەکان
- sum, max, min and Sortingsum، max، min و ڕیزکردن
- Moving in a File and Saving Python Objectsجووڵە لەناو فایلێکدا و هەڵگرتنی ئۆبجێکتەکانی Python
- Variablesگۆڕاوەکان
- Constants and variable scopeنەگۆڕەکان و مەودای گۆڕاوەکان
- PHP Superglobalsسووپەرگلۆباڵەکانی PHP
- SQLite Basicsبنەماکانی SQLite
- Sessionsسێشنەکان
- Web APIs and JSONAPIـی وێب و JSON
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- How Flutter Is Built: Framework, Engine, EmbedderFlutter چۆن دروست کراوە: فرەیموۆرک، بزوێنەر، Embedder
- Widgets and the Widget Treeویجێتەکان و داری ویجێتەکان
- Drawers, Bottom Bars and Sheetsلیستە لاتەنیشتەکان، شریتەکانی خوارەوە و پەڕەی خوارەوە
- Text, Images and Iconsدەق، وێنە و ئایکۆنەکان
- Text Fields and Formsخانەکانی دەق و فۆرمەکان
- Opening Links and Other Apps with url_launcherکردنەوەی بەستەرەکان و ئەپەکانی تر بە url_launcher
- Firebase and Cloud FirestoreFirebase و Cloud Firestore
- The Consumer Widgetویجێتی Consumer
- FutureProvider and StreamProviderFutureProvider و StreamProvider
- Heuristics and Greedy Best-First Searchپێوەرەکان و گەڕانی چاوچنۆکانە
- Search Practice: Midterm-Style Tasksڕاهێنانی گەڕان: ئەرکی وەک تاقیکردنەوەی نیوەی وەرز