More re-write, fill $this->_validLikes for both msg and external likes
apply the relevant checks based on the array returned by the called hook functions

Signed-off-by: Suki <suki@missallsunday.com>
This will be dealt with later on the process

Signed-off-by: Suki <suki@missallsunday.com>
Turn $num_likes into a property

Signed-off-by: Suki <suki@missallsunday.com>
Before I forgo lets add some doc references for the properties.

Signed-off-by: Suki <suki@missallsunday.com>
Most of the vars are now properties, no need to pass them to each function
the class should not cover the book function

Signed-off-by: Suki <suki@missallsunday.com>
Avoid redundancy,this isa  generic error so leave the check for later until we actually going to use the value.

Signed-off-by: Suki <suki@missallsunday.com>
Ok, start a restructuration, define common subactions and declare isolated methods for each subaction

Signed-off-by: Suki <suki@missallsunday.com>