Skip to content

Модуль комментариев к моему закрытому проекту.

Notifications You must be signed in to change notification settings

dragonmu/seoproject-comment-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seoproject-comment-module

Модуль комментариев к моим закрытым проектам.

Использование модуля

$commentModule = parts_modulefabrica::a()->createModule('comment', array(
                'user' => parts_user::current()
                , 'userFactory' => factory_user::a()
                , 'db' => parts_sql::a()
                , 'entityId' => $this->_code . $this->_moduleId));

Требование к классам

  • userFactory - getById($userId);
  • user - name;
  • user - url;
  • user - image;
  • user - isAuth();
  • user - isCurrent();
  • user - isOwner($userId); Сравнивает номер пользователя с переданным в функцию номером
  • user - hasUrl();
  • db - getAll();
  • db - getRow();

About

Модуль комментариев к моему закрытому проекту.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published