Jump to content

Rest API. static non-static

newbie LAC

Recommended Posts


In api controllers you have

	 * Class
	protected $class = 'IPS\forums\Forum';

but in some places you use 

$class = static::$class;


- applications/forums/api/forums.php method POSTitem

- applications/calendar/api/calendars.php method POSTitem

- applications/downloads/api/categories.php method POSTitem

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...