8000 ForumController and its behaviors do not have a method or closure named "paginate". · Issue #16 · knut/hamster · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ForumController and its behaviors do not have a method or closure named "paginate". #16
Open
@linchengcs

Description

@linchengcs

[code]
– /var/www/hamster/src/protected/controllers/ForumController.php(154): CComponent->__call("paginate", array("1", 10))
149 /$this->render('list', array(
150 'forums' => $forums,
151 //'last_posts' => $last_posts
152 ));
/
153
154 $pages = $this->paginate(forum::model()->count(), self::PAGE_SIZE);
155 //$forumList = Forum::model()->findAll($this->getListCriteria($pages));
156 $this->render('list', array('forums'=>$forums, 'pages'=>$pages));
157 }
158
159 /**
[/code]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0