2017 © Pedro Peláez
 

library task-profile

The TaskProfile package

image

bantenprov/task-profile

The TaskProfile package

  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Task Profile

User Profile for Task Management, (*1)

Edit

tambahkan script dibawah pada file app/User.php / model User, (*2)

    public function getComment()
    {
        return $this->hasMany(\Bantenprov\Comment\Models\Comment::class);
    }

    public function getRating()
    {
        return $this->hasMany(\Bantenprov\Comment\Models\CommentRating::class);
    }

    public function getTask()
    {
        return $this->hasMany(\Bantenprov\Task\Models\Task::class);
    }

    public function getMember()
    {
        return $this->hasOne(\Bantenprov\Member\Models\Member::class);
    }

    public function getStaf()
    {
        return $this->hasOne(\Bantenprov\Staf\Models\Staf::class);
    }

    public function getMyRole()
    {
        return $this->belongsTo('App\Role','user_id');
    }

The Versions

18/01 2018

dev-master

9999999-dev

The TaskProfile package

  Sources   Download

The Requires