7c049abfda
- Contact/User::isBlocked() needs to return boolean, but sometimes (strangely) a NULL can come from database, so let's cast it This tries to fix: TypeError: "Return value of Friendica\Model\Contact\User::isBlocked() must be of the type bool, null returned" |
||
---|---|---|
.. | ||
APContact | ||
Contact | ||
Log | ||
Notification | ||
Post | ||
User | ||
APContact.php | ||
Attach.php | ||
Contact.php | ||
Conversation.php | ||
Event.php | ||
FContact.php | ||
FileTag.php | ||
GServer.php | ||
Group.php | ||
Item.php | ||
ItemURI.php | ||
Mail.php | ||
Nodeinfo.php | ||
OpenWebAuthToken.php | ||
Photo.php | ||
Post.php | ||
Profile.php | ||
PushSubscriber.php | ||
README.md | ||
Register.php | ||
Search.php | ||
Subscription.php | ||
Tag.php | ||
User.php | ||
Verb.php |
README.md
Friendica\Model
Models are the glue between the business logic of the app and the datastore(s).
In the namespace Model should only be static classes that interact with the DB with the same name as a database table.