diff --git a/libraries/ActionCode.php b/libraries/ActionCode.php index f9ae1aa..de4d430 100644 --- a/libraries/ActionCode.php +++ b/libraries/ActionCode.php @@ -1,4 +1,10 @@ + */ class User extends CodeDefinition { + /** + * Constructor. + */ public function __construct() { parent::__construct(); @@ -19,6 +30,13 @@ class User extends CodeDefinition $this->setParseContent(false); } + /** + * Compiles the user bbcode to HTML + * + * @param ElementNode $el The JBBCode element node. + * + * @return string The compiled HTML. + */ public function asHtml(ElementNode $el) { $content = ""; diff --git a/libraries/BBcodeDefinitions/YouTube.php b/libraries/BBcodeDefinitions/YouTube.php index 3ade16b..2975e48 100644 --- a/libraries/BBcodeDefinitions/YouTube.php +++ b/libraries/BBcodeDefinitions/YouTube.php @@ -1,4 +1,10 @@ _permissions->check($flag, $perm); } - // Subforums + /** + * Gets all subforums of this forum. + * + * @return array Array containing forum objects. + */ public function forums() { // Check if _forums is populated diff --git a/libraries/Forum/Post.php b/libraries/Forum/Post.php index 52cde73..3828993 100644 --- a/libraries/Forum/Post.php +++ b/libraries/Forum/Post.php @@ -1,4 +1,10 @@ * Released under the MIT-License @@ -25,6 +25,8 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. + * + * @package Sakura */ namespace Sakura;